Skip to content

Commit 8955a8b

Browse files
cosminbascatimfel
authored andcommitted
update meson/meson_python/ninja and wheel patches
1 parent 6085135 commit 8955a8b

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/mesonpy/__init__.py b/mesonpy/__init__.py
2+
index 3ea1325..47ba9ce 100644
3+
--- a/mesonpy/__init__.py
4+
+++ b/mesonpy/__init__.py
5+
@@ -109,7 +109,8 @@ _STYLES = _init_colors() # holds the color values, should be _COLORS or _NO_COL
6+
7+
_EXTENSION_SUFFIXES = frozenset(importlib.machinery.EXTENSION_SUFFIXES)
8+
_EXTENSION_SUFFIX_REGEX = re.compile(r'^\.(?:(?P<abi>[^.]+)\.)?(?:so|pyd|dll)$')
9+
-assert all(re.match(_EXTENSION_SUFFIX_REGEX, x) for x in _EXTENSION_SUFFIXES)
10+
+if sys.implementation.name != 'graalpy':
11+
+ assert all(re.match(_EXTENSION_SUFFIX_REGEX, x) for x in _EXTENSION_SUFFIXES)
12+
13+
14+
def _showwarning(

0 commit comments

Comments
 (0)