Skip to content

Commit 797ea3d

Browse files
authored
Merge pull request #288 from bgilbert/py3.13
pyproject: update for Python 3.13
2 parents 71c19b4 + b49133e commit 797ea3d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/ISSUE_TEMPLATE/python-bump.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- Update Git main
44
- [ ] `git checkout main`
55
- [ ] In `pyproject.toml`, add classifier for new Python version and update `tool.black.target-version`
6-
- [ ] Add new Python version to lists in `.github/workflows/python.yml`
6+
- [ ] In `.github/workflows/python.yml`, update hardcoded Python versions and add new version to lists
77
- [ ] Commit and open a PR
88
- [ ] Merge the PR when CI passes
99
- [ ] Add new Python jobs to [branch protection required checks](https://github.com/openslide/openslide-python/settings/branches)

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: 3.10",
2424
"Programming Language :: Python :: 3.11",
2525
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
2627
"Topic :: Scientific/Engineering :: Bio-Informatics",
2728
"Typing :: Typed",
2829
]
@@ -44,7 +45,7 @@ version = {attr = "openslide._version.__version__"}
4445

4546
[tool.black]
4647
skip-string-normalization = true
47-
target-version = ["py38", "py39", "py310", "py311", "py312"]
48+
target-version = ["py38", "py39", "py310", "py311", "py312", "py313"]
4849

4950
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8
5051
# also ignore:

0 commit comments

Comments
 (0)