feat: drop python 3.6 support, use pyproject.toml (again)
This commit is contained in:
parent
12f8b7bdf7
commit
a86a33445e
4 changed files with 103 additions and 112 deletions
14
tox.ini
14
tox.ini
|
@ -1,24 +1,12 @@
|
|||
|
||||
[tox]
|
||||
# TODO: i had to remove py36 since something (hatchling?) broke it
|
||||
# somehow, and i was not able to quickly fix. as of writing only
|
||||
# one app is known to run py36 and hopefully that is not for long.
|
||||
envlist = py37, py38, py39, py310, py311
|
||||
|
||||
# TODO: can remove this when we drop py36 support
|
||||
# nb. need this for testing older python versions
|
||||
# https://tox.wiki/en/latest/faq.html#testing-end-of-life-python-versions
|
||||
requires = virtualenv<20.22.0
|
||||
envlist = py38, py39, py310, py311
|
||||
|
||||
[testenv]
|
||||
deps = rattail-tempmon
|
||||
extras = tests
|
||||
commands = pytest {posargs}
|
||||
|
||||
[testenv:py37]
|
||||
# nb. Chameleon 4.3 requires Python 3.9+
|
||||
deps = Chameleon<4.3
|
||||
|
||||
[testenv:coverage]
|
||||
basepython = python3
|
||||
extras = tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue