mirror of
https://github.com/openwrt/packages.git
synced 2026-06-14 01:22:11 +08:00
eee273507b
Packaging pip from a separate source package allows it to stay updated with upstream. Host pip will remain installed as part of python3. Host pip is used in a much more controlled way and so is less critical for it to track upstream. This also removes the python-pip-conf package and installs the pip.conf file as part of python3-pip. The patch 003-disable-pip-version-check.patch is originally from Debian: https://salsa.debian.org/python-team/packages/python-pip/-/blob/bb079efb8c6dd2c284eee94cf90e61bce19a6f73/debian/patches/disable-pip-version-check.patch pip was in a separate source package that was removed in a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that earlier package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
14 lines
577 B
Diff
14 lines
577 B
Diff
--- a/src/pip/_vendor/pyproject_hooks/_in_process/__init__.py
|
|
+++ b/src/pip/_vendor/pyproject_hooks/_in_process/__init__.py
|
|
@@ -11,8 +11,8 @@ try:
|
|
except AttributeError:
|
|
# Python 3.8 compatibility
|
|
def _in_proc_script_path():
|
|
- return resources.path(__package__, '_in_process.py')
|
|
+ return resources.path(__package__, '_in_process.pyc')
|
|
else:
|
|
def _in_proc_script_path():
|
|
return resources.as_file(
|
|
- resources.files(__package__).joinpath('_in_process.py'))
|
|
+ resources.files(__package__).joinpath('_in_process.pyc'))
|