You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been discussing the need for updates to the Packaging Guide with the new Python Packaging Council (PPC) (xref python/packaging-council#8). There is a lot of outdated content; adding new content or reshuffling things will be easier once the very outdated stuff is removed. This issue is meant to communicate that plan, and discuss some rough criteria for what can be removed without needing more than two pairs of eyes. A proposal:
In general, everything that is (a) out of date by >3 years, or (b) no longer relevant or maintained can be removed. Examples:
The page install_requires vs requirements files is probably also outdated enough to remove - none of that is standardized or recommended, and it predates pyproject.toml introduction (now 10 years ago)
gh-2165 added a new 404 page, so that pages redirect to the front page (without that, the 404 shown was quite uninformative). Of course if there's a specific replacement for removed content, adding a redirect can be the better option.
The page install_requires vs requirements files is probably also outdated enough to remove - none of that is standardized or recommended, and it predates pyproject.toml introduction (now 10 years ago)
I often refer people to this page for the "abstract vs. concrete dependencies" paragraph. It works quite well for me as a mental model and it seems to have been successful at getting the message across. I think it would be good if this bit could be preserved somehow.
@sinoroc that's a very useful concept to explain, but this page does a pretty poor job of it. We can aim to write a better explanation in the packaging guide, but in the meantime, here are better alternatives for this page:
If this page is retired, could the replacement keep a link to pip’s example for using a local folder? Codex tested this offline with the exact package version already downloaded. Adding --find-links ./wheelhouse was the step that let pip find it.
This also applies to all setuptools-specific content, that will be removed - see this Packaging Council decision (python/packaging-council#8):
Should we rename and generalize the setuptools guides? Or redirect to setuptools docs, etc?
Yes and yes. The setuptools docs are good, so point at them for setuptools-specific content, don't keep that in the guide. General-purpose guides should be renamed and use modern standards-based practices - no need for anything that is setuptools-specific.
Activity
sinoroc commentedon Oct 27, 2026
I often refer people to this page for the "abstract vs. concrete dependencies" paragraph. It works quite well for me as a mental model and it seems to have been successful at getting the message across. I think it would be good if this bit could be preserved somehow.
rgommers commentedon Oct 28, 2026
@sinoroc that's a very useful concept to explain, but this page does a pretty poor job of it. We can aim to write a better explanation in the packaging guide, but in the meantime, here are better alternatives for this page:
KilianTheMagnificent commentedon Nov 18, 2026
If this page is retired, could the replacement keep a link to pip’s example for using a local folder? Codex tested this offline with the exact package version already downloaded. Adding
--find-links ./wheelhousewas the step that let pip find it.rgommers commentedon Nov 24, 2026
This also applies to all
setuptools-specific content, that will be removed - see this Packaging Council decision (python/packaging-council#8):Yes and yes. The
setuptoolsdocs are good, so point at them forsetuptools-specific content, don't keep that in the guide. General-purpose guides should be renamed and use modern standards-based practices - no need for anything that issetuptools-specific.rgommers commentedon Nov 27, 2026
After #2213 things will start to look somewhat reasonable. There's more to do, but then the bulk of the cleaning is done I think.