Repository navigation
Drop Python 3.8 and 3.9 support; add Python 3.14 to tests #5883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -27,6 +27,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). | |||||
| - Fix `plotly.io.write_images` ignoring `layout.width`/`layout.height` (and the template's) and exporting every figure at the default 700x500 size; it now uses the same width/height priority as `write_image` and `to_image` [[#5784](https://github.com/plotly/plotly.py/pull/5784)], with thanks to @breken-ai for the contribution! | ||||||
| - 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)] | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
|
|
||||||
| ## [7.1.0] - 2026-09-15 | ||||||
|
|
||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,8 @@ jupyter | |
| jupyter-client<7 | ||
| jupytext==1.16.4 | ||
| kaleido | ||
| # narwhals>=2.27.0 raises a TypeError in our docs usage | ||
| narwhals==2.21.0 | ||
| nbconvert==5.6.1 | ||
| networkx==2.8.0 | ||
| notebook | ||
|
|
@@ -32,6 +34,8 @@ scikit-image==0.20.0 | |
| scikit-learn | ||
| scipy==1.9.1 | ||
| setuptools<=81 | ||
| # geopandas pin also requires a transitive dependency pin for python>=3.10 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| shapely==2.0.7 | ||
| sphinx==3.5.4 | ||
| sphinx_bootstrap_theme | ||
| sphinxcontrib-applehelp==1.0.2 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,16 +21,15 @@ description = "An open-source interactive data visualization library for Python" | |
| readme = "README.md" | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Programming Language :: Python :: 3.8", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Programming Language :: Python :: 3.14", | ||
| "Topic :: Scientific/Engineering :: Visualization", | ||
| "License :: OSI Approved :: MIT License" | ||
| ] | ||
| requires-python = ">=3.8" | ||
| requires-python = ">=3.10" | ||
| license = "MIT" | ||
| license-files = ["LICENSE.txt"] | ||
| version = "7.1.0" | ||
|
|
@@ -50,7 +49,9 @@ dev_core = [ | |
| ] | ||
| dev_matplotlib = [ | ||
| "plotly[dev_core]", | ||
| "matplotlib" | ||
| "matplotlib", | ||
| "contourpy>=1.3.3; python_version>='3.14'", | ||
| "kiwisolver>=1.4.9" | ||
|
Comment on lines
+52
to
+54
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why was this change required? |
||
| ] | ||
| dev_build = [ | ||
| "plotly[dev_core]", | ||
|
|
@@ -68,8 +69,6 @@ dev_optional = [ | |
| "plotly[kaleido]", | ||
| "anywidget", | ||
| "colorcet", | ||
| # fiona>1.9.6 is not compatible with geopandas<1; geopandas>=1 is not compatible with python 3.8 | ||
| "fiona<=1.9.6;python_version<='3.8'", | ||
| "geopandas", | ||
| "jupyterlab", | ||
| "orjson", | ||
|
|
@@ -83,7 +82,6 @@ dev_optional = [ | |
| "scipy", | ||
| "sphinx-gallery", | ||
| "statsmodels", | ||
| "vaex;python_version<='3.9'", | ||
| "xarray" | ||
| ] | ||
| dev = [ | ||
|
|
||
There was a problem hiding this comment.
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-latestin the future?