Skip to content

Commit c604379

Browse files
authored
Merge pull request plotly#4605 from gvwilson/use-python-3.11-and-pytest-8.1.1
build+docs: use Python 3.11 and pin a recent version of pytest
2 parents 1fef3ee + 9fdd6b6 commit c604379

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [5.23.0] - TBD
6+
7+
### Updated
8+
- Specify Python version 3.8-3.11 for development virtual environments and pin `pytest` at version 8.1.1 to match.
9+
510
## [5.22.0] - 2024-05-01
611

712
### Updated

contributing.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,16 @@ learn and become confident about git, like http://try.github.io/.
125125

126126
### Create a virtual environment for plotly development
127127

128-
You can use either [conda][conda-env] or [virtualenv][virtualenv] to create a virtual environment for plotly development, e.g.
128+
You can use either [conda][conda-env] or [virtualenv][virtualenv] to create a virtual environment for plotly development, e.g.:
129129

130130
```bash
131-
conda create -n plotly-dev python
131+
conda create -n plotly-dev python=3.11
132132
conda activate plotly-dev
133133
```
134134

135+
As of May 2024 our dependencies have been tested against Python versions 3.8 to 3.11.
136+
We will support Python 3.12 and higher versions soon.
137+
135138
[conda-env]: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands
136139
[virtualenv]: http://docs.python-guide.org/en/latest/dev/virtualenvs/
137140

packages/python/plotly/optional-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ numpy
1414
## testing dependencies ##
1515
coverage==4.3.1
1616
mock==2.0.0
17-
pytest==3.5.1
17+
pytest==8.1.1
1818
backports.tempfile==1.0
1919
xarray
2020
pytz

0 commit comments

Comments
 (0)