Skip to content

Commit a219d9f

Browse files
committed
Add patch for pymongo
1 parent 92e5efa commit a219d9f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[[rules]]
2+
patch = 'pymongo.patch'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/setup.py b/setup.py
2+
index a711e24..84d3aea 100644
3+
--- a/setup.py
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 = []
9+
-elif sys.platform.startswith("java") or sys.platform == "cli" or "PyPy" in sys.version:
10+
+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

0 commit comments

Comments
 (0)