-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
GH-80789: Bundle ensurepip
wheels at build time
#109130
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
Changes from 1 commit
0d8c94f
c2c9a55
76de0b8
252ee8e
800c487
4f0b3a2
0aaf135
a163396
ccaad2d
db6f0db
8fae12a
161f304
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Replaced vendored ``pip`` wheels for :mod:`ensurepip` with a new bundler script, | ||
:file:`Tools/build/verify_ensurepip_wheels.py`, to be run by distributors. | ||
:file:`Tools/build/bundle_ensurepip_wheels.py`, to be run by distributors. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
Download wheels for :mod:`ensurepip` packages from the Cheeseshop. | ||
Download wheels for 'ensurepip' packages from PyPI. | ||
|
||
When GitHub Actions executes the script, output is formatted accordingly. | ||
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-a-notice-message | ||
|
@@ -42,7 +42,7 @@ def download_wheels() -> int: | |
try: | ||
projects = _get_projects() | ||
except (AttributeError, TypeError): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think there's an abstraction leak here: it's hard to guess from looking at the |
||
print_error("Could not find '_PROJECTS' in {ENSURE_PIP_INIT}.") | ||
print_error(f"Could not find '_PROJECTS' in {ENSURE_PIP_INIT}.") | ||
return 1 | ||
|
||
errors = 0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would probably be clearer: