Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
with:
python-version: "3.9"
python-version: "3.10"

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install rename
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
Expand All @@ -40,11 +40,11 @@ jobs:
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?

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
Expand Down Expand Up @@ -88,12 +88,12 @@ jobs:
test-optional-legacy-pandas:
name: Optional tests (Python ${{ matrix.python-version }}, pandas ${{ matrix.pandas-version }})
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.9"
- python-version: "3.10"
pandas-version: "1"
- python-version: "3.11"
pandas-version: "2"
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

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



## [7.1.0] - 2026-09-15

Expand Down
4 changes: 2 additions & 2 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ environment with the doc-specific dependencies.

```bash
cd doc
uv venv --python 3.9
uv venv --python 3.10
source .venv/bin/activate
uv pip install -r requirements.txt
```
Expand Down Expand Up @@ -327,7 +327,7 @@ defined in `.github/workflows/build-doc.yml`.

### Build steps

1. **Environment setup** — Python 3.9, `uv`, and system dependencies (`rename`
1. **Environment setup** — Python 3.10, `uv`, and system dependencies (`rename`
utility) are installed.
2. **Install doc dependencies** — `uv pip install -r requirements.txt` inside
`doc/`.
Expand Down
4 changes: 4 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

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.

shapely==2.0.7
sphinx==3.5.4
sphinx_bootstrap_theme
sphinxcontrib-applehelp==1.0.2
Expand Down
12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

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?

]
dev_build = [
"plotly[dev_core]",
Expand All @@ -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",
Expand All @@ -83,7 +82,6 @@ dev_optional = [
"scipy",
"sphinx-gallery",
"statsmodels",
"vaex;python_version<='3.9'",
"xarray"
]
dev = [
Expand Down
Loading
Loading