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.
This commit is contained in:
Dan Callaghan 2024-03-31 11:12:29 +11:00
parent 1290eef9c8
commit 3fe403d755
1 changed files with 7 additions and 9 deletions

View File

@ -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"
];