python3Packages.urllib3: run more tests

This gets the tests running again and enables more of them. I still did
not manage to fix all of them.
This commit is contained in:
Martin Weinelt
2025-12-08 18:04:52 +01:00
parent 6056f229d5
commit de0008bac2
@@ -16,9 +16,15 @@
pysocks,
# tests
httpx,
pyopenssl,
pytestCheckHook,
pytest-socket,
pytest-timeout,
quart,
quart-trio,
tornado,
trio,
trustme,
}:
@@ -51,13 +57,23 @@ let
};
nativeCheckInputs = [
httpx
pyopenssl
pytest-socket
pytest-timeout
pytestCheckHook
quart
quart-trio
tornado
trio
trustme
]
++ lib.concatAttrValues optional-dependencies;
disabledTestMarks = [
"requires_network"
];
# Tests in urllib3 are mostly timeout-based instead of event-based and
# are therefore inherently flaky. On your own machine, the tests will
# typically build fine, but on a loaded cluster such as Hydra random