python310Packages.commoncode: disable failing test
This commit is contained in:
parent
9e779f01ca
commit
e94bba2264
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
, intbitset
|
, intbitset
|
||||||
, pytest-xdist
|
, pytest-xdist
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
, saneyaml
|
, saneyaml
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "commoncode";
|
pname = "commoncode";
|
||||||
version = "30.0.0";
|
version = "30.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
@ -49,12 +51,18 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = lib.optionals stdenv.isDarwin [
|
disabledTests = lib.optionals stdenv.isDarwin [
|
||||||
# expected result is tailored towards the quirks of upstream's
|
# expected result is tailored towards the quirks of upstream's
|
||||||
# CI environment on darwin
|
# CI environment on darwin
|
||||||
"test_searchable_paths"
|
"test_searchable_paths"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [
|
||||||
|
# https://github.com/nexB/commoncode/issues/36
|
||||||
|
"src/commoncode/fetch.py"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"commoncode"
|
"commoncode"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue