From b539e5cd0527ecd65efbe0f2954bf1f7254fb9de Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 5 Apr 2026 04:28:11 +0200 Subject: [PATCH] Fix Python 3.14 compat The value attribute contains the Python object it represents. Constant.S has been deprecated in 3.8 and removed in 3.14. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2da8f43..1927e60 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def get_version(): continue target, = node.targets if isinstance(target, ast.Name) and target.id == '__version__': - return node.value.s + return node.value.value install_requires = ['setuptools', 'SQLAlchemy >= 0.9.0']