mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
python311Packages.pytenable: disable tests which requires network access
This commit is contained in:
parent
301a784da0
commit
91de96e098
@ -14,13 +14,14 @@
|
||||
, responses
|
||||
, restfly
|
||||
, semver
|
||||
, setuptools
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytenable";
|
||||
version = "1.4.13";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -31,6 +32,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-UY3AFnPplmU0jrV4LIKH4+2tcJEFkKMqO2GWVkgaHYE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
defusedxml
|
||||
marshmallow
|
||||
@ -50,12 +55,20 @@ buildPythonPackage rec {
|
||||
responses
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Disable tests that requires network access
|
||||
"tests/io/"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Disable tests that requires a Docker container
|
||||
"test_uploads_docker_push_name_typeerror"
|
||||
"test_uploads_docker_push_tag_typeerror"
|
||||
"test_uploads_docker_push_cs_name_typeerror"
|
||||
"test_uploads_docker_push_cs_tag_typeerror"
|
||||
# Test requires network access
|
||||
"test_assets_list_vcr"
|
||||
"test_events_list_vcr"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
Loading…
Reference in New Issue
Block a user