From 3fe403d7553e5ec45a7d8c601eff8d0fea3ba24c Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Sun, 31 Mar 2024 11:12:29 +1100 Subject: [PATCH] fontbakery: drop inapplicable patch This patch no longer applies cleanly, and upstream has already completely refactored everything since the v0.11.2 release so my updated PR won't apply cleanly either. Just explicitly skip all tests requiring network access for now. Hopefully in a later release, this list of tests to skip can be shortened or removed. --- .../python-modules/fontbakery/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/fontbakery/default.nix b/pkgs/development/python-modules/fontbakery/default.nix index 0450782041f5..ce909d1ff072 100644 --- a/pkgs/development/python-modules/fontbakery/default.nix +++ b/pkgs/development/python-modules/fontbakery/default.nix @@ -54,15 +54,6 @@ buildPythonPackage rec { hash = "sha256-61EXlf+d5kJeUF41OEnGNLaOcSvFWUDFgarVvHQZYmw="; }; - patches = [ - # Mock HTTP requests in tests (note we still have to skip some below) - # https://github.com/googlefonts/fontbakery/pull/4124 - (fetchpatch { - url = "https://github.com/fonttools/fontbakery/pull/4124.patch"; - hash = "sha256-NXuC2+TtxpHYMdd0t+cF0FJ3lrh4exP5yxspEasKKd0="; - }) - ]; - propagatedBuildInputs = [ axisregistry babelfont @@ -129,7 +120,14 @@ buildPythonPackage rec { ''; disabledTests = [ # These require network access: + "test_check_description_broken_links" + "test_check_description_family_update" + "test_check_metadata_designer_profiles" + "test_check_metadata_has_tags" + "test_check_metadata_includes_production_subsets" + "test_check_vertical_metrics" "test_check_vertical_metrics_regressions" + "test_check_cjk_vertical_metrics" "test_check_cjk_vertical_metrics_regressions" "test_check_fontbakery_version_live_apis" ];