python312Packages.fonttools 4.46.0 -> 4.49.0 https://github.com/fonttools/fonttools/releases attrpath: python312Packages.fonttools Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/5cqaz8yyjk7472wcprfg0sic0mfckcdy-packages.json.drv building '/nix/store/5cqaz8yyjk7472wcprfg0sic0mfckcdy-packages.json.drv'... Going to be running update for following packages: - python3.12-fonttools-4.46.0 Press Enter key to continue... Running update for: - python3.12-fonttools-4.46.0: UPDATING ... - python3.12-fonttools-4.46.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/fonttools/default.nix b/pkgs/development/python-modules/fonttools/default.nix index e07ab3c0d953..0d8ee879caae 100644 --- a/pkgs/development/python-modules/fonttools/default.nix +++ b/pkgs/development/python-modules/fonttools/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "fonttools"; - version = "4.46.0"; + version = "4.49.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-QpC1OWpqhJpzS59OG8A/nndWDoeYyAFUTIcsppLzM8Y="; + hash = "sha256-8xQVuAnIS/mwYKwI+ow0YArIP8wFTKWGLZ+NCgIFYok="; }; nativeBuildInputs = [ setuptools-scm ]; No auto update branch exists Old version 4.46.0" not present in staging derivation file with contents: { lib , stdenv , buildPythonPackage , pythonOlder , isPyPy , fetchFromGitHub , setuptools , setuptools-scm , fs , lxml , brotli , brotlicffi , zopfli , unicodedata2 , lz4 , scipy , munkres , pycairo , matplotlib , sympy , xattr , skia-pathops , uharfbuzz , pytestCheckHook , pytest_7 }: buildPythonPackage rec { pname = "fonttools"; version = "4.49.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-8xQVuAnIS/mwYKwI+ow0YArIP8wFTKWGLZ+NCgIFYok="; }; build-system = [ setuptools setuptools-scm ]; optional-dependencies = let extras = { ufo = [ fs ]; lxml = [ lxml ]; woff = [ (if isPyPy then brotlicffi else brotli) zopfli ]; unicode = lib.optional (pythonOlder "3.11") unicodedata2; graphite = [ lz4 ]; interpolatable = [ pycairo (if isPyPy then munkres else scipy) ]; plot = [ matplotlib ]; symfont = [ sympy ]; type1 = lib.optional stdenv.isDarwin xattr; pathops = [ skia-pathops ]; repacker = [ uharfbuzz ]; }; in extras // { all = lib.concatLists (lib.attrValues extras); }; nativeCheckInputs = [ # test suite fails with pytest>=8.0.1 # https://github.com/fonttools/fonttools/issues/3458 (pytestCheckHook.override { pytest = pytest_7; }) ] ++ lib.concatLists (lib.attrVals ([ "woff" # "interpolatable" is not included because it only contains 2 tests at the time of writing but adds 270 extra dependencies "ufo" ] ++ lib.optionals (!skia-pathops.meta.broken) [ "pathops" # broken ] ++ [ "repacker" ]) optional-dependencies); pythonImportsCheck = [ "fontTools" ]; preCheck = '' # tests want to execute the "fonttools" executable from $PATH export PATH="$out/bin:$PATH" ''; # Timestamp tests have timing issues probably related # to our file timestamp normalization disabledTests = [ "test_recalc_timestamp_ttf" "test_recalc_timestamp_otf" "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 = "A library to manipulate font files from Python"; changelog = "https://github.com/fonttools/fonttools/blob/${version}/NEWS.rst"; license = licenses.mit; maintainers = [ maintainers.sternenseemann ]; }; }