python3Packages.httpcore: 0.13.7 -> 0.14.3

main
Jonathan Ringer 3 years ago
parent 82545a328f
commit 174e8f7b15
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
  1. 16
      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; {

Loading…
Cancel
Save