File: Fix-build-with-Python-3.14.patch

package info (click to toggle)
sqlalchemy-utc 0.14.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 180 kB
  • sloc: python: 241; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 572 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Edward Betts <edward@4angle.com>
Date: Thu, 11 Dec 2025 08:53:30 +0000
Subject: Fix build with Python 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']