diff options
author | Robert Scott <code@humanleg.org.uk> | 2021-01-30 18:42:05 +0000 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2021-01-30 19:28:08 +0000 |
commit | ecafd78d33a2dc0ed20a1135b9006cfa9720c790 (patch) | |
tree | 59a986dd043c0c197e88118ecaba76c28cf1b6df /pkgs/development/python-modules/httpcore | |
parent | 2864070e6f3d6c75ad192d368b787550b6b316e7 (diff) | |
download | nixpkgs-ecafd78d33a2dc0ed20a1135b9006cfa9720c790.tar nixpkgs-ecafd78d33a2dc0ed20a1135b9006cfa9720c790.tar.gz nixpkgs-ecafd78d33a2dc0ed20a1135b9006cfa9720c790.tar.bz2 nixpkgs-ecafd78d33a2dc0ed20a1135b9006cfa9720c790.tar.lz nixpkgs-ecafd78d33a2dc0ed20a1135b9006cfa9720c790.tar.xz nixpkgs-ecafd78d33a2dc0ed20a1135b9006cfa9720c790.tar.zst nixpkgs-ecafd78d33a2dc0ed20a1135b9006cfa9720c790.zip |
pythonPackages.httpcore: 0.12.0 -> 0.12.3
Diffstat (limited to 'pkgs/development/python-modules/httpcore')
-rw-r--r-- | pkgs/development/python-modules/httpcore/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/httpcore/default.nix b/pkgs/development/python-modules/httpcore/default.nix index aa15c2555e6..dbbdf0bb38c 100644 --- a/pkgs/development/python-modules/httpcore/default.nix +++ b/pkgs/development/python-modules/httpcore/default.nix @@ -9,18 +9,20 @@ , pytestcov , sniffio , uvicorn +, trustme +, trio }: buildPythonPackage rec { pname = "httpcore"; - version = "0.12.0"; + version = "0.12.3"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "encode"; repo = pname; rev = version; - sha256 = "0bwxn7m7r7h6k41swxj0jqj3nzi76wqxwbnry6y7d4qfh4m26g2j"; + sha256 = "09hbjc5wzhrnri5y3idxcq329d7jiaxljc7y6npwv9gh9saln109"; }; propagatedBuildInputs = [ @@ -34,11 +36,15 @@ buildPythonPackage rec { pytestCheckHook pytestcov uvicorn + trustme + trio ]; pytestFlagsArray = [ # these tests fail during dns lookups: httpcore.ConnectError: [Errno -2] Name or service not known + "--ignore=tests/test_threadsafety.py" "--ignore=tests/sync_tests/test_interfaces.py" + "--ignore=tests/sync_tests/test_retries.py" ]; pythonImportsCheck = [ "httpcore" ]; |