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
|
, pytestcov
|
||||||
, sniffio
|
, sniffio
|
||||||
, uvicorn
|
, uvicorn
|
||||||
|
, trustme
|
||||||
|
, trio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "httpcore";
|
pname = "httpcore";
|
||||||
version = "0.12.0";
|
version = "0.12.3";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "encode";
|
owner = "encode";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0bwxn7m7r7h6k41swxj0jqj3nzi76wqxwbnry6y7d4qfh4m26g2j";
|
sha256 = "09hbjc5wzhrnri5y3idxcq329d7jiaxljc7y6npwv9gh9saln109";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -34,11 +36,15 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
uvicorn
|
uvicorn
|
||||||
|
trustme
|
||||||
|
trio
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
# these tests fail during dns lookups: httpcore.ConnectError: [Errno -2] Name or service not known
|
# 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_interfaces.py"
|
||||||
|
"--ignore=tests/sync_tests/test_retries.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "httpcore" ];
|
pythonImportsCheck = [ "httpcore" ];
|
||||||
|
|
Loading…
Reference in a new issue