From: Stefano Rivera <stefano@rivera.za.net>
Date: Sat, 27 Dec 2025 10:51:37 -0400
Subject: Python 3.14 support:

The AST Constant `.s` attribute was replaced by `.value`
See: https://github.com/python/cpython/issues/119562

Forwarded: https://github.com/hhatto/pgmagick/pull/91
Bug-Debian: https://bugs.debian.org/1122003
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 3437894..40ee5a3 100644
--- a/setup.py
+++ b/setup.py
@@ -211,7 +211,7 @@ def version():
     with io.open('pgmagick/_version.py') as input_file:
         for line in input_file:
             if line.startswith('__version__'):
-                return ast.parse(line).body[0].value.s
+                return ast.parse(line).body[0].value.value
 
 
 setup(name='pgmagick',
