From 7374e3be242030ed251a23a4bcf141ac8f73da3a Mon Sep 17 00:00:00 2001 From: Deo Date: Mon, 28 Oct 2024 18:47:11 +0800 Subject: [PATCH] support python 3.12 --- setup_lineless.py | 3 ++- setup_table_cls.py | 3 ++- setup_wired.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/setup_lineless.py b/setup_lineless.py index 23571f0..5abea37 100644 --- a/setup_lineless.py +++ b/setup_lineless.py @@ -63,8 +63,9 @@ def read_txt(txt_path: Union[Path, str]) -> List[str]: "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], - python_requires=">=3.6,<3.12", + python_requires=">=3.6,<3.13", entry_points={ "console_scripts": [f"{MODULE_NAME}={MODULE_NAME}.main:main"], }, diff --git a/setup_table_cls.py b/setup_table_cls.py index 7a8e87d..edcb56d 100644 --- a/setup_table_cls.py +++ b/setup_table_cls.py @@ -56,6 +56,7 @@ def read_txt(txt_path: Union[Path, str]) -> List[str]: "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], - python_requires=">=3.6,<3.12", + python_requires=">=3.6,<3.13", ) diff --git a/setup_wired.py b/setup_wired.py index e4bfde9..eb4a127 100644 --- a/setup_wired.py +++ b/setup_wired.py @@ -63,8 +63,9 @@ def read_txt(txt_path: Union[Path, str]) -> List[str]: "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], - python_requires=">=3.6,<3.12", + python_requires=">=3.6,<3.13", entry_points={ "console_scripts": [f"{MODULE_NAME}={MODULE_NAME}.main:main"], },