Skip to content

Commit 9e2c6bd

Browse files
authored
chore: add 3.12 to classifiers (#341)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 5e3b4cd commit 9e2c6bd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ def _run_tests(
5050
extra.append("numpy")
5151

5252
install_arg = "-e.[test,cov]" if "--cov" in posargs else "-e.[test]"
53+
if "--cov" in posargs:
54+
posargs.append("--cov-config=pyproject.toml")
55+
5356
session.install(install_arg, *extra, *install_args)
5457
session.run("pytest", *run_args, *posargs, env=env)
5558

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.9",
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
2829
"Development Status :: 4 - Beta",
2930
"Typing :: Typed",
3031
]
@@ -105,6 +106,7 @@ filterwarnings = [
105106
"ignore:pkg_resources is deprecated as an API:DeprecationWarning", # Caused by wheel in tests
106107
"ignore:Config variable '.*' is unset, Python ABI tag may be incorrect:RuntimeWarning",
107108
"ignore:onerror argument is deprecated, use onexc instead:DeprecationWarning", # Caused by wheel and Python 3.12
109+
"ignore:(ast.Str|Attribute s|ast.NameConstant|ast.Num) is deprecated:DeprecationWarning:_pytest", # Python 3.12
108110
]
109111
log_cli_level = "info"
110112
testpaths = ["tests"]

0 commit comments

Comments
 (0)