2
0
Fork 0

feat: drop python 3.6 support

This commit is contained in:
Lance Edgar 2024-07-09 16:47:24 -05:00
parent 3ea9deea06
commit 80da7f5d6f
2 changed files with 2 additions and 13 deletions

View file

@ -19,14 +19,12 @@ classifiers = [
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"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",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
] ]
requires-python = ">= 3.6" requires-python = ">= 3.8"
dependencies = [ dependencies = [
'importlib-metadata; python_version < "3.10"', 'importlib-metadata; python_version < "3.10"',
"python-configuration", "python-configuration",

11
tox.ini
View file

@ -1,20 +1,11 @@
[tox] [tox]
envlist = py36, py37, py38, py39, py310, py311, nodb envlist = py38, py39, py310, py311, nodb
# 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
[testenv] [testenv]
extras = db,docs,tests extras = db,docs,tests
commands = pytest {posargs} commands = pytest {posargs}
[testenv:py37]
# nb. newer coverage is causing segfault for this one, so must avoid that
deps = coverage<6.5
[testenv:nodb] [testenv:nodb]
extras = tests extras = tests