Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pypi_formula_mappings: extra_packages for python@X #153077

Merged
merged 3 commits into from
Nov 1, 2023

Conversation

woodruffw
Copy link
Member

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

I'm not 100% confident that this is the "right" way to do things, but this should address cases like #153070 and #153069 -- when python@X is bumped these resources appear to be required, so we mark them as such in the PyPI formula mapping.

Signed-off-by: William Woodruff <william@yossarian.net>
@github-actions github-actions bot added the automerge-skip `brew pr-automerge` will skip this pull request label Nov 1, 2023
@woodruffw
Copy link
Member Author

CC @chenrui333 for opinions 🙂

Comment on lines 847 to 864
"python@3.7": {
"extra_packages": ["setuptools", "pip", "wheel"]
},
"python@3.8": {
"extra_packages": ["setuptools", "pip", "wheel"]
},
"python@3.9": {
"extra_packages": ["setuptools", "pip", "wheel"]
},
"python@3.10": {
"extra_packages": ["setuptools", "pip", "wheel"]
},
"python@3.11": {
"extra_packages": ["setuptools", "pip", "wheel"]
},
"python@3.12": {
"extra_packages": ["setuptools", "pip", "wheel"]
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you also need flit-core

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also leave out 3.7 since it's end of life and disabled.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you also need flit-core

I saw that in some of the versions but not others; do you know where it came from? AFAICT Python itself doesn't use flit-core anywhere in its build.

Copy link
Member

@chenrui333 chenrui333 Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chenrui333 chenrui333 added the CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI. label Nov 1, 2023
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw
Copy link
Member Author

Added flit-core, dropped 3.7 from mapping.

@p-linnane
Copy link
Member

@woodruffw 3.8 does not need flit-core, but good to merge this otherwise.

Not needed.

Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw
Copy link
Member Author

@woodruffw 3.8 does not need flit-core, but good to merge this otherwise.

Dropped, thank you!

Copy link
Member

@p-linnane p-linnane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@woodruffw Thanks!

@p-linnane p-linnane added this pull request to the merge queue Nov 1, 2023
Merged via the queue into Homebrew:master with commit 8771ad1 Nov 1, 2023
14 checks passed
@woodruffw woodruffw deleted the ww/pypi-mapping-python branch November 2, 2023 01:19
@github-actions github-actions bot added the outdated PR was locked due to age label Dec 11, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge-skip `brew pr-automerge` will skip this pull request CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants