summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/fonttools
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-11-28 23:45:15 -0800
committerJonathan Ringer <jonringer117@gmail.com>2021-11-30 18:52:46 -0800
commitde93eeee943ed09ab95eeb6e243b03cbf5ef6a2d (patch)
tree97c9fbc66339fcc4649c9d9cb7b16c0dfbb4bb98 /pkgs/development/python-modules/fonttools
parentpython3Packages.sphinx: 4.2.0 -> 4.3.1 (diff)
downloadnixpkgs-de93eeee943ed09ab95eeb6e243b03cbf5ef6a2d.tar.gz
python3Packages.fonttools: avoid matplotlib in closure, cyclic dependencies
Diffstat (limited to 'pkgs/development/python-modules/fonttools')
-rw-r--r--pkgs/development/python-modules/fonttools/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/fonttools/default.nix b/pkgs/development/python-modules/fonttools/default.nix
index 96ea9d4be1e8..ec3acfc775d0 100644
--- a/pkgs/development/python-modules/fonttools/default.nix
+++ b/pkgs/development/python-modules/fonttools/default.nix
@@ -4,17 +4,14 @@
, pythonOlder
, brotlipy
, zopfli
-, fs
, lxml
, scipy
, munkres
, unicodedata2
, sympy
-, matplotlib
, reportlab
, sphinx
, pytestCheckHook
-, pytest-randomly
, glibcLocales
}:
@@ -34,13 +31,11 @@ buildPythonPackage rec {
# all dependencies are optional, but
# we run the checks with them
+
checkInputs = [
pytestCheckHook
- pytest-randomly
# etree extra
lxml
- # ufo extra
- fs
# woff extra
brotlipy
zopfli
@@ -49,8 +44,6 @@ buildPythonPackage rec {
munkres
# symfont
sympy
- # varLib
- matplotlib
# pens
reportlab
sphinx
@@ -72,6 +65,15 @@ buildPythonPackage rec {
"test_ttcompile_timestamp_calcs"
];
+ disabledTestPaths = [
+ # avoid test which depend on fs and matplotlib
+ # fs and matplotlib were removed to prevent strong cyclic dependencies
+ "Tests/misc/plistlib_test.py"
+ "Tests/pens"
+ "Tests/ufoLib"
+ ];
+
+
meta = with lib; {
homepage = "https://github.com/fonttools/fonttools";
description = "A library to manipulate font files from Python";