python310Packages.django-ninja 0 -> 1 attrpath: python310Packages.django-ninja Checking auto update branch... [version] [version] skipping because derivation has updateScript [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/a7an2cy5gxyqclvrcszfsgglrczp4f1i-packages.json.drv building '/nix/store/a7an2cy5gxyqclvrcszfsgglrczp4f1i-packages.json.drv'... Going to be running update for following packages: - python3.10-django-ninja-0.22.2 Press Enter key to continue... Running update for: - python3.10-django-ninja-0.22.2: UPDATING ... - python3.10-django-ninja-0.22.2: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/django-ninja/default.nix b/pkgs/development/python-modules/django-ninja/default.nix index 620960797ea0..4ed502c1a2c3 100644 --- a/pkgs/development/python-modules/django-ninja/default.nix +++ b/pkgs/development/python-modules/django-ninja/default.nix @@ -13,15 +13,15 @@ buildPythonPackage rec { pname = "django-ninja"; - version = "0.22.2"; + version = "1.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "vitalik"; repo = "django-ninja"; - rev = "v${version}"; - hash = "sha256-oeisurp9seSn3X/5jFF9DMm9nU6uDYIU1b6/J3o2be0="; + rev = "refs/tags/v${version}"; + hash = "sha256-pvpYDuUZi0Gr5RbBWc91LzgmRLhihrhsKaD/AWN5+Bo="; }; propagatedBuildInputs = [ django pydantic ]; 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 python310Packages.django-ninja nix build failed. Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir @nix { "action": "setPhase", "phase": "installCheckPhase" } Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } Running phase: pythonCatchConflictsPhase @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } Running phase: pythonRemoveBinBytecodePhase @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase @nix { "action": "setPhase", "phase": "pytestCheckPhase" } Running phase: pytestCheckPhase Executing pytestCheckPhase ImportError while loading conftest '/build/source/tests/conftest.py'. tests/conftest.py:14: in   django.setup() /nix/store/kpzkpbmziwv0xnz27jq6m98fjv1m1khv-python3.10-Django-4.2.7/lib/python3.10/site-packages/django/__init__.py:24: in setup  apps.populate(settings.INSTALLED_APPS) /nix/store/kpzkpbmziwv0xnz27jq6m98fjv1m1khv-python3.10-Django-4.2.7/lib/python3.10/site-packages/django/apps/registry.py:91: in populate  app_config = AppConfig.create(entry) /nix/store/kpzkpbmziwv0xnz27jq6m98fjv1m1khv-python3.10-Django-4.2.7/lib/python3.10/site-packages/django/apps/config.py:193: in create  import_module(entry) ninja/__init__.py:8: in   from ninja.files import UploadedFile ninja/files.py:4: in   from pydantic_core import core_schema E ModuleNotFoundError: No module named 'pydantic_core' /nix/store/d4jf1cbbk494zwgbqz31pxgigpsbh6w2-stdenv-linux/setup: line 1553: pop_var_context: head of shell_variables not a function context