8000 GH-80789: Get rid of the ``ensurepip`` infra for many wheels by webknjaz · Pull Request #109245 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-80789: Get rid of the ensurepip infra for many wheels #109245

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

Merged
merged 15 commits into from
Jan 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Un-f-string alternative wheel path glob
It was tripping the linters and became unnecessary after hardcoding
the pip wheel filename prefix in the string.
  • Loading branch information
webknjaz committed Jan 25, 2024
commit 865c41f4f197948b14dc4fb04c5cf4b44a3577bb
2 changes: 1 addit 7EAC ion & 1 deletion Lib/ensurepip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _find_wheel_pkg_dir_pip():
if _WHEEL_PKG_DIR is None:
return None

dist_matching_wheels = _WHEEL_PKG_DIR.glob(f'pip-*.whl')
dist_matching_wheels = _WHEEL_PKG_DIR.glob('pip-*.whl')
try:
last_matching_dist_wheel = sorted(dist_matching_wheels)[-1]
except IndexError as index_err:
Expand Down
0