Repository navigation
Drop Python 3.8 and 3.9 support; add Python 3.14 to tests - #5883
Conversation
| test-optional: | ||
| name: Optional tests (Python ${{ matrix.python-version }}) | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 |
There was a problem hiding this comment.
Could you add a comment stating why this is necessary and maybe a TODO to switch back to ubuntu-latest in the future?
| - Fix color utilities mutating the list of colors passed to them [[#5836](https://github.com/plotly/plotly.py/pull/5836)], with thanks to @Enesuygurs for the contribution! | ||
|
|
||
| ### Updated | ||
| - Removed Python 3.8 and Python 3.9 support. plotly.py now requires Python 3.10 or later [[#5883](https://github.com/plotly/plotly.py/pull/5883)] |
There was a problem hiding this comment.
| - Removed Python 3.8 and Python 3.9 support. plotly.py now requires Python 3.10 or later [[#5883](https://github.com/plotly/plotly.py/pull/5883)] | |
| - Remove Python 3.8 and Python 3.9 support. plotly.py now requires Python 3.10 or later. [[#5883](https://github.com/plotly/plotly.py/pull/5883)] |
| scikit-learn | ||
| scipy==1.9.1 | ||
| setuptools<=81 | ||
| # geopandas pin also requires a transitive dependency pin for python>=3.10 |
There was a problem hiding this comment.
Could you clarify this comment? I'm confused as to what you mean.
There was a problem hiding this comment.
Extra detail that probably doesn't belong in the comment: geopandas in this version didn't pin its own shapely dep so shapely resolves to a newer version that removes this method.
We were protected from this previously, because newer shapely packages drop support for Python 3.9. Our CI jobs used python 3.9 and it automatically selected the older, compatible version. Our dropping of python3.9 allows the newer version to be pulled in, which breaks geopandas.
| "matplotlib", | ||
| "contourpy>=1.3.3; python_version>='3.14'", | ||
| "kiwisolver>=1.4.9" |
There was a problem hiding this comment.
Why was this change required?
There was a problem hiding this comment.
I added a comment with the explanation.
This PR drops python 3.8 and 3.9 support.
The test matrices are updated accordingly.
This unblocks the dependabot updates that need Python 3.10 or later: