python3Packages.fonttools: 4.56.0 -> 4.59.0
- ufo extra no longer depends on fs - python 3.14 change has been merged upstream - test suite automatically skips tests that are missing dependencies in the test environment, so we don't need to maintain a list of them. - issue with pytest >= 8.0.1 has been resolved upstream https://github.com/fonttools/fonttools/releases/tag/4.57.0 https://github.com/fonttools/fonttools/releases/tag/4.58.0 https://github.com/fonttools/fonttools/releases/tag/4.58.1 https://github.com/fonttools/fonttools/releases/tag/4.58.2 https://github.com/fonttools/fonttools/releases/tag/4.58.3 https://github.com/fonttools/fonttools/releases/tag/4.58.4 https://github.com/fonttools/fonttools/releases/tag/4.58.5 https://github.com/fonttools/fonttools/releases/tag/4.59.0
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
fs,
|
||||
lxml,
|
||||
brotli,
|
||||
brotlicffi,
|
||||
@@ -27,7 +26,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fonttools";
|
||||
version = "4.56.0";
|
||||
version = "4.59.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -36,15 +35,9 @@ buildPythonPackage rec {
|
||||
owner = "fonttools";
|
||||
repo = "fonttools";
|
||||
tag = version;
|
||||
hash = "sha256-ZkC1+I2d9wY9J7IoCGHGWG2gOVN7wW274UpN1lQxmJY=";
|
||||
hash = "sha256-f3iedVwwh98XkFzPJ/+XZ2n4pcDXDoPlQki+neGVuXE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/fonttools/fonttools/pull/3855
|
||||
# FIXME: remove when merged
|
||||
./python-3.13.4.patch
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
@@ -53,7 +46,7 @@ buildPythonPackage rec {
|
||||
optional-dependencies =
|
||||
let
|
||||
extras = {
|
||||
ufo = [ fs ];
|
||||
ufo = [ ];
|
||||
lxml = [ lxml ];
|
||||
woff = [
|
||||
(if isPyPy then brotlicffi else brotli)
|
||||
@@ -108,19 +101,6 @@ 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"
|
||||
|
||||
# test suite fails with pytest>=8.0.1
|
||||
# https://github.com/fonttools/fonttools/issues/3458
|
||||
"Tests/ttLib/woff2_test.py"
|
||||
"Tests/ttx/ttx_test.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/fonttools/fonttools";
|
||||
description = "Library to manipulate font files from Python";
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
diff --git a/Lib/fontTools/feaLib/ast.py b/Lib/fontTools/feaLib/ast.py
|
||||
index efcce8c680..18e5a891d3 100644
|
||||
--- a/Lib/fontTools/feaLib/ast.py
|
||||
+++ b/Lib/fontTools/feaLib/ast.py
|
||||
@@ -719,7 +719,8 @@ def __init__(self, prefix, glyphs, suffix, lookups, location=None):
|
||||
for i, lookup in enumerate(lookups):
|
||||
if lookup:
|
||||
try:
|
||||
- (_ for _ in lookup)
|
||||
+ for _ in lookup:
|
||||
+ break
|
||||
except TypeError:
|
||||
self.lookups[i] = [lookup]
|
||||
|
||||
@@ -777,7 +778,8 @@ def __init__(self, prefix, glyphs, suffix, lookups, location=None):
|
||||
for i, lookup in enumerate(lookups):
|
||||
if lookup:
|
||||
try:
|
||||
- (_ for _ in lookup)
|
||||
+ for _ in lookup:
|
||||
+ break
|
||||
except TypeError:
|
||||
self.lookups[i] = [lookup]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user