Skip to content

Commit

Permalink
disable speedups for GraalPython
Browse files Browse the repository at this point in the history
  • Loading branch information
msimacek authored and davidism committed Feb 16, 2022
1 parent 254f5c7 commit aae7d82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased
``soft_str`` instead. :pr:`261`
- Raise error on missing single placeholder during string
interpolation. :issue:`225`
- Disable speedups module for GraalPython. :issue:`277`


Version 2.0.1
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ def show_message(*lines):
print("=" * 74)


supports_speedups = platform.python_implementation() not in {"PyPy", "Jython"}
supports_speedups = platform.python_implementation() not in {
"PyPy",
"Jython",
"GraalVM",
}

if os.environ.get("CIBUILDWHEEL", "0") == "1" and supports_speedups:
run_setup(True)
Expand Down

0 comments on commit aae7d82

Please sign in to comment.