Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinx-theme-builder for
openSUSE:Factory checked in at 2025-11-19 15:00:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx-theme-builder (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx-theme-builder.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-theme-builder"
Wed Nov 19 15:00:20 2025 rev:5 rq:1318535 version:0.2.0b2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx-theme-builder/python-sphinx-theme-builder.changes
2025-08-04 15:25:41.868199038 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx-theme-builder.new.2061/python-sphinx-theme-builder.changes
2025-11-19 15:04:17.782414763 +0100
@@ -1,0 +2,6 @@
+Wed Nov 12 01:52:03 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-python314.patch:
+ * Support Python 3.14 ast changes.
+
+-------------------------------------------------------------------
New:
----
support-python314.patch
----------(New B)----------
New:
- Add patch support-python314.patch:
* Support Python 3.14 ast changes.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx-theme-builder.spec ++++++
--- /var/tmp/diff_new_pack.jk1XmV/_old 2025-11-19 15:04:23.050637281 +0100
+++ /var/tmp/diff_new_pack.jk1XmV/_new 2025-11-19 15:04:23.054637450 +0100
@@ -26,6 +26,8 @@
Source:
https://github.com/pradyunsg/sphinx-theme-builder/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Support click 8.2 changes
Patch0: support-click-8.2.patch
+# PATCH-FIX-UPSTREAM gh#pradyunsg/sphinx-theme-builder#51
+Patch1: support-python314.patch
BuildRequires: %{python_module click}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module packaging}
++++++ support-python314.patch ++++++
>From bef651880a125419e5b53eb0a1b9c236d01f5228 Mon Sep 17 00:00:00 2001
From: Jerry James <[email protected]>
Date: Mon, 27 Jan 2025 17:04:02 -0700
Subject: [PATCH] Avoid ast.Str for python 3.14 compatibility
---
src/sphinx_theme_builder/_internal/project.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/sphinx_theme_builder/_internal/project.py
b/src/sphinx_theme_builder/_internal/project.py
index b90e677..98eaf26 100644
--- a/src/sphinx_theme_builder/_internal/project.py
+++ b/src/sphinx_theme_builder/_internal/project.py
@@ -40,9 +40,10 @@ def get_version_using_ast(contents: bytes) -> Optional[str]:
and len(child.targets) == 1
and isinstance(child.targets[0], ast.Name)
and child.targets[0].id == "__version__"
- and isinstance(child.value, ast.Str)
+ and isinstance(child.value, ast.Constant)
+ and isinstance(child.value.value, str)
):
- version = child.value.s
+ version = child.value.value
break
return version