Deltares / dfm_tools

A Python package for pre- and postprocessing D-Flow FM model input and output files
https://deltares.github.io/dfm_tools/
GNU General Public License v3.0
70 stars 12 forks source link

Increase minimal copernicusmarine version #692

Closed veenstrajelmer closed 9 months ago

veenstrajelmer commented 11 months ago

Was added in https://github.com/Deltares/dfm_tools/issues/630

Remaining issues with copernicus-marine-client >> copernicusmarine:

Requirements from METADATA at 8-2-2024 (copernicusmarine 1.0.1):

Requires-Dist: aiohttp (>=3.8.5)
Requires-Dist: boto3 (>=1.25)
Requires-Dist: cachier (>=2.2.1)
Requires-Dist: click (>=8.0.4)
Requires-Dist: dask (>=2022)
Requires-Dist: lxml (>=4.9.0)
Requires-Dist: motuclient (>=1.8.4)
Requires-Dist: nest-asyncio (>=1.5.8)
Requires-Dist: netCDF4 (>=1.5.4)
Requires-Dist: pydap (>=3.2.2)
Requires-Dist: pystac (>=1.8.3)
Requires-Dist: requests (>=2.27.1)
Requires-Dist: semver (>=3.0.2)
Requires-Dist: setuptools (>=68.2.2)
Requires-Dist: tqdm (>=4.65.0)
Requires-Dist: xarray (>=2023.4.0)
Requires-Dist: zarr (>=2.13.3)

update 25-1-2024: a new toolbox was launched called copernicusmarine instead of copernicus-marine-client. Update to this.

Follow-up issue: https://github.com/Deltares/dfm_tools/issues/773 and https://github.com/Deltares/dfm_tools/issues/811

dbazin-eo commented 11 months ago

@veenstrajelmer please note a status about the following:

We keep in touch 🙏

veenstrajelmer commented 11 months ago

Thanks @dbazin-eo for sharing this progress. I have one additional remark about the py312 support. I was indeed aware that there were several dependencies not yet supporting py312 (keeping track for dfm_tools in https://github.com/Deltares/dfm_tools/issues/551 and I think the last one will be finished very soon). However, as far as I understood the copernicus-marine-client pyproject.toml also contains python = ">=3.9, <3.12" which might prevent installation in a py312 environment even after the last dependency supports py312. Could this be updated to python = ">=3.9"? I read here that adding an upper cap on the python version is not recommended also. However, this might be outdated information, I do not have access to the current pyproject.toml.

dbazin-eo commented 11 months ago

thanks @veenstrajelmer 🙏 please do not worry, the pyproject.toml will be updated in due time. There were too many users reporting issues with python = ">=3.9" so we had to modify it to python = ">=3.9, <3.12" as a mitigating (and temporary) action, while dependencies such as multidict, are still NOK. For the "^" issue, it is already flagged and work is in progress thanks to [CMCD-350]. thanks a lot for your question, we keep in touch

veenstrajelmer commented 11 months ago

Great @dbazin-eo, thanks for the clarifications. Sounds good to me. Thanks also for the useful pyreadiness website.

veenstrajelmer commented 10 months ago

@dbazin-eo I see there are new releases for cmc. Could you let me know if any of the open questions in this issue were tackled and could you please share the [tool.poetry.dependencies] for cmc 0.10.6? Thanks!