Merge pull request #111348 from risicle/ris-httpcore-0.12.3
pythonPackages.httpcore: 0.12.0 -> 0.12.3
This commit is contained in:
commit
c1aaa66d72
1 changed files with 8 additions and 2 deletions
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue