python3Packages.httpcore: 0.12.3 -> 0.13.0
This commit is contained in:
parent
0d337eb6b7
commit
aab004076b
|
@ -5,24 +5,25 @@
|
||||||
, h11
|
, h11
|
||||||
, h2
|
, h2
|
||||||
, pproxy
|
, pproxy
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-trio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, sniffio
|
, sniffio
|
||||||
, uvicorn
|
|
||||||
, trustme
|
, trustme
|
||||||
, trio
|
, uvicorn
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "httpcore";
|
pname = "httpcore";
|
||||||
version = "0.12.3";
|
version = "0.13.0";
|
||||||
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 = "09hbjc5wzhrnri5y3idxcq329d7jiaxljc7y6npwv9gh9saln109";
|
sha256 = "sha256-KvqBVQUaF3p2oJz0tt3Bkn2JiKEHqrZ3b6I9f0JK5h8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -33,18 +34,19 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pproxy
|
pproxy
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-trio
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
uvicorn
|
|
||||||
trustme
|
trustme
|
||||||
trio
|
uvicorn
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
disabledTestPaths = [
|
||||||
# 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"
|
"tests/test_threadsafety.py"
|
||||||
"--ignore=tests/sync_tests/test_interfaces.py"
|
"tests/sync_tests/test_interfaces.py"
|
||||||
"--ignore=tests/sync_tests/test_retries.py"
|
"tests/sync_tests/test_retries.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "httpcore" ];
|
pythonImportsCheck = [ "httpcore" ];
|
||||||
|
|
Loading…
Reference in New Issue