Commit 3fe403d7 authored by Dan Callaghan's avatar Dan Callaghan
Browse files

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.
parent 1290eef9
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -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"
  ];