diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-01-29 17:16:28 +0100 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-01-29 18:28:39 +0100 |
commit | 2aafd59a1b9ca00ebd72deb71dfa3880a3a0b630 (patch) | |
tree | 2fdf8654cea3bcd94226a23c926473e3682fd1e3 /pkgs/development/python-modules/psautohint | |
parent | 3d19493fa572ce2c140f6bc27e6e4734b4525ea4 (diff) |
python3Packages.psautohint: use pytest_6
We prefer using a single version of pytest within pythonPackages.
Diffstat (limited to 'pkgs/development/python-modules/psautohint')
-rw-r--r-- | pkgs/development/python-modules/psautohint/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/psautohint/default.nix b/pkgs/development/python-modules/psautohint/default.nix index 68d151336706a..4e9f07e2ccb8e 100644 --- a/pkgs/development/python-modules/psautohint/default.nix +++ b/pkgs/development/python-modules/psautohint/default.nix @@ -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" |