mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 18:11:21 +00:00
python3: Split pip into separate source package
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:bb079efb8c/debian/patches/disable-pip-version-check.patchpip 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> (cherry picked from commiteee273507b)
This commit is contained in:
11
lang/python/python-pip/patches/002-pip-runner-pyc-fix.patch
Normal file
11
lang/python/python-pip/patches/002-pip-runner-pyc-fix.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/src/pip/_internal/build_env.py
|
||||
+++ b/src/pip/_internal/build_env.py
|
||||
@@ -54,7 +54,7 @@ def get_runnable_pip() -> str:
|
||||
# case, we can use that directly.
|
||||
return str(source)
|
||||
|
||||
- return os.fsdecode(source / "__pip-runner__.py")
|
||||
+ return os.fsdecode(source / "__pip-runner__.pyc")
|
||||
|
||||
|
||||
def _get_system_sitepackages() -> Set[str]:
|
||||
Reference in New Issue
Block a user