Skip to content

Commit

Permalink
Get tox running again.
Browse files Browse the repository at this point in the history
We have to pin versions for tox and virtualenv because newer versions
don't support Python 3.6 anymore.
  • Loading branch information
andialbrecht committed Jul 24, 2023
1 parent 2bc8d9c commit be35807
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ sqlformat = "sqlparse.__main__:main"
dev = [
"flake8",
"build",
"virtualenv<20.22.0", # 20.22.0 dropped Python 3.6 support
"tox<4.5.0", # >=4.5.0 requires virtualenv>=20.22
]
test = [
"pytest",
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tox]
skip_missing_interpreters = True
envlist =
py35
py36
py37
py38
pypy3
py39
py310
py311
flake8

[testenv]
Expand Down

0 comments on commit be35807

Please sign in to comment.