Skip to content

Commit 57e7caf

Browse files
test: Ignore CERN Twiki URLs during Sphinx linkcheck (#2272)
* Ignore URLs for CERN's Twiki instance https://twiki.cern.ch/ from Sphinx linkcheck tests as CERN seems to have problems regularly maintaining their SSL certs which can lead to SSL errors. ``` Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)')) ```
1 parent 852a224 commit 57e7caf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,8 @@ def setup(app):
519519
r'https://indico.desy.de/event/22731/.*',
520520
# https://indico.belle2.org/event/8470/contributions/55871/ is frequently generating 403 Client Error
521521
r'https://indico.belle2.org/event/8470/.*',
522+
# CERN doesn't maintain its SSL certs well enough to not have SSLErrors
523+
r'https://twiki.cern.ch/.*',
522524
# tags for a release won't exist until it is made, but the release notes
523525
# and ReadTheDocs need to reference them
524526
r'https://github.com/scikit-hep/pyhf/releases/tag/.*',

0 commit comments

Comments
 (0)