Drop Python 3.6 and use Python 3.10 for secondary builds
This commit is contained in:
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@@ -11,19 +11,16 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
tox_env:
|
tox_env:
|
||||||
- "py36-pytestlatest"
|
|
||||||
- "py37-pytestlatest"
|
- "py37-pytestlatest"
|
||||||
- "py38-pytestlatest"
|
- "py38-pytestlatest"
|
||||||
- "py39-pytestlatest"
|
- "py39-pytestlatest"
|
||||||
- "py310-pytestlatest"
|
- "py310-pytestlatest"
|
||||||
- "py38-pytestmain"
|
- "py310-pytestmain"
|
||||||
- "py38-psutil"
|
- "py310-psutil"
|
||||||
- "py38-setproctitle"
|
- "py310-setproctitle"
|
||||||
|
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest]
|
||||||
include:
|
include:
|
||||||
- tox_env: "py36-pytestlatest"
|
|
||||||
python: "3.6"
|
|
||||||
- tox_env: "py37-pytestlatest"
|
- tox_env: "py37-pytestlatest"
|
||||||
python: "3.7"
|
python: "3.7"
|
||||||
- tox_env: "py38-pytestlatest"
|
- tox_env: "py38-pytestlatest"
|
||||||
@@ -32,12 +29,12 @@ jobs:
|
|||||||
python: "3.9"
|
python: "3.9"
|
||||||
- tox_env: "py310-pytestlatest"
|
- tox_env: "py310-pytestlatest"
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
- tox_env: "py38-pytestmain"
|
- tox_env: "py310-pytestmain"
|
||||||
python: "3.8"
|
python: "3.10"
|
||||||
- tox_env: "py38-psutil"
|
- tox_env: "py310-psutil"
|
||||||
python: "3.8"
|
python: "3.10"
|
||||||
- tox_env: "py38-setproctitle"
|
- tox_env: "py310-setproctitle"
|
||||||
python: "3.8"
|
python: "3.10"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -72,7 +69,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: "3.7"
|
python-version: "3.10"
|
||||||
- name: Install wheel
|
- name: Install wheel
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ classifiers =
|
|||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3 :: Only
|
Programming Language :: Python :: 3 :: Only
|
||||||
Programming Language :: Python :: 3.6
|
|
||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
@@ -40,7 +39,7 @@ project_urls =
|
|||||||
packages = find:
|
packages = find:
|
||||||
package_dir = =src
|
package_dir = =src
|
||||||
zip_safe = False
|
zip_safe = False
|
||||||
python_requires = >=3.6
|
python_requires = >=3.7
|
||||||
install_requires =
|
install_requires =
|
||||||
execnet>=1.1
|
execnet>=1.1
|
||||||
pytest>=6.2.0
|
pytest>=6.2.0
|
||||||
|
|||||||
16
tox.ini
16
tox.ini
@@ -1,10 +1,10 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist=
|
envlist=
|
||||||
linting
|
linting
|
||||||
py{36,37,38,39,310}-pytestlatest
|
py{37,38,39,310}-pytestlatest
|
||||||
py38-pytestmain
|
py310-pytestmain
|
||||||
py38-psutil
|
py310-psutil
|
||||||
py38-setproctitle
|
py310-setproctitle
|
||||||
isolated_build = true
|
isolated_build = true
|
||||||
[testenv]
|
[testenv]
|
||||||
extras = testing
|
extras = testing
|
||||||
@@ -14,14 +14,14 @@ deps =
|
|||||||
commands=
|
commands=
|
||||||
pytest {posargs}
|
pytest {posargs}
|
||||||
|
|
||||||
[testenv:py38-psutil]
|
[testenv:py310-psutil]
|
||||||
extras =
|
extras =
|
||||||
testing
|
testing
|
||||||
psutil
|
psutil
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs:-k psutil}
|
pytest {posargs:-k psutil}
|
||||||
|
|
||||||
[testenv:py38-setproctitle]
|
[testenv:py310-setproctitle]
|
||||||
extras =
|
extras =
|
||||||
testing
|
testing
|
||||||
setproctitle
|
setproctitle
|
||||||
@@ -40,7 +40,7 @@ commands = pre-commit run --all-files --show-diff-on-failure
|
|||||||
[testenv:release]
|
[testenv:release]
|
||||||
changedir=
|
changedir=
|
||||||
description = do a release, required posarg of the version number
|
description = do a release, required posarg of the version number
|
||||||
basepython = python3.7
|
basepython = python3.10
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
passenv = *
|
passenv = *
|
||||||
@@ -50,7 +50,7 @@ commands =
|
|||||||
towncrier build --version {posargs} --yes
|
towncrier build --version {posargs} --yes
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3.10
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
deps =
|
deps =
|
||||||
sphinx
|
sphinx
|
||||||
|
|||||||
Reference in New Issue
Block a user