Merge pull request #111348 from risicle/ris-httpcore-0.12.3

pythonPackages.httpcore: 0.12.0 -> 0.12.3
This commit is contained in:
Martin Weinelt 2021-02-27 17:43:10 +01:00 committed by GitHub
commit c1aaa66d72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ];