Skip to content

Commit 7f7cf28

Browse files
committed
Update min python requirement...
...and update tox
1 parent 8e10906 commit 7f7cf28

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/tox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ['3.11', '3.12']
12+
python-version: ['3.10', '3.11', '3.12']
1313

1414
steps:
1515
- uses: actions/checkout@v3

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
setup_requires=['setuptools_scm'],
7979

80-
python_requires='>=3.5, <4.0',
80+
python_requires='>=3.10, <4.0',
8181

8282
# List additional groups of dependencies here (e.g. development
8383
# dependencies). You can install these using the following syntax,

tox.ini

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
[tox]
22
envlist =
3-
py{311,312}-unit,
4-
py{311,312}-lint
3+
py{310,311,312}-unit,
4+
py{310,311,312}-lint
55
skip_missing_interpreters = True
66

77
[gh-actions]
88
python =
9+
3.10: py310
910
3.11: py311
1011
3.12: py312
1112

1213
[testenv]
1314
passenv = CI, TRAVIS, TRAVIS_*
1415
deps =
15-
py{311,312}: .[test]
16-
py{311,312}-unit: pytest-cov
16+
py{310,311,312}: .[test]
17+
py{310,311,312}-unit: pytest-cov
1718
codecov
18-
py{311,312}-lint: pylint
19+
py{310,311,312}-lint: pylint
1920
commands =
20-
py{311,312}-unit: pytest -v --cov-report xml --cov tesk_core {posargs} tests
21-
py{311,312}-unit: codecov
22-
py{311,312}-lint: python -m pylint --exit-zero -d missing-docstring,line-too-long,C tesk_core
23-
py{311,312}-lint: python -m pylint -E tesk_core
21+
py{310,311,312}-unit: pytest -v --cov-report xml --cov tesk_core {posargs} tests
22+
py{310,311,312}-unit: codecov
23+
py{310,311,312}-lint: python -m pylint --exit-zero -d missing-docstring,line-too-long,C tesk_core
24+
py{310,311,312}-lint: python -m pylint -E tesk_core

0 commit comments

Comments
 (0)