Closed rbavery closed 2 years ago
Thanks Ryan,
Are these the right version requirements we want? I perform the checks above and it fails with this error:
ERROR: No matching distribution found for numpy>=1.22.0
Is requiring the latest version of numpy needed?
Also you set the numba requirement to numba==0.53.0 when the issue you pointed to says to use numba==0.55.0 https://github.com/numba/numba/issues/7339#issuecomment-997869862
Are these the right version requirements we want? I perform the checks above and it fails with this error:
ERROR: No matching distribution found for numpy>=1.22.0
Okay the issue was the github action required us to install python==3.6 which is why it couldnt find numpy=1.22.0. Also changed some other software versions to get the tests to pass: pathlib requires python<3.10 numba==0.55 requires numpy<1.22
Are you happy with these changes @rbavery ?
The pathlib library only gets used once to access a parent directory (in initialize.py) so will open a seperate pull request to change the code so we can drop that dependency.
@thomasdkelly ah, thanks a bunch for catching these issues. This looks good to merge.
This addresses an error when running the first notebook example locally from a fresh
pip install aquacrop
. I moved the requirements definition to setup.py so that the more specific requirements don't need to be parsed from settings.ini.The error is below: