Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-80789: Get rid of theensurepip 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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes from1 commit
Commits
Show all changes
15 commits
Select commitHold shift + click to select a range
c32777f
Get rid of the ``ensurepip`` infra for many wheels
webknjazSep 10, 2023
d6e51b2
Rename `_find_packages` to `_get_replacement_pip_package`
webknjazSep 15, 2023
5c3bd26
Remove changelog entry
AA-TurnerSep 16, 2023
96b8b9e
Simplify WHEEL_PKG_DIR search
AA-TurnerSep 16, 2023
7b04736
Simplify the pip wheel info
AA-TurnerSep 16, 2023
f3a49c2
Use `pathlib` in `ensurepip` internally
webknjazOct 11, 2023
3d7ee78
Drop `os.fsencode` from wheel path preprocessing
webknjazOct 11, 2023
72b8ebe
Update replaced `_get_pip_whl_path_ctx` references
webknjazOct 11, 2023
0d94ec9
Drop looping from the wheel verification script
webknjazOct 12, 2023
5c97cda
Multiline complex wheel path conditional
webknjazOct 15, 2023
bce6e3a
Drag the wheel path object through `os.fsdecode`
webknjazOct 15, 2023
50efc2a
Use `None`-sentinel for missing alternative wheel
webknjazOct 15, 2023
865c41f
Un-f-string alternative wheel path glob
webknjazOct 15, 2023
2472d87
Melt the second wheel lookup error into sentinel
webknjazOct 15, 2023
da1ae79
Merge branch 'main' into maintenance/ensurepip-single-wheel
pradyunsgJan 29, 2024
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
PrevPrevious commit
NextNext commit
Multiline complex wheel path conditional
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
  • Loading branch information
@webknjaz@pradyunsg
webknjaz andpradyunsg committedJan 25, 2024
commit5c97cda21a4d94539ec441477302c33324ac7e57
7 changes: 4 additions & 3 deletionsLib/ensurepip/__init__.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,9 +16,10 @@
# policies recommend against bundling dependencies. For example, Fedora
# installs wheel packages in the /usr/share/python-wheels/ directory and don't
# install the ensurepip._bundled package.
_WHEEL_PKG_DIR = (
whl_pkg_dir_str := sysconfig.get_config_var('WHEEL_PKG_DIR')
) is not None and Path(whl_pkg_dir_str).resolve() or None
if (_pkg_dir := sysconfig.get_config_var('WHEEL_PKG_DIR')) is not None:
_WHEEL_PKG_DIR = Path(_pkg_dir).resolve()
else:
_WHEEL_PKG_DIR = None


def _find_wheel_pkg_dir_pip():
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp