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'
478478license = ' LGPL-2.0-or-later'
479479
480480[[pymongo .rules ]]
481+ version = " < 4.8.0"
481482patch = ' pymongo.patch'
482483license = ' Apache-2.0'
483484
485+ [[pymongo .rules ]]
486+ version = " >= 4.8.0"
487+ patch = ' pymongo-4.8.0.patch'
488+ license = ' Apache-2.0'
489+
484490[[pyOpenSSL .rules ]]
485491# Pin this version to avoid pulling newer cryptography than we have patch for
486492version = " == 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
22index a711e24..84d3aea 100644
33--- a/setup.py
44+++ 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 @@
96- elif sys.platform.startswith("java") or sys.platform == "cli" or "PyPy" in sys.version:
107+ 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