Skip to content

Commit

Permalink
Merge pull request #278 from msimacek/main
Browse files Browse the repository at this point in the history
Disable speedups for GraalPython
  • Loading branch information
davidism committed Feb 16, 2022
2 parents 254f5c7 + aae7d82 commit 6c17ee8
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 6c17ee8

Please sign in to comment.