Deltares / HYDROLIB

Python tools for modelling workflows using D-HYDRO Suite.
https://deltares.github.io/HYDROLIB/
GNU Lesser General Public License v3.0
23 stars 7 forks source link

Move from caret requirements to minimal requirements #169

Open veenstrajelmer opened 1 year ago

veenstrajelmer commented 1 year ago

The caret requirements in pyproject.toml are fixed to quite old versions causing for instance HYDROLIB not to work with pandas 2.0.0 (pandas>1.2). Within hatyan, we would like to move to pandas>2.0.0 which now causes conflicting dependencies.

Could the requirement for pandas be converted from caret to minimal? This might also be beneficial for other packages. Xarray for instance uses a different type of version numbering since March 2022. The version numbers now start with the year of release: 2022.03.0. These versions are now all not compatible with HYDROLIB.

Usecase: pandas = "^1.2" in pyproject.toml means pandas>=1.2 and pandas<2. More details: https://python-poetry.org/docs/dependency-specification/#caret-requirements