Skip to content

Drop Python 3.8 and 3.9 support; add Python 3.14 to tests - #5883

Open
KoolADE85 wants to merge 3 commits into
mainfrom
chore/drop-python-38-39
Open

KoolADE85 wants to merge 3 commits into
mainfrom
chore/drop-python-38-39

Conversation

@KoolADE85

Copy link
Copy Markdown
Contributor

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:

@camdecoster camdecoster self-assigned this Nov 16, 2026
test-optional:
name: Optional tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a comment stating why this is necessary and maybe a TODO to switch back to ubuntu-latest in the future?

Comment thread CHANGELOG.md
- 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)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 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)]

Comment thread doc/requirements.txt
scikit-learn
scipy==1.9.1
setuptools<=81
# geopandas pin also requires a transitive dependency pin for python>=3.10

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you clarify this comment? I'm confused as to what you mean.

Comment thread pyproject.toml
Comment on lines +52 to +54
"matplotlib",
"contourpy>=1.3.3; python_version>='3.14'",
"kiwisolver>=1.4.9"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this change required?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants