docs: remove references to removed setup_install_args#23055
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Homebrew’s Python documentation to remove references to the removed Language::Python.setup_install_args helper and modernize guidance around pip/pyproject.toml packaging.
Changes:
- Removes outdated
setup.py/easy_install-era guidance and references tosetup_install_args. - Updates examples and wording to reflect current
pip/std_pip_argsusage. - Replaces a large historical “rabbit hole” section with a shorter “Historical context” summary.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/Python-for-Formula-Authors.md | Removes setup_install_args discussion and rewrites packaging history/context. |
| docs/Homebrew-and-Python.md | Removes python3 setup.py install mention; keeps guidance focused on pip. |
| docs/Formula-Cookbook.md | Updates the Python resource install example to use pip/std_pip_args. |
| docs/Common-Issues.md | Removes obsolete easy-install.pth linking issue section and its outdated remediation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
carlocab
approved these changes
Jul 11, 2026
p-linnane
approved these changes
Jul 11, 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?Gemini 3.5 Flash provided some feedback on how best to organize the new historical context section
Language::Python.setup_install_argswas completely removed in 6.0 and replaced bystd_pip_args. Our docs were lagging behind, so this updates them accordingly.Common-Issues.md: Removed the entireeasy-install.pthsection, which is no longer relevant aseasy_installis long goneHomebrew-and-Python.md: Removed thesetup.py installreference as this shouldn't be used anymorePython-for-Formula-Authors.md: Removed a lot of cruft that was added way back in 2014 to explainsetup.py-related idiosyncrasies that are no longer relevant in today'spyproject.tomlworld. Instead, I just briefly summarized the transition fromsetup.pytopipbut maybe that's not even useful here, not sure