From 9c5b9c379dab0a3d145ae232d52d6a73c4298a48 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 11 Oct 2024 17:26:49 -0400 Subject: [PATCH] update --max-py-version to 3.13 --- README.md | 3 ++- setup_cfg_fmt.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1577a14..fa5929d 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ A few sources are searched for guessing `python_requires`: classifiers are generated based on: - the `python_requires` setting -- the `--max-py-version` argument (currently defaulting to `3.11`) +- the `--max-py-version` argument - `--include-version-classifiers` is specified ```diff @@ -140,6 +140,7 @@ classifiers are generated based on: + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 ++ ... ``` without `--include-version-classifiers` only the major version will be included: diff --git a/setup_cfg_fmt.py b/setup_cfg_fmt.py index 633be3c..5d8cbff 100644 --- a/setup_cfg_fmt.py +++ b/setup_cfg_fmt.py @@ -519,7 +519,7 @@ def main(argv: Sequence[str] | None = None) -> int: help=argparse.SUPPRESS, ) parser.add_argument('--min-py-version', type=_ver_type, default=(3, 8)) - parser.add_argument('--max-py-version', type=_ver_type, default=(3, 12)) + parser.add_argument('--max-py-version', type=_ver_type, default=(3, 13)) args = parser.parse_args(argv) if args.min_py3_version: