-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop Python 3.8 support. Test Python 3.13 final
- Loading branch information
Showing
3 changed files
with
24 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,19 +10,14 @@ authors = [ | |
{ name = "Taneli Hukkinen", email = "[email protected]" }, | ||
] | ||
license = { file = "LICENSE" } | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
readme = "README.md" | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
|
@@ -53,18 +48,14 @@ xfail_strict = true | |
|
||
|
||
[tool.tox] | ||
legacy_tox_ini = ''' | ||
[tox] | ||
requires = ["tox>=4.21.1"] | ||
# Only run pytest envs when no args given to tox | ||
envlist = py{38,39,310,311,312} | ||
isolated_build = True | ||
[testenv:py{38,39,310,311,312}] | ||
description = run tests | ||
deps = -r tests/requirements.txt | ||
commands = | ||
pytest {posargs} | ||
''' | ||
env_list = ["3.9", "3.10", "3.11", "3.12", "3.13"] | ||
|
||
[tool.tox.env_run_base] | ||
description = "Run tests under {base_python}" | ||
deps = ["-r tests/requirements.txt"] | ||
commands = [["pytest", { replace = "posargs", extend = true }]] | ||
|
||
|
||
[tool.coverage.run] | ||
|