aquacropos / aquacrop

AquaCrop-OSPy: Python implementation of AquaCrop-OS
https://aquacropos.github.io/aquacrop/
Apache License 2.0
94 stars 66 forks source link

Installation fails with Python 3.12+ #166

Open fer-rum opened 1 month ago

fer-rum commented 1 month ago

Since distutils has been removed in Python 3.12, installing the package with it is no longer possible.

distutils has been deprecated since Python 3.10 and is superseded by setuptools. (See PEP 632)

The phasing out of distutils should be done by mid-2025 since Python 3.9 then goes end-of-life.

tfoster88 commented 1 month ago

Thanks @fer-rum for flagging this issue. We will work on a fix to this over the coming weeks so that the model works with most recent versions of Python. In the meantime, I'd suggest using Python 3.9 (or 3.10 should also work) as a temporary fix. Thanks for patience while we work to update things.