python311Packages.lxml-stubs 0 -> 1 attrpath: python311Packages.lxml-stubs 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] Going to be running update for following packages: - python3.11-lxml-stubs-0.4.0 Press Enter key to continue... Running update for: - python3.11-lxml-stubs-0.4.0: UPDATING ... - python3.11-lxml-stubs-0.4.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/lxml-stubs/default.nix b/pkgs/development/python-modules/lxml-stubs/default.nix index 8df03f526896..832e2b2c1fa8 100644 --- a/pkgs/development/python-modules/lxml-stubs/default.nix +++ b/pkgs/development/python-modules/lxml-stubs/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "lxml-stubs"; - version = "0.4.0"; + version = "0.5.1"; pyproject = true; src = fetchFromGitHub { owner = "lxml"; repo = "lxml-stubs"; - rev = version; - hash = "sha256-RRH/taLtgaXOl0G/ve2Ad7Xy8WRDUG2/k26EFMv1PRM="; + rev = "refs/tags/${version}"; + hash = "sha256-OwaPnCr0vylhdAvMMUfGV6DjZEh7Q71pgMOt66urg5I="; }; nativeBuildInputs = [ 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.lxml-stubs nix build failed. Executing pytestCheckPhase ============================= test session starts ============================== platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 rootdir: /build/source configfile: pyproject.toml testpaths: test-data plugins: mypy-plugins-3.0.0 collecting ...  collected 20 items  test-data/test-etree.yml ....F............. [ 90%] test-data/test_objectify.yml .. =================================== FAILURES =================================== __________________________ etree_element_iterchildren __________________________ /build/source/test-data/test-etree.yml:37: E pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:  E Actual: E main:3: note: Revealed type is "def (tag: Union[Union[builtins.str, builtins.bytes, lxml.etree.QName], typing.Collection[Union[builtins.str, builtins.bytes, lxml.etree.QName, typing.Collection[...], ...]], Any, None] =, *tags: Union[builtins.str, builtins.bytes, lxml.etree.QName, typing.Collection[...], ...], *, reversed: builtins.bool =) -> typing.Iterator[lxml.etree._Element]" (diff) E ... E Expected: E main:3: note: Revealed type is "def (tag: Union[Union[builtins.str, builtins.bytes, lxml.etree.QName], typing.Collection[Union[builtins.str, builtins.bytes, lxml.etree.QName, typing.Collection[...], ...]], Any, None] =, *tags: Union[builtins.str, builtins.bytes, lxml.etree.QName, typing.Collection[...], ...], reversed: builtins.bool =) -> typing.Iterator[lxml.etree._Element]" (diff) E ... E Alignment of first line difference: E E: ...llection[...], ...], reversed: builtins.bool =) -> typing.Iterator[lx... E A: ...llection[...], ...], *, reversed: builtins.bool =) -> typing.Iterator... E ^ =========================== short test summary info ============================ FAILED test-data/test-etree.yml::etree_element_iterchildren - ======================== 1 failed, 19 passed in 29.28s ========================= /nix/store/bknngadwym46j65qs14ic2w79rpav888-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context