From dbe2b8a5fb4c5b69400a3735e99f2e42a560f2f2 Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 26 Oct 2024 18:38:07 +1000 Subject: [PATCH] Python 3.13 support --- .github/workflows/testing.yml | 2 +- setup.py | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 845e4d9fa..bdf8dd3ae 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: os: ["ubuntu-latest"] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] #include: # only test with Python 3.10 on Windows # - os: windows-latest diff --git a/setup.py b/setup.py index 034335d8b..289e15b3c 100644 --- a/setup.py +++ b/setup.py @@ -16,9 +16,6 @@ # along with this program. If not, see . import sys -import os -import shutil -import subprocess from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand @@ -67,8 +64,8 @@ def run_tests(self): include_package_data=True, zip_safe=False, platforms="any", - python_requires='>=3.8', - setup_requires=["setuptools>=17.1"], + python_requires=">=3.8", + setup_requires=["setuptools>=61.0"], classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -86,6 +83,7 @@ def run_tests(self): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", ], )