pyscript capability
- Dominant language
- Python
- Stars
- 35
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
I'm starting a dedicated thread here:
I am getting an error when I import caeroc directly.
Its about `Can't find a pure Python 3 wheel for: 'numpy<2,>=1.21'`
I think this is defined in the caeroc packaging:
- pyproject.toml in the dependencies section.
- also in uv.lock where the version 1.2.6 is specifically mentioned
- Alas I have no idea how uv.lock works... :(
I am not sure why pyodide is not handling it but I wonder if there is a way to specifiy it so we can get it to work.
- perhaps pick a specific numpy version that pyodide has a version for,
- or possibly move to numpy 2 ?
- Here is the migration guide. https://numpy.org/devdocs/numpy_2_0_migration_guide.html
- https://www.datacamp.com/tutorial/numpy-2-release
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the direct caeroc import error, then inspect the dependency sections in pyproject.toml and the numpy entry in uv.lock. Check which numpy version is available as a pure Python 3 wheel for the Pyodide environment and update the packaging metadata accordingly. Done means direct import no longer fails because of the numpy dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100