python310Packages.anyio 0 -> 1 attrpath: python310Packages.anyio 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/brsaacmv6s6vlaqbznmiv8wmdd760xr3-packages.json.drv building '/nix/store/brsaacmv6s6vlaqbznmiv8wmdd760xr3-packages.json.drv'... Going to be running update for following packages: - python3.10-anyio-3.7.1 Press Enter key to continue... Running update for: - python3.10-anyio-3.7.1: UPDATING ... - python3.10-anyio-3.7.1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/anyio/default.nix b/pkgs/development/python-modules/anyio/default.nix index 3508554d308d..9fc63cb0d161 100644 --- a/pkgs/development/python-modules/anyio/default.nix +++ b/pkgs/development/python-modules/anyio/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "anyio"; - version = "3.7.1"; + version = "4.0.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -36,8 +36,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "agronholm"; repo = pname; - rev = version; - hash = "sha256-9/pAcVTzw9v57E5l4d8zNyBJM+QNGEuLKrQ0WUBW5xw="; + rev = "refs/tags/${version}"; + hash = "sha256-gUFd2gHWIElYfzOvg7Yx7iJyhU6+iAcJpHTVsJtxTsk="; }; env.SETUPTOOLS_SCM_PRETEND_VERSION = version; No auto update branch exists Old version 3.7.1" not present in staging derivation file with contents: { stdenv , lib , buildPythonPackage , fetchFromGitHub , pythonOlder # build-system , setuptools , setuptools-scm # dependencies , exceptiongroup , idna , sniffio # optionals , trio # tests , hypothesis , psutil , pytest-mock , pytest-xdist , pytestCheckHook , trustme , uvloop }: buildPythonPackage rec { pname = "anyio"; version = "4.0.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "agronholm"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-gUFd2gHWIElYfzOvg7Yx7iJyhU6+iAcJpHTVsJtxTsk="; }; env.SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ setuptools setuptools-scm ]; propagatedBuildInputs = [ idna sniffio ] ++ lib.optionals (pythonOlder "3.11") [ exceptiongroup ]; passthru.optional-dependencies = { trio = [ trio ]; }; # trustme uses pyopenssl doCheck = !(stdenv.isDarwin && stdenv.isAarch64); nativeCheckInputs = [ hypothesis psutil pytest-mock pytest-xdist pytestCheckHook trustme ] ++ lib.optionals (pythonOlder "3.12") [ uvloop ] ++ passthru.optional-dependencies.trio; pytestFlagsArray = [ "-W" "ignore::trio.TrioDeprecationWarning" "-m" "'not network'" ]; disabledTests = [ # INTERNALERROR> AttributeError: 'NonBaseMultiError' object has no attribute '_exceptions'. Did you mean: 'exceptions'? "test_exception_group_children" "test_exception_group_host" "test_exception_group_filtering" # timing sensitive # assert threading.active_count() == initial_count + 1 # assert 4 == (4 + 1) "test_run_sync_from_thread_pooling" ] ++ lib.optionals stdenv.isDarwin [ # PermissionError: [Errno 1] Operation not permitted: '/dev/console' "test_is_block_device" ]; disabledTestPaths = [ # lots of DNS lookups "tests/test_sockets.py" ]; __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "anyio" ]; meta = with lib; { changelog = "https://github.com/agronholm/anyio/blob/${src.rev}/docs/versionhistory.rst"; description = "High level compatibility layer for multiple asynchronous event loop implementations on Python"; homepage = "https://github.com/agronholm/anyio"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; }; }