Merge pull request #131659 from mweinelt/anyio

python3Packages.anyio: 3.2.1 -> 3.3.0
This commit is contained in:
Ben Siraphob 2021-07-27 22:21:36 +07:00 committed by GitHub
commit 66e1f68792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View file

@ -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

View file

@ -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 ];