Pin Hypothesis to pure-Python version; drop Pyodide 3.12; add Pyodide 3.14 - #282
Merged
Conversation
Newer versions are not pure-Python, and their binary wheels are not provided for PyPy 3.10.
Owner
Author
|
Asking cibuildwheel to use the newest pure-Python version of Hypothesis does not work: [tool.cibuildwheel]
archs = ["auto64"]
build-verbosity = 1
enable = ["pypy", "pypy-eol"]
test-command = "pytest {package}"
test-requires = [
# Its newer versions are implemented using Rust, but no binary wheels are
# provided for PyPy 3.10.
"hypothesis<6.156.0",
"pytest",
]because Windows cannot parse it for some reason. + pip install 'C:\Users\runneradmin\AppData\Local\Temp\cibw-run-x5aaeqrh\cp310-win_amd64\repaired_wheel\pysorteddict-0.14.0-cp310-cp310-win_amd64.whl'
Processing C:\Users\runneradmin\AppData\Local\Temp\cibw-run-x5aaeqrh\cp310-win_amd64\repaired_wheel\pysorteddict-0.14.0-cp310-cp310-win_amd64.whl
Installing collected packages: pysorteddict
Successfully installed pysorteddict-0.14.0
+ pip install 'hypothesis<6.156.0' pytest
The system cannot find the file specified.I might as well drop support for PyPy 3.10. Python 3.10 will stop getting updates two months later, after all. |
This reverts commit dfb8a34. Building for EOL Pyodide causes the build for the next version to stop working.
Owner
Author
|
Specifying the exact Hypothesis version works. I had to upgrade the cibuildwheel version because the Pyodide build for Python 3.13 was failing with a permission error. However, this means I now get only Pyodide wheels for Python 3.13 and 3.14. Enabling the EOL 3.12 build causes the permission to come back in the Python 3.13 build. Mysterious, but not worth my time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restrict Hypothesis to the newest pure-Python version since binary wheels of newer versions are not provided for PyPy 3.10.