python311Packages.drf-spectacular 0 -> 1 attrpath: python311Packages.drf-spectacular 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/zr6446xqswyxjnwrx971q1136mcy592l-packages.json.drv building '/nix/store/zr6446xqswyxjnwrx971q1136mcy592l-packages.json.drv'... Going to be running update for following packages: - python3.11-drf-spectacular-0.26.5 Press Enter key to continue... Running update for: - python3.11-drf-spectacular-0.26.5: UPDATING ... - python3.11-drf-spectacular-0.26.5: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/drf-spectacular/default.nix b/pkgs/development/python-modules/drf-spectacular/default.nix index 53c4d5053e62..063c3cc53b93 100644 --- a/pkgs/development/python-modules/drf-spectacular/default.nix +++ b/pkgs/development/python-modules/drf-spectacular/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { pname = "drf-spectacular"; - version = "0.26.5"; + version = "0.27.1"; format = "setuptools"; src = fetchFromGitHub { owner = "tfranzel"; repo = "drf-spectacular"; rev = "refs/tags/${version}"; - hash = "sha256-sK+upLh0mi8eHKh1Wt9FoLRjqlHitTSX0Zl54S4Ce6E="; + hash = "sha256-R6rxEo9SNNziXRWB+01UUInParpGcFDIkDZtN4k+dFE="; }; patches = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python311Packages.drf-spectacular nix build failed. E - id: E - title: Id E - type: integer E - required: E - - id E - title: C E - type: object E securitySchemes: E basicAuth: E type: http tests/__init__.py:61: AssertionError ----------------------------- Captured stderr call ----------------------------- /build/source/tests/contrib/test_pydantic.py: Warning [XAPIView]: could not resolve request body for POST /x. Defaulting to generic free-form object. (Maybe annotate a Serializer class?) /build/source/tests/contrib/test_pydantic.py: Warning [XAPIView]: could not resolve "" for POST /x. Expected either a serializer or some supported override mechanism. Defaulting to generic free-form object. =============================== warnings summary =============================== ../../nix/store/hlk9k0zcrkkwj4zpbcpj4iabvxhiflpl-python3.11-django-polymorphic-3.1/lib/python3.11/site-packages/polymorphic/__init__.py:9 /nix/store/hlk9k0zcrkkwj4zpbcpj4iabvxhiflpl-python3.11-django-polymorphic-3.1/lib/python3.11/site-packages/polymorphic/__init__.py:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources tests/test_regressions.py::test_schema_contains_only_allowed_methods /nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/base.py:366: RuntimeWarning: Model 'tests.x' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/contrib/test_pydantic.py::test_pydantic_decoration - AssertionError: --- ERROR tests/contrib/test_pydantic.py::test_pydantic_decoration - AssertionError: assert not '/build/source/tests/contrib/test_pydantic.py: W... = 1 failed, 484 passed, 2 skipped, 2 deselected, 2 warnings, 1 error in 13.39s = /nix/store/bknngadwym46j65qs14ic2w79rpav888-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context