diff --git a/.github/ISSUE_TEMPLATE/python-bump.md b/.github/ISSUE_TEMPLATE/python-bump.md index 6daf89ea..8da37b22 100644 --- a/.github/ISSUE_TEMPLATE/python-bump.md +++ b/.github/ISSUE_TEMPLATE/python-bump.md @@ -3,7 +3,7 @@ - Update Git main - [ ] `git checkout main` - [ ] In `pyproject.toml`, add classifier for new Python version and update `tool.black.target-version` - - [ ] Add new Python version to lists in `.github/workflows/python.yml` + - [ ] In `.github/workflows/python.yml`, update hardcoded Python versions and add new version to lists - [ ] Commit and open a PR - [ ] Merge the PR when CI passes - [ ] Add new Python jobs to [branch protection required checks](https://github.com/openslide/openslide-python/settings/branches) diff --git a/pyproject.toml b/pyproject.toml index 42ee741b..6bb05bb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Bio-Informatics", "Typing :: Typed", ] @@ -44,7 +45,7 @@ version = {attr = "openslide._version.__version__"} [tool.black] skip-string-normalization = true -target-version = ["py38", "py39", "py310", "py311", "py312"] +target-version = ["py38", "py39", "py310", "py311", "py312", "py313"] # https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8 # also ignore: