-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.13 is not supported #158
Comments
@veenstrajelmer Awesome! Thanks a lot for the work :D Let's keep tracking this! |
@renaudjester The issues with zarr are now fixed and netcdf4 will soon release python 3.13 wheels. After that, #159 is the only blocker for python 3.13 support I think. |
@renaudjester was it ever consider to use h5netcdf instead of netcdf4? I am just curious since there are some lingering issues in netcdf4-python that seem to stay unresolved and h5netcdf is developed close to xarray. |
It hasn't been evaluated no! Do you have any ideas about pros and cons? As far as I read h5netcdf should be as fast as netcdf4. I don't know about the installation and dependencies if there are a lot of differences 🤔 |
That is also what I heard, although I know of this bottleneck that can cause performance degradations in some cases: h5netcdf/h5netcdf#195. I cannot judge the cons to be honest. I am not sure what copernicusmarine uses from netcdf4-python, but I learned last week that h5netcdf has a legacy api to make transfering as smooth as possible: https://h5netcdf.org/legacyapi.html. Although I guess it is also not a big effort to move to their normal API, depending on how entangled it is in the code. This is only worthwhile of course if it would of course benefit the toolbox or indeed makes it easy to update to new python/dependency versions. |
netcdf4 1.7.2 was released very recently and supports python 3.13 and numpy 2.0 EDIT: netcdf4 released no python 3.13 wheels for windows |
@renaudjester I think all issues are resolved, there are also netcdf4 1.7.2 python 3.13 wheels available for windows now (actually already 1 day after 1.7.2 was released). I see that python 3.13 support was already added in #193. However, you could consider simplifying it again. Either way, I think this issue can be closed. |
@veenstrajelmer Yes I agree thanks for tracking this! :D python 3.13 should be supported on main right now |
When installing copernicusmarine with pip in a Python 3.13 environment, the installation fails:
Python 3.13 was released on 7 Oct. Would be great if it can be supported asap, although I realize at least:
<3.13
frompython = ">=3.9,<3.13"
pyproject.tomlThe text was updated successfully, but these errors were encountered: