ImperialCollegeLondon / ImperialCollegeLondon/sharpy
Incompatibility with NumPy >=v2.0 and SciPy >=v1.14
- Dominant language
- Python
- Stars
- 191
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
NumPy 2.0 has been released, which depreciates many functions that have been used in SHARPy. This now causes many unit tests to fail, and there is also a corresponding SciPy version which presents issues. These all show up as warnings in previous versions. A temporary fix https://github.com/ImperialCollegeLondon/sharpy/pull/292 sets an upper ceiling on the versions which can be used (was previously set to use latest).
We aim to update the code so that we don't need this limit, as it will cause incompatibilities with new packages which use features from v2.0.
Contributor guide
Research direction
Start by reviewing the temporary version ceiling in pull request #292 and the unit-test failures caused by NumPy 2.0 and SciPy 1.14. Trace each deprecated function reported by the tests; done means the code works without the upper version limit and the affected unit tests pass with the newer dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- backend, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100