diff --git a/pyproject.toml b/pyproject.toml index b2dcf660..ee6605a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ preview = true target-version = [ "py310", "py311", + "py312", "py36", "py37", "py38", diff --git a/setup.cfg b/setup.cfg index 4f810c5e..ed17db90 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Typing :: Typed [options] diff --git a/src/repoma/utilities/project_info.py b/src/repoma/utilities/project_info.py index e26f73a7..66ecf712 100644 --- a/src/repoma/utilities/project_info.py +++ b/src/repoma/utilities/project_info.py @@ -111,7 +111,7 @@ def get_supported_python_versions( """Extract supported Python versions from package classifiers. >>> get_supported_python_versions() - ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] + ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] """ project_info = get_project_info(pyproject) if project_info.supported_python_versions is None: