File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11v0.7.2 (unreleased):
22
3- - ...
3+ - Fix building on non-CPython implementations like PyPy. (#341)
44
55v0.7.1 (released June 30, 2025):
66
Original file line number Diff line number Diff line change 77Unreleased
88(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.7.1...main >`__):
99
10- - ...
10+ - Fix building on non-CPython implementations like PyPy.
11+ (`#341 <https://github.com/earwig/mwparserfromhell/issues/341 >`_)
1112
1213v0.7.1
1314------
Original file line number Diff line number Diff line change 2424
2525import glob
2626import os
27+ import platform
2728import sys
2829from enum import Enum
2930
@@ -63,8 +64,10 @@ class UseExtension(Enum):
6364 f"Unknown value for $WITHOUT_EXTENSION; should be '1', or '0', "
6465 f"but found { value !r} "
6566 )
66- else :
67+ elif platform . python_implementation () == "CPython" :
6768 use_extension = UseExtension .REQUIRED
69+ else :
70+ use_extension = UseExtension .IGNORED
6871
6972if use_extension == UseExtension .IGNORED :
7073 ext_modules = []
You can’t perform that action at this time.
0 commit comments