Skip to content

Commit 84220f8

Browse files
authored
ci: Remove python 3.8 from tests and add python 3.13 (#1244)
- Python 3.8 is past EOL: https://devguide.python.org/versions/ - jpy no longer publishes wheels for Python 3.8: jpy-consortium/jpy#201 - Logged a ticket for deephaven-core to update requirements: https://deephaven.atlassian.net/browse/DH-20615 - For the deephaven-plugins tests, just remove 3.8 and add 3.13 (since it should be supported as well)
1 parent dc17eab commit 84220f8

File tree

14 files changed

+103
-50
lines changed

14 files changed

+103
-50
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-python@v5
2121
with:
22-
python-version: '3.8'
22+
python-version: '3.9'
2323
cache: 'pip'
2424
- uses: pre-commit/[email protected]

.github/workflows/test-python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
16+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,13 @@ If you want to run tests locally (which may be easier for debugging or creating
7878

7979
The [venv setup](#pre-commit-hookspython-formatting) steps will also set up `tox` to run tests for the python plugins that support it.
8080
Note that `tox` sets up an isolated environment for running tests.
81-
Be default, `tox` will run against Python 3.8, which will need to be installed on your system before running tests.
81+
Be default, `tox` will run against Python 3.9, which will need to be installed on your system before running tests.
8282
You can run tests with the following command from the `plugins/<plugin>` directory:
8383

8484
```shell
8585
tox -e py
8686
```
8787

88-
> [!IMPORTANT]
89-
> Linux, and possibly other setups such as MacOS depending on method, may require additional packages to be installed to run Python 3.8.
90-
>
91-
> ```shell
92-
> sudo apt install python3.8 python3.8-distutils libpython3.8
93-
> # or just full install although it will include more packages than necessary
94-
> sudo apt install python3.8-full
95-
> ```
96-
9788
You can also run tests against a specific version of python by appending the version to `py`
9889
This assumes that the version of Python you're targeting is installed on your system.
9990
For example, to run tests against Python 3.12, run:

plugins/ag-grid/tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ deps =
66
deephaven-server
77
commands =
88
python -m unittest {posargs}
9-
basepython = python3.8
10-
11-
[testenv:py3.8]
12-
basepython = python3.8
9+
basepython = python3.9
1310

1411
[testenv:py3.9]
1512
basepython = python3.9
@@ -21,4 +18,7 @@ basepython = python3.10
2118
basepython = python3.11
2219

2320
[testenv:py3.12]
24-
basepython = python3.12
21+
basepython = python3.12
22+
23+
[testenv:py3.13]
24+
basepython = python3.13

plugins/matplotlib/tox.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[tox]
2+
isolated_build = True
3+
4+
[testenv]
5+
deps =
6+
deephaven-server
7+
basepython = python3.9
8+
9+
[testenv:py3.9]
10+
basepython = python3.9
11+
12+
[testenv:py3.10]
13+
basepython = python3.10
14+
15+
[testenv:py3.11]
16+
basepython = python3.11
17+
18+
[testenv:py3.12]
19+
basepython = python3.12
20+
21+
[testenv:py3.13]
22+
basepython = python3.13

plugins/packaging/tox.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[tox]
2+
isolated_build = True
3+
4+
[testenv]
5+
deps =
6+
deephaven-server
7+
basepython = python3.9
8+
9+
[testenv:py3.9]
10+
basepython = python3.9
11+
12+
[testenv:py3.10]
13+
basepython = python3.10
14+
15+
[testenv:py3.11]
16+
basepython = python3.11
17+
18+
[testenv:py3.12]
19+
basepython = python3.12
20+
21+
[testenv:py3.13]
22+
basepython = python3.13

plugins/pivot/tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ deps =
66
deephaven-server
77
commands =
88
python -m unittest {posargs}
9-
basepython = python3.8
10-
11-
[testenv:py3.8]
12-
basepython = python3.8
9+
basepython = python3.9
1310

1411
[testenv:py3.9]
1512
basepython = python3.9
@@ -21,4 +18,7 @@ basepython = python3.10
2118
basepython = python3.11
2219

2320
[testenv:py3.12]
24-
basepython = python3.12
21+
basepython = python3.12
22+
23+
[testenv:py3.13]
24+
basepython = python3.13

plugins/plotly-express/tox.ini

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ deps =
66
deephaven-server
77
commands =
88
python -m unittest discover
9-
basepython = python3.8
10-
11-
[testenv:py3.8]
12-
basepython = python3.8
9+
basepython = python3.9
1310

1411
[testenv:py3.9]
1512
basepython = python3.9
@@ -23,4 +20,5 @@ basepython = python3.11
2320
[testenv:py3.12]
2421
basepython = python3.12
2522

26-
23+
[testenv:py3.13]
24+
basepython = python3.13

plugins/simple-pivot/tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ deps =
66
deephaven-server
77
commands =
88
python -m unittest {posargs}
9-
basepython = python3.8
10-
11-
[testenv:py3.8]
12-
basepython = python3.8
9+
basepython = python3.9
1310

1411
[testenv:py3.9]
1512
basepython = python3.9
@@ -21,4 +18,7 @@ basepython = python3.10
2118
basepython = python3.11
2219

2320
[testenv:py3.12]
24-
basepython = python3.12
21+
basepython = python3.12
22+
23+
[testenv:py3.13]
24+
basepython = python3.13

plugins/theme-pack/tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ deps =
66
deephaven-server
77
commands =
88
python -m unittest {posargs}
9-
basepython = python3.8
10-
11-
[testenv:py3.8]
12-
basepython = python3.8
9+
basepython = python3.9
1310

1411
[testenv:py3.9]
1512
basepython = python3.9
@@ -21,4 +18,7 @@ basepython = python3.10
2118
basepython = python3.11
2219

2320
[testenv:py3.12]
24-
basepython = python3.12
21+
basepython = python3.12
22+
23+
[testenv:py3.13]
24+
basepython = python3.13

0 commit comments

Comments
 (0)