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 11 forks source link

Run Python 3.13 testbank #559

Open veenstrajelmer opened 1 year ago

veenstrajelmer commented 1 year ago

First pre-release is available at the end of October according to https://peps.python.org/pep-0719/#schedule, final in October 2024:

Github available versions: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Testbank fails because of:

If py3.13 testbank is green:

For future reference: https://scientific-python.org/specs/spec-0000/

rgommers commented 4 months ago

Hi, I noticed this from an incoming link on a scipy issue. I just wanted to point out that there are numpy and scipy nightlies at https://anaconda.org/scientific-python-nightly-wheels/numpy/ and https://anaconda.org/scientific-python-nightly-wheels/scipy/. You should use those if you want 3.13 support without having to build from source. And never build releases from PyPI for a future Python version; build from main instead if you do choose to build from source.

veenstrajelmer commented 4 months ago

Hi @rgommers thanks for the heads up. I read something like that indeed, but I am not in a hurry. This issue is just meant to track the development of Python 3.13 support of the dfm_tools dependencies. Every now and then I run the testbank to see if it can already install all dependencies or not (with released versions). Once it can install without issues, I will check if all tests pass and then add 3.13 to the supported versions in the pyproject.toml.

Also I enjoy following the discussion on numpy/scipy boards, since it seems to be quite a thing to add 3.13 support. Thanks for all the hard work!