Update Python versions#396
Conversation
|
I was wondering, given the plan to eventually replace Unions with "|", does it make sense to support anything below 3.10 (which are also end-of-life)? Should we deprecate 3.8 and 3.9 instead of adding 3.7? To clarify, I am perfectly fine with deferring the deprecation at later stage and adding 3.7 as long as we officially support it. |
|
There are actually some incompatibilities with scipy and matplotlib in Python 3.7. Thus, the minimum version should be 3.8 at the moment. Reducing the test matrix to 3.8 and 3.14 should be fine and avoids wasting resources on unnecessary tests. Before changing the the Union type syntax to |
| fail-fast: false | ||
| matrix: | ||
| python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
| python-version: ["3.8", "3.14"] |
There was a problem hiding this comment.
The python-version defines Python 3.8 and 3.14 jobs, but the workflow did not use version for python setup.
The current implementation will run both jobs using the default Python from ubuntu-latest.
For example, if the current ubuntu-latest image version is 24.04, the default python version is Python 3.12.
Fixes #393