summary refs log tree commit diff
path: root/pkgs/development/python-modules/httpcore
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-11-29 08:58:25 -0800
committerJonathan Ringer <jonringer117@gmail.com>2021-11-30 18:52:48 -0800
commit174e8f7b15a8054c0dbae216568a2c383c4f354b (patch)
tree41ea103b352d77cd6eadb35251ad994450ed399b /pkgs/development/python-modules/httpcore
parent82545a328f863415579e50ecb0b022b6ecb94100 (diff)
downloadnixpkgs-174e8f7b15a8054c0dbae216568a2c383c4f354b.tar
nixpkgs-174e8f7b15a8054c0dbae216568a2c383c4f354b.tar.gz
nixpkgs-174e8f7b15a8054c0dbae216568a2c383c4f354b.tar.bz2
nixpkgs-174e8f7b15a8054c0dbae216568a2c383c4f354b.tar.lz
nixpkgs-174e8f7b15a8054c0dbae216568a2c383c4f354b.tar.xz
nixpkgs-174e8f7b15a8054c0dbae216568a2c383c4f354b.tar.zst
nixpkgs-174e8f7b15a8054c0dbae216568a2c383c4f354b.zip
python3Packages.httpcore: 0.13.7 -> 0.14.3
Diffstat (limited to 'pkgs/development/python-modules/httpcore')
-rw-r--r--pkgs/development/python-modules/httpcore/default.nix16
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/httpcore/default.nix b/pkgs/development/python-modules/httpcore/default.nix
index 089c2d9fcc4..99eb08a35a9 100644
--- a/pkgs/development/python-modules/httpcore/default.nix
+++ b/pkgs/development/python-modules/httpcore/default.nix
@@ -3,12 +3,14 @@
 , pythonOlder
 , fetchFromGitHub
 , anyio
+, certifi
 , h11
 , h2
 , pproxy
 , pytest-asyncio
 , pytestCheckHook
 , pytest-cov
+, pytest-httpbin
 , sniffio
 , trio
 , trustme
@@ -17,18 +19,19 @@
 
 buildPythonPackage rec {
   pname = "httpcore";
-  version = "0.13.7";
+  version = "0.14.3";
   disabled = pythonOlder "3.6";
 
   src = fetchFromGitHub {
     owner = "encode";
     repo = pname;
     rev = version;
-    sha256 = "sha256-9hG9MqqEYMT2j7tXafToGYwHbJfp9/klNqZozHSbweE=";
+    sha256 = "sha256-jPsbMhY1lWKBXlh6hsX6DGKXi/g7VQSU00tF6H7qkOo=";
   };
 
   propagatedBuildInputs = [
     anyio
+    certifi
     h11
     h2
     sniffio
@@ -39,19 +42,12 @@ buildPythonPackage rec {
     pytest-asyncio
     pytestCheckHook
     pytest-cov
+    pytest-httpbin
     trio
     trustme
     uvicorn
   ];
 
-  disabledTestPaths = [
-    # these tests fail during dns lookups: httpcore.ConnectError: [Errno -2] Name or service not known
-    "tests/test_threadsafety.py"
-    "tests/async_tests/"
-    "tests/sync_tests/test_interfaces.py"
-    "tests/sync_tests/test_retries.py"
-  ];
-
   pythonImportsCheck = [ "httpcore" ];
 
   meta = with lib; {