Skip to content

Conversation

@woodruffw
Copy link
Member

@woodruffw woodruffw commented Jan 30, 2026

SourceForge appears to be sending HTTP 403s to the linkchecker, despite the links working just fine in a browser.

Unblocks #1996.


📚 Documentation preview 📚: https://python-packaging-user-guide--1997.org.readthedocs.build/en/1997/

Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw woodruffw added this pull request to the merge queue Jan 30, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 30, 2026
@woodruffw woodruffw added this pull request to the merge queue Jan 30, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 30, 2026
Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw
Copy link
Member Author

woodruffw commented Jan 30, 2026

I can't reproduce this warning (which we treat as a hard error) locally:

/home/runner/work/packaging.python.org/packaging.python.org/source/tutorials/installing-packages.rst:376: WARNING: undefined label: 'pip:install_--no-binary'

The failing label definitely exists: https://pip.pypa.io/en/latest/cli/pip_install/#install-no-binary

Edit: now it reproduces, but I can't think of a reason this would suddenly fail. Sigh.

@woodruffw
Copy link
Member Author

Oh hmm, this is because pip's RTD is pointing to latest instead of stable, and latest (which is for a development release) doesn't have --no-binary labeled seemingly.

Compare stable where it's documented at that anchor:

And release where it isn't:

So, I think there are two things here:

  1. Should pip's default RTD site be stable, instead of latest? This would stop ReST ref churn between releases, which cause problems here. But I don't have a strong sense there.
  2. I think that link to --no-binary was unintentionally removed, unless pip actually is fully removing --no-binary in the upcoming 26 release.

CC @ichard26 for opinions on the above 🙂

@woodruffw
Copy link
Member Author

(One thing that's confusing me about this is that I can't find that --no-binary argument documentation anywhere on pip's main branch. It's not present in pip_install.rst and none of the recent changes look relevant.)

@notatallshaw
Copy link
Member

@woodruffw this almost certainly due to this PR: pypa/pip#13769. Thanks for the catch, I will take a look before releasing.

@woodruffw
Copy link
Member Author

Thanks a ton! I'm glad it served as a backstop here 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants