File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed
graalpython/lib-graalpython/patches Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -478,9 +478,15 @@ patch = 'pygame-2.patch'
478
478
license = ' LGPL-2.0-or-later'
479
479
480
480
[[pymongo .rules ]]
481
+ version = " < 4.8.0"
481
482
patch = ' pymongo.patch'
482
483
license = ' Apache-2.0'
483
484
485
+ [[pymongo .rules ]]
486
+ version = " >= 4.8.0"
487
+ patch = ' pymongo-4.8.0.patch'
488
+ license = ' Apache-2.0'
489
+
484
490
[[pyOpenSSL .rules ]]
485
491
# Pin this version to avoid pulling newer cryptography than we have patch for
486
492
version = " == 23.2.0"
Original file line number Diff line number Diff line change
1
+ diff --git a/_setup.py b/_setup.py
2
+ index a711e24..84d3aea 100644
3
+ --- a/_setup.py
4
+ +++ b/_setup.py
5
+ @@ -128,1 +128,1 @@
6
+ - elif sys.platform.startswith("java") or sys.platform == "cli" or "PyPy" in sys.version:
7
+ + elif sys.platform.startswith("java") or sys.platform == "cli" or "PyPy" in sys.version or sys.implementation.name == 'graalpy':
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ diff --git a/setup.py b/setup.py
2
2
index a711e24..84d3aea 100644
3
3
--- a/setup.py
4
4
+++ b/setup.py
5
- @@ -125,7 +125,7 @@ if "--no_ext" in sys.argv or os.environ.get("NO_EXT"):
6
- except ValueError:
7
- pass
8
- ext_modules = []
5
+ @@ -128,1 +128,1 @@
9
6
- elif sys.platform.startswith("java") or sys.platform == "cli" or "PyPy" in sys.version:
10
7
+ elif sys.platform.startswith("java") or sys.platform == "cli" or "PyPy" in sys.version or sys.implementation.name == 'graalpy':
11
- sys.stdout.write(
12
- """
13
- *****************************************************\n
You can’t perform that action at this time.
0 commit comments