From ea8d0340ee5f0366e5560e87bdccaaa5ce5e23d4 Mon Sep 17 00:00:00 2001
From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Date: Fri, 13 Sep 2024 22:30:20 +0300
Subject: [PATCH 1/2] Don't linkcheck stackoverflow.com, it's rate limited and
times out
---
conf.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/conf.py b/conf.py
index 569245df0..44e625a83 100644
--- a/conf.py
+++ b/conf.py
@@ -105,8 +105,10 @@
r'https://github.com/python/bedevere/#pr-state-machine',
# "Anchor not found":
r'https://packaging.python.org/.*#',
+ # "-rate limited-", causing a timeout
+ r'https://stackoverflow.com/.*',
# Discord doesn't allow robot crawlers: "403 Client Error: Forbidden"
- r'https://support.discord.com/hc/en-us/articles/219070107-Server-Nicknames',
+ 'https://support.discord.com/hc/en-us/articles/219070107-Server-Nicknames',
]
rediraffe_redirects = {
From 9ebb403e42dc05edc1c3b7a2f9dfd7d4116baad4 Mon Sep 17 00:00:00 2001
From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Date: Fri, 13 Sep 2024 22:30:42 +0300
Subject: [PATCH 2/2] Fix XZ link post-backdoor
---
getting-started/setup-building.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst
index 2d6f10e3f..8d432f0c0 100644
--- a/getting-started/setup-building.rst
+++ b/getting-started/setup-building.rst
@@ -779,7 +779,7 @@ on Linux, macOS and iOS.
As with CPython itself, the dependencies for CPython must be compiled for
each of the hardware architectures that iOS supports. Consult the
- documentation for `XZ `__, `bzip2
+ documentation for `XZ `__, `bzip2
`__, `OpenSSL `__ and
`libffi `__ for details on how to configure
the project for cross-platform iOS builds.