FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Avoid fetching dependencies from TestPyPI by rgommers · Pull Request #2191 · pypa/packaging.python.org · GitHub

Repository navigation

Avoid fetching dependencies from TestPyPI - #2191

Open
rgommers wants to merge 1 commit into
pypa:mainfrom
rgommers:testpypi-usage-warning
Open

rgommers wants to merge 1 commit into
pypa:mainfrom
rgommers:testpypi-usage-warning

Conversation

rgommers commented Nov 13, 2026 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

Use --no-deps and require a wheel to avoid downloading runtime or build dependencies from TestPyPI. Replace mixed-index installation advice with separate dependency installation from PyPI, and explain the risk of unintended or malicious packages.

The packaging tutorial already uses --no-deps and has similar guidance.

Closes gh-1500


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

Use `--no-deps` and require a wheel to avoid downloading runtime or
build dependencies from TestPyPI. Replace mixed-index installation
advice with separate dependency installation from PyPI, and explain
the risk of unintended or malicious packages.

The packaging tutorial already uses `--no-deps` and has similar
guidance.

Closes pypagh-1500
rgommers added type: bug A confirmed bug or unintended behavior component: guides labels Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: guides type: bug A confirmed bug or unintended behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn against using pip with test.pypi.org

1 participant


Back | FazBrowse Home | New Git URL