Skip to content

Commit

Permalink
Merge pull request #288 from bgilbert/py3.13
Browse files Browse the repository at this point in the history
pyproject: update for Python 3.13
  • Loading branch information
bgilbert authored Oct 20, 2024
2 parents 71c19b4 + b49133e commit 797ea3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/python-bump.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand All @@ -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:
Expand Down

0 comments on commit 797ea3d

Please sign in to comment.