Skip to content

Commit 0d33774

Browse files
committed
Use wildcard in legacy patch version spec
1 parent e82dc6e commit 0d33774

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/lib-graalpython/patches/pip/whl/pip-22.2.2.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ index 1af8978..15fee7f 100644
5858
# file in .data maps to same location as file in wheel root).
5959
diff --git a/pip/_internal/utils/graalpy.py b/pip/_internal/utils/graalpy.py
6060
new file mode 100644
61-
index 0000000..179c213
61+
index 0000000..b8e849b
6262
--- /dev/null
6363
+++ b/pip/_internal/utils/graalpy.py
6464
@@ -0,0 +1,189 @@
@@ -118,7 +118,7 @@ index 0000000..179c213
118118
+ })
119119
+ elif (version := file.stem.removeprefix(f'{denormalized_name}-')) != file.stem:
120120
+ metadata['rules'].append({
121-
+ 'version': f'== {version}',
121+
+ 'version': f'== {version}.*',
122122
+ 'patch': file,
123123
+ 'type': dist_type,
124124
+ })

0 commit comments

Comments
 (0)