Skip to content

Commit 156644d

Browse files
committed
Add GraalPy repository as default extra index
1 parent dea70a0 commit 156644d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

graalpython/lib-graalpython/patches/pip/pip-23.2.1.patch

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,20 @@ index 6633ef7..d7c21db 100644
1010
+
1111
+__GRAALPY_PATCHED = True
1212
diff --git a/pip/_internal/cli/cmdoptions.py b/pip/_internal/cli/cmdoptions.py
13-
index 02ba608..a3bba70 100644
13+
index 02ba608..85c7c22 100644
1414
--- a/pip/_internal/cli/cmdoptions.py
1515
+++ b/pip/_internal/cli/cmdoptions.py
16-
@@ -892,7 +892,7 @@ disable_pip_version_check: Callable[..., Option] = partial(
16+
@@ -357,7 +357,8 @@ def extra_index_url() -> Option:
17+
dest="extra_index_urls",
18+
metavar="URL",
19+
action="append",
20+
- default=[],
21+
+ # GraalPy change: add default extra index with our prebuilt binaries
22+
+ default=["https://www.graalvm.org/python/wheels/"],
23+
help="Extra URLs of package indexes to use in addition to "
24+
"--index-url. Should follow the same rules as "
25+
"--index-url.",
26+
@@ -892,7 +893,7 @@ disable_pip_version_check: Callable[..., Option] = partial(
1727
"--disable-pip-version-check",
1828
dest="disable_pip_version_check",
1929
action="store_true",

0 commit comments

Comments
 (0)