Skip to content

Commit 5044290

Browse files
authored
install nox[uv] in linkcheck job too (#13284)
* install nox[uv] in linkcheck job too * increase linkcheck timeout We're being rate limited on linkchecks against github.com which is causing the job to timeout. Heavy sigh emoji * skip github links, sigh * format fix, remove link to old source of verisign md2 root we don't care where it came from really, just that it's an md2 root
1 parent 175af7b commit 5044290

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/linkcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
docs-linkcheck:
1919
runs-on: ubuntu-latest
2020
name: "linkcheck"
21-
timeout-minutes: 10
21+
timeout-minutes: 20
2222
steps:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
@@ -35,7 +35,7 @@ jobs:
3535
# This creates the same key as the docs job (as long as they have the same
3636
# python version)
3737
key: 3.11-${{ steps.setup-python.outputs.python-version }}
38-
- run: python -m pip install -c ci-constraints-requirements.txt nox
38+
- run: python -m pip install -c ci-constraints-requirements.txt 'nox[uv]'
3939
- name: Build nox environment
4040
run: |
4141
nox -v --install-only -s docs-linkcheck

docs/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,12 @@
201201
r"https://\w+.stackexchange.com",
202202
r"https://stackoverflow.com",
203203
r"https://webstore.ansi.org",
204-
# GitHub changed how they do page renders so anchor detection
205-
# no longer works in source view
206-
r"https://github.com/.*/blob/.*#L\d+",
207204
# Kuleuven struggles with the endless forward march of time
208205
r"https://www.cosic.esat.kuleuven.be",
209206
# CMU doesn't know how to send intermediates
210207
r"https://wiki.sei.cmu.edu",
208+
# GitHub has started heavily rate-limiting causing job failures
209+
r"https://github.com",
211210
]
212211

213212
autosectionlabel_prefix_document = True

docs/development/test-vectors.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,7 @@ X.509
352352
* ``ecdsa_root.pem`` - `DigiCert Global Root G3`_, a ``secp384r1`` ECDSA root
353353
certificate.
354354
* ``verisign-md2-root.pem`` - A legacy Verisign public root signed using the
355-
MD2 algorithm. This is a PEM conversion of the `root data`_ in the NSS source
356-
tree.
355+
MD2 algorithm.
357356
* ``cryptography.io.pem`` - A leaf certificate issued by RapidSSL for the
358357
cryptography website.
359358
* ``cryptography.io.old_header.pem`` - A leaf certificate issued by RapidSSL
@@ -1238,7 +1237,6 @@ header format (substituting the correct information):
12381237
.. _`NIST PKI Testing`: https://csrc.nist.gov/Projects/PKI-Testing
12391238
.. _`testx509.pem`: https://github.com/openssl/openssl/blob/master/test/testx509.pem
12401239
.. _`DigiCert Global Root G3`: http://cacerts.digicert.com/DigiCertGlobalRootG3.crt
1241-
.. _`root data`: https://hg.mozilla.org/projects/nss/file/25b2922cc564/security/nss/lib/ckfw/builtins/certdata.txt#l2053
12421240
.. _`asymmetric/public/PKCS1/dsa.pub.pem`: https://github.com/ruby/ruby/blob/4ccb387f3bc436a08fc6d72c4931994f5de95110/test/openssl/test_pkey_dsa.rb#L53
12431241
.. _`Mozilla bug`: https://bugzilla.mozilla.org/show_bug.cgi?id=233586
12441242
.. _`Russian CA`: https://e-trust.gosuslugi.ru/

0 commit comments

Comments
 (0)