Skip to content

Clean up more outdated content - #2213

Open
rgommers wants to merge 7 commits into
python:mainfrom
rgommers:cleanup-more-outdated-stuff
Open

rgommers wants to merge 7 commits into
python:mainfrom
rgommers:cleanup-more-outdated-stuff

Conversation

@rgommers

@rgommers rgommers commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Part of #2170. After this PR, all of the most clearly outdated content under Discussions as well as under the Building and Publishing part of Guides will be cleaned up.

  • Deploying Python applications: remove an unfinished page consisting largely of placeholders and dated tool descriptions.
  • Is setup.py deprecated?: replace detailed setuptools-specific guidance with a short clarification and links to upstream documentation; kept as an orphan.
  • Package Formats: “What about eggs?”: remove the historical wheel-versus-egg comparison (eggs are obsolete).
  • install_requires vs requirements files: remove guidance predating pyproject.toml; keep an orphan stub with forward links.
  • Dropping support for older Python versions: remove dated Python 2 and universal-wheel guidance. Redirect to the "Writing your pyproject.toml" guide, which already explains requires-python.
  • How to modernize a setup.py based project?: remove setuptools-specific migration guidance in favor of its upstream documentation; keep an orphan stub.

AI usage disclosure

All main edits made by hand, used Codex Sol 6.1 to fix up cross-links and other reST plumbing.


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

This was marked as incomplete in 2021, contains almost nothing
except a few tool descriptions. It overlaps with the
"Overview of Python Packaging" page as well, which covers
this topic reasonably well in its overview of deployment
modes.
This is by now outdated setuptools-specific content, which is best
left to the setuptools docs rather than the Packaging Guide (xref
issue 2170).  This may have enough incoming links that it's useful
to leave as an orphan page for now.
This is outdated content that we decided to clean up, see issue 2170.
It's referenced regularly as noted on that issue, so keep a stub
with forward links to replacement content as an orphan page.
This is not-very-useful boilerplate, and it's incomplete at that.
This page was done, and is still up to date.
This content was all obsolete, this is now a single
`requires-python` one-liner which is covered in the
"Writing your pyproject.toml" guide.
See issue 2170. Leave as an orphan and redirect to the relevant
setuptools documentation page.
@rgommers rgommers added the type: maintenance Regular maintenance of the guide, CI and repo label Nov 27, 2026
@henryiii

Copy link
Copy Markdown
Contributor

Good:

  • Deploying: sad to see this go, guidance here would be nice. But this page is too far gone to salvage, and I think this is still a shaky part of the ecosystem.
  • Install vs requirements: Sounds fine, more discussions of application requirements (lock files, etc) vs library requirements might make sense, but this page is outdated. Maybe we can bring it back one day. I like that it's just orphaned for now.
  • Ooh, eggs vs. wheels.
  • Dropping versions: yeah, this one is dated. Good redirect.

Maybe pushback:

  • The replacements for setup.py commands is something people are still running into. I'd be biased to leave this one for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Regular maintenance of the guide, CI and repo

2 participants