Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add 3.12 to classifiers #341

Merged
merged 4 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def _run_tests(
extra.append("numpy")

install_arg = "-e.[test,cov]" if "--cov" in posargs else "-e.[test]"
if "--cov" in posargs:
posargs.append("--cov-config=pyproject.toml")

session.install(install_arg, *extra, *install_args)
session.run("pytest", *run_args, *posargs, env=env)

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 4 - Beta",
"Typing :: Typed",
]
Expand Down Expand Up @@ -105,6 +106,7 @@ filterwarnings = [
"ignore:pkg_resources is deprecated as an API:DeprecationWarning", # Caused by wheel in tests
"ignore:Config variable '.*' is unset, Python ABI tag may be incorrect:RuntimeWarning",
"ignore:onerror argument is deprecated, use onexc instead:DeprecationWarning", # Caused by wheel and Python 3.12
"ignore:(ast.Str|Attribute s|ast.NameConstant|ast.Num) is deprecated:DeprecationWarning:_pytest", # Python 3.12
]
log_cli_level = "info"
testpaths = ["tests"]
Expand Down