Skip to content

Commit 010b46c

Browse files
committed
Allow Python 3.13 ...
although tests don't fully work
1 parent b9ff044 commit 010b46c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
from setuptools import find_packages, setup
55

66
SYS_VERSION = sys.version_info[0:2]
7-
if not ((3, 1) <= SYS_VERSION < (3, 13)):
8-
mess = "Python Versions 3.1 to 3.12 are supported only in this package."
7+
if not ((3, 1) <= SYS_VERSION < (3, 14)):
8+
mess = "Python Versions 3.1 to 3.13 are supported only in this package."
99
if (2, 4) <= SYS_VERSION <= (2, 7):
10-
mess += "\nFor your Python, version %s, See trepan2" % sys.version[0:3]
10+
mess += f"\nFor your Python, version {sys.version[0:3]}, See trepan2"
1111
elif SYS_VERSION < (2, 4):
12-
mess += "\nFor your Python, version %s, see pydb" % sys.version[0:3]
12+
mess += f"\nFor your Python, version {sys.version[0:3]}, see pydb"
1313
print(mess)
1414
raise Exception(mess)
1515

0 commit comments

Comments
 (0)