From eb73c32e8b39d7661d34dae4566c4ea0e390711d Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Sun, 25 Feb 2024 19:22:28 -0800 Subject: [PATCH 1/3] Add stack overflow to linkcheck ignore list --- source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/conf.py b/source/conf.py index 786e67dd3..12885af3b 100644 --- a/source/conf.py +++ b/source/conf.py @@ -107,6 +107,8 @@ # Temporarily ignored. Ref: # https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690 "https://www.breezy-vcs.org/*", + # Blocked due to https://github.com/pypa/packaging.python.org/pull/1474 + "https://stackoverflow.com/*", ] linkcheck_retries = 5 # Ignore anchors for links to GitHub project pages -- GitHub adds anchors from From 087aa93a0c6663477f5c0ce6009d290d2305730e Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Mon, 26 Feb 2024 16:40:37 -0800 Subject: [PATCH 2/3] Clarify comment per review --- source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/conf.py b/source/conf.py index 12885af3b..831f9c9ea 100644 --- a/source/conf.py +++ b/source/conf.py @@ -107,7 +107,8 @@ # Temporarily ignored. Ref: # https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690 "https://www.breezy-vcs.org/*", - # Blocked due to https://github.com/pypa/packaging.python.org/pull/1474 + # Ignore while StackOverflow is blocking GitHub CI. Ref: + # https://github.com/pypa/packaging.python.org/pull/1474 "https://stackoverflow.com/*", ] linkcheck_retries = 5 From 3e65739d8078603eec17bc2a38a1bab1a74ccb37 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Thu, 29 Feb 2024 10:26:30 -0800 Subject: [PATCH 3/3] Remove example for a different failing link as pip has removed setup.py --- source/guides/single-sourcing-package-version.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/guides/single-sourcing-package-version.rst b/source/guides/single-sourcing-package-version.rst index e487e41e1..e300fa8f7 100644 --- a/source/guides/single-sourcing-package-version.rst +++ b/source/guides/single-sourcing-package-version.rst @@ -9,8 +9,7 @@ Single-sourcing the package version There are many techniques to maintain a single source of truth for the version number of your project: -#. Read the file in :file:`setup.py` and get the version. Example (from `pip setup.py - `_):: +#. Read the file in :file:`setup.py` and get the version. Example:: import codecs import os.path