Skip to content

Commit 2cccb20

Browse files
Enable Python 3.13 in GitHub Actions and add its trove classification to pyproject.toml (#15)
* Enable 3.13 and enable Python pre-releases in tests.yaml * Enable Python 3.13 trove in pyproject.toml * Update action/setup-python@v5 in pre-commit.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Set pyproject-fmt max_supported_python to 3.13 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c917de4 commit 2cccb20

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/pre-commit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: actions/setup-python@v4
14+
- uses: actions/setup-python@v5
1515
with:
1616
python-version: "3.x"
1717
- uses: pre-commit/[email protected]

.github/workflows/tests.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [macos-latest, windows-latest, ubuntu-latest]
12-
python-version: ["3.11", "3.12"]
13-
build-version: ["3.11", "3.12"]
12+
python-version: ["3.11", "3.12", "3.13"]
13+
build-version: ["3.11", "3.12", "3.13"]
1414

1515
steps:
1616
- name: Checkout repo
1717
uses: actions/checkout@v4
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
23+
allow-prereleases: true
2324

2425
- name: Install tree (macOS)
2526
if: matrix.os == 'macos-latest'

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.10",
3333
"Programming Language :: Python :: 3.11",
3434
"Programming Language :: Python :: 3.12",
35+
"Programming Language :: Python :: 3.13",
3536
"Topic :: Utilities",
3637
]
3738
dynamic = [
@@ -60,3 +61,6 @@ path = "bootstrapper/__init__.py"
6061
[tool.isort]
6162
profile = "black"
6263
known_first_party = "bootstrapper"
64+
65+
[tool.pyproject-fmt]
66+
max_supported_python = "3.13"

0 commit comments

Comments
 (0)