Skip to content

Bump python versions in CI and add python 3.13 #5073

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

Merged
merged 8 commits into from
Mar 10, 2025
Merged
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
25 changes: 12 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ executors:
parameters:
python_version:
description: "python version"
default: "3.10"
default: "3.12"
type: string
docker:
- image: cimg/python:<<parameters.python_version>>-browsers
Expand Down Expand Up @@ -120,7 +120,7 @@ commands:
jobs:
check-code-formatting:
docker:
- image: cimg/python:3.7
- image: cimg/python:3.12

steps:
- checkout
Expand All @@ -139,7 +139,7 @@ jobs:
test_core_py:
parameters:
python_version:
default: "3.10"
default: "3.12"
type: string
executor:
name: docker-container
Expand All @@ -150,7 +150,7 @@ jobs:
test_optional_py:
parameters:
python_version:
default: "3.10"
default: "3.12"
type: string
pandas_version:
default: ""
Expand All @@ -167,9 +167,9 @@ jobs:
numpy_version: <<parameters.numpy_version>>

# Percy
python_39_percy:
python_311_percy:
docker:
- image: cimg/python:3.9-browsers
- image: cimg/python:3.11-browsers
environment:
PERCY_ENABLED: True
PERCY_PROJECT: plotly/plotly.py
Expand Down Expand Up @@ -203,9 +203,8 @@ jobs:
source .venv/bin/activate
mkdir tests/percy/pandas2
mv tests/percy/*.html tests/percy/pandas2/
# 1.1 is the earliest minor with Py3.9 wheels
uv pip install pip
python -m pip install pandas==1.1.5 numpy==1.26.4
python -m pip install pandas==1.5.3 numpy==1.26.4
python tests/percy/plotly-express.py
python tests/percy/compare-pandas.py
rm -rf tests/percy/pandas2
Expand All @@ -224,7 +223,7 @@ jobs:

plotlyjs_dev_build:
docker:
- image: cimg/python:3.11-node
- image: cimg/python:3.12-node
environment:
LANG: en_US.UTF-8
resource_class: large
Expand Down Expand Up @@ -263,7 +262,7 @@ jobs:

full_build:
docker:
- image: cimg/python:3.11-node
- image: cimg/python:3.12-node
environment:
LANG: en_US.UTF-8
resource_class: large
Expand Down Expand Up @@ -301,8 +300,6 @@ jobs:
build-doc:
resource_class: xlarge
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, for example, `3.9-browsers`
- image: cimg/python:3.9-browsers

steps:
Expand Down Expand Up @@ -435,6 +432,7 @@ workflows:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- test_optional_py:
matrix:
parameters:
Expand All @@ -444,10 +442,11 @@ workflows:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- test_optional_py:
name: "test_optional_py-3.9_pandas-1.2.4"
python_version: "3.9"
pandas_version: "1.2.4"
numpy_version: "1.26.4"
- python_39_percy
- python_311_percy
- build-doc