Skip to content

Commit

Permalink
Removed support for Python 3.7 and added 3.10 and 3.11.
Browse files Browse the repository at this point in the history
  • Loading branch information
atollk committed Jul 14, 2023
1 parent 65314b9 commit 37e7a92
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 10 deletions.
3 changes: 3 additions & 0 deletions requirements/py310.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
flake8>=5,<6
pytest-flake8dir>=2.2,<3
pytest>=5.4,<6
3 changes: 3 additions & 0 deletions requirements/py311.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
flake8>=5,<6
pytest-flake8dir>=2.2,<3
pytest>=5.4,<6
3 changes: 0 additions & 3 deletions requirements/py37.txt

This file was deleted.

2 changes: 1 addition & 1 deletion requirements/py38.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
flake8>=3.0,<4
flake8>=5,<6
pytest-flake8dir>=2.2,<3
pytest>=5.4,<6
2 changes: 1 addition & 1 deletion requirements/py39.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
flake8>=3.0,<4
flake8>=5,<6
pytest-flake8dir>=2.2,<3
pytest>=5.4,<6
14 changes: 9 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
[tox]
envlist =
py{37,38,39},
py{38,39,310,311},

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
commands = pytest {posargs}

[testenv:py37]
deps = -rrequirements/py37.txt

[testenv:py38]
deps = -rrequirements/py38.txt

[testenv:py39]
deps = -rrequirements/py39.txt

[testenv:py310]
deps = -rrequirements/py310.txt

[testenv:py311]
deps = -rrequirements/py311.txt

0 comments on commit 37e7a92

Please sign in to comment.