mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 10:17:17 +04:00
Refresh sha256 from the PyPI sdist and refresh 003 for the shifted line. Retarget 002-pip-runner-pyc-fix.patch instead of dropping it: in 26.2.1 get_runnable_pip() moved from build_env.py (now a package) to _internal/utils/misc.py. The function is otherwise unchanged and still returns __pip-runner__.py, so the .pyc fallback is still required. We ship pip byte-compiled only (the .py sources live in the -src package), so without it build isolation cannot locate the runner and every PEP 517 install fails on target. This is a packaging workaround, not an upstream bug, so upstream has no reason to carry it. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
22 lines
781 B
Diff
22 lines
781 B
Diff
From d810d559de43b36f1f8c470350f8ad88118269bb Mon Sep 17 00:00:00 2001
|
|
From: Barry Warsaw <barry@python.org>
|
|
Date: Fri, 18 Nov 2016 17:07:47 -0500
|
|
Subject: Set --disable-pip-version-check=True by default.
|
|
|
|
Patch-Name: disable-pip-version-check.patch
|
|
---
|
|
src/pip/_internal/cli/cmdoptions.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/src/pip/_internal/cli/cmdoptions.py
|
|
+++ b/src/pip/_internal/cli/cmdoptions.py
|
|
@@ -1197,7 +1197,7 @@ disable_pip_version_check: Callable[...,
|
|
"--disable-pip-version-check",
|
|
dest="disable_pip_version_check",
|
|
action="store_true",
|
|
- default=False,
|
|
+ default=True,
|
|
help="Don't periodically check PyPI to determine whether a new version "
|
|
"of pip is available for download. Implied with --no-index.",
|
|
)
|