python312Packages.strawberry-graphql 0.217.1 -> 0.220.0 https://github.com/strawberry-graphql/strawberry/releases attrpath: python312Packages.strawberry-graphql Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/aqs0ziavkbaz84mwvgpmj2ihmz9ilbq8-packages.json.drv building '/nix/store/aqs0ziavkbaz84mwvgpmj2ihmz9ilbq8-packages.json.drv'... Going to be running update for following packages: - python3.12-strawberry-graphql-0.217.1 Press Enter key to continue... Running update for: - python3.12-strawberry-graphql-0.217.1: UPDATING ... - python3.12-strawberry-graphql-0.217.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/strawberry-graphql/default.nix b/pkgs/development/python-modules/strawberry-graphql/default.nix index 8cdffc96759f..21de26098dff 100644 --- a/pkgs/development/python-modules/strawberry-graphql/default.nix +++ b/pkgs/development/python-modules/strawberry-graphql/default.nix @@ -42,7 +42,7 @@ buildPythonPackage rec { pname = "strawberry-graphql"; - version = "0.217.1"; + version = "0.220.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -51,7 +51,7 @@ buildPythonPackage rec { owner = "strawberry-graphql"; repo = "strawberry"; rev = "refs/tags/${version}"; - hash = "sha256-Rorbqh/YwBlrkVgS7rV5vb4n773V/EmGAMGP0fuF6V4="; + hash = "sha256-HML2ThunPbu9A7ZxAxeBbop+P0uWKYNsyPguejJUEus="; }; patches = [ No auto update branch exists Old version 0.217.1" not present in staging derivation file with contents: { lib , aiohttp , asgiref , buildPythonPackage , chalice , channels , click , daphne , django , email-validator , fastapi , fetchFromGitHub , fetchpatch , flask , freezegun , graphql-core , libcst , opentelemetry-api , opentelemetry-sdk , poetry-core , pydantic , pygments , pyinstrument , pytest-aiohttp , pytest-asyncio , pytest-django , pytest-emoji , pytest-flask , pytest-mock , pytest-snapshot , pytestCheckHook , python-dateutil , python-multipart , pythonOlder , rich , sanic , sanic-testing , starlette , typing-extensions , uvicorn }: buildPythonPackage rec { pname = "strawberry-graphql"; version = "0.219.2"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "strawberry-graphql"; repo = "strawberry"; rev = "refs/tags/${version}"; hash = "sha256-uIUETjzuDnlQp6wM7uxyLRSMT5uyrXFrI9NilcjP0BU="; }; patches = [ (fetchpatch { # https://github.com/strawberry-graphql/strawberry/pull/2199 name = "switch-to-poetry-core.patch"; url = "https://github.com/strawberry-graphql/strawberry/commit/710bb96f47c244e78fc54c921802bcdb48f5f421.patch"; hash = "sha256-ekUZ2hDPCqwXp9n0YjBikwSkhCmVKUzQk7LrPECcD7Y="; }) (fetchpatch { # https://github.com/strawberry-graphql/strawberry/pull/3255 name = "fix-tests-with-pydantic_2.patch"; url = "https://github.com/strawberry-graphql/strawberry/commit/0a0dc284ee6d31d4e82ac7ff1ed9fea4dff39fa6.patch"; hash = "sha256-LACWD7XA6YL/apJwhpx3LPCKxKUfa+XWyTLK+Zkxlaw="; }) ]; postPatch = '' substituteInPlace pyproject.toml \ --replace "--emoji --mypy-ini-file=mypy.ini" "" \ ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ graphql-core python-dateutil typing-extensions ]; passthru.optional-dependencies = { aiohttp = [ aiohttp pytest-aiohttp ]; asgi = [ starlette python-multipart ]; debug = [ rich libcst ]; debug-server = [ click libcst pygments python-multipart rich starlette uvicorn ]; django = [ django pytest-django asgiref ]; channels = [ channels asgiref ]; flask = [ flask pytest-flask ]; opentelemetry = [ opentelemetry-api opentelemetry-sdk ]; pydantic = [ pydantic ]; sanic = [ sanic ]; fastapi = [ fastapi python-multipart ]; chalice = [ chalice ]; cli = [ click pygments rich libcst ]; # starlite = [ # starlite # ]; pyinstrument = [ pyinstrument ]; }; nativeCheckInputs = [ daphne email-validator freezegun pytest-asyncio pytest-emoji pytest-mock pytest-snapshot pytestCheckHook sanic-testing ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "strawberry" ]; disabledTestPaths = [ "tests/benchmarks/" "tests/cli/" "tests/django/test_dataloaders.py" "tests/exceptions/" "tests/http/" "tests/mypy/test_plugin.py" # avoid dependency on mypy "tests/schema/extensions/" "tests/schema/test_dataloaders.py" "tests/schema/test_lazy/" "tests/starlite/" "tests/test_dataloaders.py" "tests/utils/test_pretty_print.py" "tests/websockets/test_graphql_transport_ws.py" ]; __darwinAllowLocalNetworking = true; meta = with lib; { description = "A GraphQL library for Python that leverages type annotations"; homepage = "https://strawberry.rocks"; changelog = "https://github.com/strawberry-graphql/strawberry/blob/${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ izorkin ]; }; }