python3Packages.psautohint: use pytest_6
We prefer using a single version of pytest within pythonPackages.
This commit is contained in:
parent
3d19493fa5
commit
2aafd59a1b
@ -2,7 +2,7 @@
|
||||
, fonttools
|
||||
, lxml, fs # for fonttools extras
|
||||
, setuptools_scm
|
||||
, pytestCheckHook, pytest_5, pytestcov, pytest_xdist
|
||||
, pytestCheckHook, pytestcov, pytest_xdist
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -30,14 +30,14 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ fonttools lxml fs ];
|
||||
|
||||
checkInputs = [
|
||||
# Override pytestCheckHook to use pytest v5, because some tests fail on pytest >= v6
|
||||
# https://github.com/adobe-type-tools/psautohint/issues/284#issuecomment-742800965
|
||||
# Override might be able to be removed in future, check package dependency pins (coverage.yml)
|
||||
(pytestCheckHook.override{ pytest = pytest_5; })
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest_xdist
|
||||
];
|
||||
disabledTests = [
|
||||
# Test that fails on pytest >= v6
|
||||
# https://github.com/adobe-type-tools/psautohint/issues/284#issuecomment-742800965
|
||||
"test_hashmap_old_version"
|
||||
# Slow tests, reduces test time from ~5 mins to ~30s
|
||||
"test_mmufo"
|
||||
"test_flex_ufo"
|
||||
|
Loading…
Reference in New Issue
Block a user