Skip to content

Commit 2274bfb

Browse files
feat: pep-625 compliance, enabling python 3.13 and windows tests (#39)
1 parent 7325908 commit 2274bfb

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
matrix:
6161
os: [ubuntu-latest, macos-latest] # eventually add `windows-latest`
62-
python-version: [3.9, "3.10", "3.11", "3.12"]
62+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
6363

6464
steps:
6565
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=51.1.1", "wheel", "setuptools_scm[toml]>=5.0,<8"]
2+
requires = ["setuptools>=75.6.0", "wheel", "setuptools_scm[toml]>=5.0"]
33

44
[tool.mypy]
55
exclude = "build/"
@@ -15,7 +15,7 @@ write_to = "ape_optimism/version.py"
1515

1616
[tool.black]
1717
line-length = 100
18-
target-version = ['py39', 'py310', 'py311', 'py312']
18+
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
1919
include = '\.pyi?$'
2020

2121
[tool.pytest.ini_options]

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"mdformat-pyproject>=0.0.2", # Allows configuring in pyproject.toml
2626
],
2727
"release": [ # `release` GitHub Action job uses this
28-
"setuptools", # Installation tool
28+
"setuptools>=75.6.0", # Installation tool
2929
"wheel", # Packaging tool
3030
"twine", # Package upload tool
3131
],
@@ -85,5 +85,6 @@
8585
"Programming Language :: Python :: 3.10",
8686
"Programming Language :: Python :: 3.11",
8787
"Programming Language :: Python :: 3.12",
88+
"Programming Language :: Python :: 3.13",
8889
],
8990
)

0 commit comments

Comments
 (0)