Skip to content

Commit 2ffb426

Browse files
committed
Drop Python 3.6 and use Python 3.10 for secondary builds
1 parent d7d396a commit 2ffb426

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

.github/workflows/main.yml

+10-13
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,16 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
tox_env:
14-
- "py36-pytestlatest"
1514
- "py37-pytestlatest"
1615
- "py38-pytestlatest"
1716
- "py39-pytestlatest"
1817
- "py310-pytestlatest"
19-
- "py38-pytestmain"
20-
- "py38-psutil"
21-
- "py38-setproctitle"
18+
- "py310-pytestmain"
19+
- "py310-psutil"
20+
- "py310-setproctitle"
2221

2322
os: [ubuntu-latest, windows-latest]
2423
include:
25-
- tox_env: "py36-pytestlatest"
26-
python: "3.6"
2724
- tox_env: "py37-pytestlatest"
2825
python: "3.7"
2926
- tox_env: "py38-pytestlatest"
@@ -32,12 +29,12 @@ jobs:
3229
python: "3.9"
3330
- tox_env: "py310-pytestlatest"
3431
python: "3.10"
35-
- tox_env: "py38-pytestmain"
36-
python: "3.8"
37-
- tox_env: "py38-psutil"
38-
python: "3.8"
39-
- tox_env: "py38-setproctitle"
40-
python: "3.8"
32+
- tox_env: "py310-pytestmain"
33+
python: "3.10"
34+
- tox_env: "py310-psutil"
35+
python: "3.10"
36+
- tox_env: "py310-setproctitle"
37+
python: "3.10"
4138

4239
steps:
4340
- uses: actions/checkout@v3
@@ -72,7 +69,7 @@ jobs:
7269
- name: Set up Python
7370
uses: actions/setup-python@v2
7471
with:
75-
python-version: "3.7"
72+
python-version: "3.10"
7673
- name: Install wheel
7774
run: |
7875
python -m pip install --upgrade pip

setup.cfg

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ classifiers =
2424
Programming Language :: Python
2525
Programming Language :: Python :: 3
2626
Programming Language :: Python :: 3 :: Only
27-
Programming Language :: Python :: 3.6
2827
Programming Language :: Python :: 3.7
2928
Programming Language :: Python :: 3.8
3029
Programming Language :: Python :: 3.9
@@ -40,7 +39,7 @@ project_urls =
4039
packages = find:
4140
package_dir = =src
4241
zip_safe = False
43-
python_requires = >=3.6
42+
python_requires = >=3.7
4443
install_requires =
4544
execnet>=1.1
4645
pytest>=6.2.0

tox.ini

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tox]
22
envlist=
33
linting
4-
py{36,37,38,39,310}-pytestlatest
5-
py38-pytestmain
6-
py38-psutil
7-
py38-setproctitle
4+
py{37,38,39,310}-pytestlatest
5+
py310-pytestmain
6+
py310-psutil
7+
py310-setproctitle
88
isolated_build = true
99
[testenv]
1010
extras = testing
@@ -14,14 +14,14 @@ deps =
1414
commands=
1515
pytest {posargs}
1616

17-
[testenv:py38-psutil]
17+
[testenv:py310-psutil]
1818
extras =
1919
testing
2020
psutil
2121
commands =
2222
pytest {posargs:-k psutil}
2323

24-
[testenv:py38-setproctitle]
24+
[testenv:py310-setproctitle]
2525
extras =
2626
testing
2727
setproctitle
@@ -40,7 +40,7 @@ commands = pre-commit run --all-files --show-diff-on-failure
4040
[testenv:release]
4141
changedir=
4242
description = do a release, required posarg of the version number
43-
basepython = python3.7
43+
basepython = python3.10
4444
skipsdist = True
4545
usedevelop = True
4646
passenv = *
@@ -50,7 +50,7 @@ commands =
5050
towncrier build --version {posargs} --yes
5151

5252
[testenv:docs]
53-
basepython = python3
53+
basepython = python3.10
5454
usedevelop = True
5555
deps =
5656
sphinx

0 commit comments

Comments
 (0)