python311Packages.trio 0 -> 1 attrpath: python311Packages.trio 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-trio-0.24.0 Press Enter key to continue... Running update for: - python3.11-trio-0.24.0: UPDATING ... - python3.11-trio-0.24.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/trio/default.nix b/pkgs/development/python-modules/trio/default.nix index cc276fef5c52..1b6d15ae8f2f 100644 --- a/pkgs/development/python-modules/trio/default.nix +++ b/pkgs/development/python-modules/trio/default.nix @@ -37,14 +37,14 @@ let in buildPythonPackage rec { pname = "trio"; - version = "0.24.0"; + version = "0.25.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-/6CadKa/gbhPhhOQn7C+ruhHV0UBg6ei4LR7RVwMrF0="; + hash = "sha256-m0H1mTrSwOX2LQrMoyDsZX/bayosIrjHrtbK8VRHXE4="; }; postPatch = '' No auto update branch exists Old version 0.24.0" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , stdenv # build-system , setuptools # dependencies , attrs , exceptiongroup , idna , outcome , sniffio , sortedcontainers # tests , astor , coreutils , jedi , pyopenssl , pytestCheckHook , pytest-trio , trustme , yapf }: let # escape infinite recursion with pytest-trio pytest-trio' = (pytest-trio.override { trio = null; }).overrideAttrs { doCheck = false; pythonImportsCheck = []; }; in buildPythonPackage rec { pname = "trio"; version = "0.25.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "python-trio"; repo = "trio"; rev = "refs/tags/v${version}"; hash = "sha256-JQ493U4WINOG6ob4IzfNQt5Lgs3DmEM2BDwbae7Bvsw="; }; build-system = [ setuptools ]; dependencies = [ attrs idna outcome sniffio sortedcontainers ] ++ lib.optionals (pythonOlder "3.11") [ exceptiongroup ]; # tests are failing on Darwin doCheck = !stdenv.isDarwin; nativeCheckInputs = [ astor jedi pyopenssl pytestCheckHook pytest-trio' trustme yapf ]; preCheck = '' export HOME=$TMPDIR # $out is first in path which causes "import file mismatch" PYTHONPATH=$PWD/src:$PYTHONPATH ''; # It appears that the build sandbox doesn't include /etc/services, and these tests try to use it. disabledTests = [ "getnameinfo" "SocketType_resolve" "getprotobyname" "waitpid" "static_tool_sees_all_symbols" # tests pytest more than python "fallback_when_no_hook_claims_it" # requires mypy "test_static_tool_sees_class_members" ]; disabledTestPaths = [ # linters "src/trio/_tests/tools/test_gen_exports.py" ]; meta = { changelog = "https://github.com/python-trio/trio/blob/v${version}/docs/source/history.rst"; description = "An async/await-native I/O library for humans and snake people"; homepage = "https://github.com/python-trio/trio"; license = with lib.licenses; [ mit asl20 ]; maintainers = with lib.maintainers; [ catern ]; }; }