Fix building with Python 3.14; resolves: rhbz#2322719

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
This commit is contained in:
Michel Lind 2024-12-20 16:52:55 -06:00
commit 8da4cb4fea
No known key found for this signature in database
GPG key ID: 8B229D2F7CCC04F2
2 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ class VersionFinder(ast.NodeVisitor):
def visit_Assign(self, node):
if node.targets[0].id == "__version__":
- self.version = node.value.s
+ self.version = node.value.value
def read(*parts):