From 0da254d4cfb391a399f5ba94aff54a6ef80d0b68 Mon Sep 17 00:00:00 2001 From: StalkR Date: Tue, 25 Nov 2025 18:37:34 +0100 Subject: [PATCH] setup.py: unbreak 3.14: Str.s deprecated, use Str.value --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4adb821..ffea8f1 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ def version(): with open('pyformat.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 with open('README.rst') as readme: