Skip to content

Commit 5588fd8

Browse files
authored
Drop Python 3.6 from tests (#913)
1 parent 1c430ae commit 5588fd8

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.github/workflows/doctest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
node-version: 12.x
2929
- name: Install dependencies
3030
run: npm ci
31-
- name: Set up Python 3.8
31+
- name: Set up Python 3.10
3232
uses: actions/setup-python@v1
3333
with:
34-
python-version: 3.8
34+
python-version: '3.10'
3535
- name: Install Dash
3636
run: python -m pip install -r requirements-dev.txt
3737
- name: Build dash-bootstrap-components
@@ -57,6 +57,6 @@ jobs:
5757
- name: Test Julia installation
5858
run: julia -e 'using Dash, DashBootstrapComponents, HTTP;'
5959
- name: Install nox
60-
run: python3.8 -m pip install -U nox
60+
run: python3.10 -m pip install -U nox
6161
- name: Test R and Julia docs snippets
6262
run: nox -s doctest

.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.8
28+
- name: Set up Python 3.10
2929
uses: actions/setup-python@v1
3030
with:
31-
python-version: 3.8
31+
python-version: '3.10'
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.8
103+
- name: Set up Python 3.10
104104
uses: actions/setup-python@v1
105105
with:
106-
python-version: 3.8
106+
python-version: '3.10'
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: 12.x
3232
- name: Install dependencies
3333
run: npm ci
34-
- name: Set up Python 3.8
34+
- name: Set up Python 3.10
3535
uses: actions/setup-python@v1
3636
with:
37-
python-version: 3.8
37+
python-version: '3.10'
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.6', '3.7', '3.8', '3.9', '3.10']
54+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
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.8
65+
- name: Set up Python 3.10
6666
uses: actions/setup-python@v1
6767
with:
68-
python-version: '3.8'
68+
python-version: '3.10'
6969
- name: Set up Python ${{ matrix.python-version }}
70-
if: matrix.python-version != '3.8'
70+
if: matrix.python-version != '3.10'
7171
uses: actions/setup-python@v1
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474
- name: Install nox
75-
run: python3.8 -m pip install -U nox
75+
run: python3.10 -m pip install -U nox
7676
- name: Lint Python source
77-
if: matrix.python-version == 3.8
77+
if: matrix.python-version == '3.10'
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
@@ -26,7 +26,7 @@ def format_(session):
2626
session.run("isort", *SOURCES)
2727

2828

29-
@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"])
29+
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"])
3030
def test(session):
3131
session.install("pytest")
3232
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.6",
4847
"Programming Language :: Python :: 3.7",
4948
"Programming Language :: Python :: 3.8",
5049
"Programming Language :: Python :: 3.9",
5150
"Programming Language :: Python :: 3.10",
51+
"Programming Language :: Python :: 3.11",
5252
],
5353
extras_require={"pandas": ["numpy", "pandas"]},
54-
python_requires=">=3.6, <4",
54+
python_requires=">=3.7, <4",
5555
)

0 commit comments

Comments
 (0)