flopy icon indicating copy to clipboard operation
flopy copied to clipboard

chore: support python 3.13

Open mwtoews opened this issue 1 year ago • 1 comments

Python 3.13 was recently released, which works fine with most of flopy's functionality.

Only VTK (and PyVista) does not yet support Python 3.13 from PyPI, as specified with conditional expressions. All package combinations for Python 3.13 are available for conda-forge.

mwtoews avatar Oct 21 '24 00:10 mwtoews

Further checks with conda-forge reveal that not all packages have yet been built for Python 3.13. For instance, shapely and pymetis are not yet available. Thus testing has been removed for now. For reference, use this doc to try and install Python and packages for 3.13.

Nevertheless, local testing on linux works with this PR for PyPI using pip install -e .[test,optional] which installs everything except VTK and PyVista.

mwtoews avatar Oct 21 '24 01:10 mwtoews

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.2%. Comparing base (332a310) to head (ffed180). Report is 1 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop   #2341     +/-   ##
=========================================
- Coverage     74.2%   74.2%   -0.1%     
=========================================
  Files          292     292             
  Lines        59685   59685             
=========================================
- Hits         44335   44334      -1     
- Misses       15350   15351      +1     

see 7 files with indirect coverage changes

codecov[bot] avatar Oct 21 '24 14:10 codecov[bot]

I thought we were out of the woods w.r.t. to the recent micromamba/windows issue but evidently not. I will merge anyway.

wpbonelli avatar Oct 21 '24 15:10 wpbonelli