Skip to content

Commit 7a1f3ab

Browse files
committed
Add patch for MarkupSafe
1 parent 4f983af commit 7a1f3ab

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From b1c948a07cfe2ffbb5e0954f0ee87dddd78e63ab Mon Sep 17 00:00:00 2001
2+
From: Michael Simacek <[email protected]>
3+
Date: Tue, 18 Jan 2022 15:54:16 +0100
4+
Subject: [PATCH] Adapt for GraalPython
5+
6+
---
7+
setup.py | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/setup.py b/setup.py
11+
index c6ee5bf..b398be9 100644
12+
--- a/setup.py
13+
+++ b/setup.py
14+
@@ -52,7 +52,7 @@ def show_message(*lines):
15+
print("=" * 74)
16+
17+
18+
-supports_speedups = platform.python_implementation() not in {"PyPy", "Jython"}
19+
+supports_speedups = platform.python_implementation() not in {"PyPy", "Jython", "GraalVM"}
20+
21+
if os.environ.get("CIBUILDWHEEL", "0") == "1" and supports_speedups:
22+
run_setup(True)
23+
--
24+
2.31.1
25+

0 commit comments

Comments
 (0)