From 28ec489247c25875b4d24e110c2678b15a87be86 Mon Sep 17 00:00:00 2001 From: slush Date: Thu, 5 Dec 2024 15:29:16 -0600 Subject: [PATCH 1/2] chore: pep-625 compliance and python 3.13 update --- .github/workflows/test.yaml | 2 +- pyproject.toml | 4 ++-- setup.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 00f14bdd..16796b79 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -51,7 +51,7 @@ jobs: # TODO: Replace with macos-latest when works again. # https://github.com/actions/setup-python/issues/808 os: [ubuntu-latest, macos-12] # eventually add `windows-latest` - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 3dbf9ef9..af6e0fb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=51.1.1", "wheel", "setuptools_scm[toml]>=5.0,<8"] +requires = ["setuptools>=75.6.0", "wheel", "setuptools_scm[toml]>=5.0"] [tool.mypy] exclude = "build/" @@ -14,7 +14,7 @@ write_to = "ape_aws/version.py" [tool.black] line-length = 100 -target-version = ['py310', 'py311', 'py312'] +target-version = ['py310', 'py311', 'py312', 'py313'] include = '\.pyi?$' [tool.pytest.ini_options] diff --git a/setup.py b/setup.py index 6a2a10b7..2b76dfca 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ "isort>=5.10.1,<6", # Import sorting linter ], "release": [ # `release` GitHub Action job uses this - "setuptools", # Installation tool + "setuptools>=75.6.0", # Installation tool "wheel", # Packaging tool "twine", # Package upload tool ], @@ -79,5 +79,6 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.12", ], ) From 7ab283247a1c26673c101bab79db0cab9dbb827c Mon Sep 17 00:00:00 2001 From: slush Date: Thu, 5 Dec 2024 15:35:58 -0600 Subject: [PATCH 2/2] fix: typo --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2b76dfca..0489dc83 100644 --- a/setup.py +++ b/setup.py @@ -79,6 +79,6 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ], )