Skip to content

Commit 71b3070

Browse files
authored
Test on Python 3.12, drop Python 3.7 tests (#995)
1 parent 5b6013d commit 71b3070

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
- name: Install dependencies
2727
run: npm ci
28-
- name: Set up Python 3.10
28+
- name: Set up Python 3.12
2929
uses: actions/setup-python@v1
3030
with:
31-
python-version: '3.10'
31+
python-version: '3.12'
3232

3333
- name: Install Python dependencies
3434
run: python -m pip install -r requirements-dev.txt
@@ -100,10 +100,10 @@ jobs:
100100
- name: Install dependencies
101101
run: npm ci
102102

103-
- name: Set up Python 3.10
103+
- name: Set up Python 3.12
104104
uses: actions/setup-python@v1
105105
with:
106-
python-version: '3.10'
106+
python-version: '3.12'
107107

108108
- name: Install Python dependencies
109109
run: python -m pip install -r requirements-dev.txt

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
node-version: 16
3232
- name: Install dependencies
3333
run: npm ci
34-
- name: Set up Python 3.10
34+
- name: Set up Python 3.12
3535
uses: actions/setup-python@v1
3636
with:
37-
python-version: '3.10'
37+
python-version: '3.12'
3838
- name: Install Dash
3939
run: python -m pip install -r requirements-dev.txt
4040
- name: Build dash-bootstrap-components
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
max-parallel: 6
5353
matrix:
54-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
54+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
5555
services:
5656
hub:
5757
image: selenium/hub:3.141.59-gold
@@ -62,19 +62,19 @@ jobs:
6262
HUB_PORT: 4444
6363
steps:
6464
- uses: actions/checkout@v1
65-
- name: Set up Python 3.10
65+
- name: Set up Python 3.12
6666
uses: actions/setup-python@v1
6767
with:
68-
python-version: '3.10'
68+
python-version: '3.12'
6969
- name: Set up Python ${{ matrix.python-version }}
70-
if: matrix.python-version != '3.10'
70+
if: matrix.python-version != '3.12'
7171
uses: actions/setup-python@v1
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474
- name: Install nox
75-
run: python3.10 -m pip install -U nox
75+
run: python3.12 -m pip install -U nox
7676
- name: Lint Python source
77-
if: matrix.python-version == '3.10'
77+
if: matrix.python-version == '3.12'
7878
run: nox -s lint
7979
- uses: actions/download-artifact@v2
8080
with:

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def format_(session):
2727
session.run("isort", *SOURCES)
2828

2929

30-
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"])
30+
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
3131
def test(session):
3232
session.install("pytest")
3333
session.install("dash[testing]>=2.0.0")

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ def _get_long_description():
4444
classifiers=[
4545
"Framework :: Dash",
4646
"License :: OSI Approved :: Apache Software License",
47-
"Programming Language :: Python :: 3.7",
4847
"Programming Language :: Python :: 3.8",
4948
"Programming Language :: Python :: 3.9",
5049
"Programming Language :: Python :: 3.10",
5150
"Programming Language :: Python :: 3.11",
51+
"Programming Language :: Python :: 3.12",
5252
],
5353
extras_require={"pandas": ["numpy", "pandas"]},
54-
python_requires=">=3.7, <4",
54+
python_requires=">=3.8, <4",
5555
)

0 commit comments

Comments
 (0)