Skip to content

Commit

Permalink
Merge pull request #247 from asottile/update-max-py-version
Browse files Browse the repository at this point in the history
update --max-py-version to 3.13
  • Loading branch information
asottile authored Oct 11, 2024
2 parents 9ad4b68 + 9c5b9c3 commit e559dca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion setup_cfg_fmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e559dca

Please sign in to comment.