Volue-Public / energy-mesh-python

A Python API able to communicate with Volue Energy's Mesh server.
Other
10 stars 0 forks source link

Python 3.12 support #413

Closed tnoczyns-volue closed 7 months ago

tnoczyns-volue commented 7 months ago

Support Python 3.12. Drop Python 3.8.

tnoczyns-volue commented 7 months ago

TL:DR

Support for Python 3.12 is doable 😄 More info below.

Windows - user

Works out of the box.

Ubuntu (20.04) - user

Needed to use updated:

Windows - developer

Problem with Numpy. With Python>=3.8 set in package target versions, Numpy max version 1.24.4 is installed. It does not support Python 3.12.

Two possible solutions:

[^1]: Assuming support for Python 3.12 is required by some customer.

tnoczyns-volue commented 7 months ago

After discussion with @torsannes we are going with option number 1:

Release Mesh Python SDK 1.5 version with current changes, without explicit Python 3.12 support and add Python 3.8 deprecation warning. Then remove support for Python 3.8, add Python 3.12, and immediately release 1.6.

BTW Python 3.8 end-of-life is scheduled for October 2024. See: https://devguide.python.org/versions/#supported-versions.