diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-07-27 22:21:36 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 22:21:36 +0700 |
commit | 66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8 (patch) | |
tree | d9ea18fc339b5205f978aacdd6d17b44e20dcf06 /pkgs/development | |
parent | 722ac674d2439d11e8435cdee83e66c5ba3b4944 (diff) | |
parent | 8ec2e85105c1ec95e9f146e12ae3ebd124db6384 (diff) | |
download | nixpkgs-66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8.tar nixpkgs-66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8.tar.gz nixpkgs-66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8.tar.bz2 nixpkgs-66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8.tar.lz nixpkgs-66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8.tar.xz nixpkgs-66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8.tar.zst nixpkgs-66e1f68792e23d1a9c63bfc87fbd6b9028e4a5c8.zip |
Merge pull request #131659 from mweinelt/anyio
python3Packages.anyio: 3.2.1 -> 3.3.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/anyio/default.nix | 11 | ||||
-rw-r--r-- | pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/anyio/default.nix b/pkgs/development/python-modules/anyio/default.nix index 4c6a5e19078..ac34c336cad 100644 --- a/pkgs/development/python-modules/anyio/default.nix +++ b/pkgs/development/python-modules/anyio/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "anyio"; - version = "3.2.1"; + version = "3.3.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "agronholm"; repo = pname; rev = version; - sha256 = "0fiqzsgr9c0yicsh1pwhyc6z4qyr2ng42dakyy4a81w9cff38had"; + sha256 = "sha256-bMnAijFLXZSgTWsalT/J4sJ0Jrc1kFaQHJArwXnQFaQ="; }; preBuild = '' @@ -57,8 +57,13 @@ buildPythonPackage rec { mock ]; + disabledTests = [ + # block devices access + "test_is_block_device" + ]; + disabledTestPaths = [ - # lots of DNS lookups + # lots of DNS lookups "tests/test_sockets.py" ] ++ lib.optionals stdenv.isDarwin [ # darwin sandboxing limitations diff --git a/pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix b/pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix index 58a634ee86c..2a9e240e7af 100644 --- a/pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix +++ b/pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix @@ -52,12 +52,6 @@ self: super: } ); - anyio = super.anyio.overridePythonAttrs (old: { - postPatch = '' - substituteInPlace setup.py --replace 'setup()' 'setup(version="${old.version}")' - ''; - }); - astroid = super.astroid.overridePythonAttrs ( old: rec { buildInputs = (old.buildInputs or [ ]) ++ [ self.pytest-runner ]; |