From f3315e26cb2d34e76d134d0be1d6e404adf34257 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Thu, 26 Jun 2025 09:33:53 +0100 Subject: [PATCH] ci: skip fragment checking in links for now --- noxfile.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/noxfile.py b/noxfile.py index 3b590dfa886..98d19f085b6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -509,22 +509,15 @@ def check_guide(session: nox.Session): for key, value in remaps.items(): remap_args.extend(("--remap", f"{key} {value}")) - # some http URL fragments fail to be loaded (needs javascript?) - lychee_exclusions = [ - "https://github.com/PyO3/pyo3/issues/1800#issuecomment-906786649", - "https://docs.rs/parking_lot/latest/parking_lot/type.Mutex.html#method.lock_arc", - "https://github.com/PyO3/pyo3/issues/1517#issuecomment-808664021", - "https://github.com/PyO3/maturin/blob/0dee40510083c03607834c821eea76964140a126/Readme.md#mixed-rustpython-projects", - ] - # check all links in the guide _run( session, "lychee", - "--include-fragments", + # FIXME: would be nice to use `--include-fragments` here, but we've had + # a lot of flaky failures from it - see https://github.com/lycheeverse/lychee/issues/1746 + # "--include-fragments", str(PYO3_GUIDE_SRC), *remap_args, - "--exclude=" + "|".join(lychee_exclusions), "--accept=200,429", *session.posargs, )