Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-docs-theme for
openSUSE:Factory checked in at 2026-03-05 17:13:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-docs-theme (Old)
and /work/SRC/openSUSE:Factory/.python-python-docs-theme.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-docs-theme"
Thu Mar 5 17:13:59 2026 rev:14 rq:1336182 version:2026.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-docs-theme/python-python-docs-theme.changes
2026-01-27 16:06:41.227927857 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-docs-theme.new.561/python-python-docs-theme.changes
2026-03-05 17:15:15.706933063 +0100
@@ -1,0 +2,9 @@
+Tue Mar 3 18:50:39 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2026.2:
+ * Style codeblock `:caption:`
+ * Enable copy button for shell sessions and consoles
+ * Add colors for thread safety annotations
+ * Replace pre-commit with prek in CI
+
+-------------------------------------------------------------------
Old:
----
python_docs_theme-2025.12.tar.gz
New:
----
python_docs_theme-2026.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-docs-theme.spec ++++++
--- /var/tmp/diff_new_pack.6N3qZY/_old 2026-03-05 17:15:16.650972303 +0100
+++ /var/tmp/diff_new_pack.6N3qZY/_new 2026-03-05 17:15:16.654972469 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-python-docs-theme
-Version: 2025.12
+Version: 2026.2
Release: 0
Summary: The Sphinx theme for the CPython docs and related projects
License: Python-2.0
++++++ python_docs_theme-2025.12.tar.gz -> python_docs_theme-2026.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_docs_theme-2025.12/PKG-INFO
new/python_docs_theme-2026.2/PKG-INFO
--- old/python_docs_theme-2025.12/PKG-INFO 1970-01-01 01:00:00.000000000
+0100
+++ new/python_docs_theme-2026.2/PKG-INFO 1970-01-01 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: python-docs-theme
-Version: 2025.12
+Version: 2026.2
Summary: The Sphinx theme for the CPython docs and related projects
Author: Python Docs Sphinx Theme maintainers
Requires-Python: >=3.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_docs_theme-2025.12/python_docs_theme/__init__.py
new/python_docs_theme-2026.2/python_docs_theme/__init__.py
--- old/python_docs_theme-2025.12/python_docs_theme/__init__.py 2025-12-10
16:47:36.000000000 +0100
+++ new/python_docs_theme-2026.2/python_docs_theme/__init__.py 2026-02-27
15:57:38.000000000 +0100
@@ -11,7 +11,7 @@
from sphinx.application import Sphinx
from sphinx.util.typing import ExtensionMetadata
-__version__ = "2025.12"
+__version__ = "2026.2"
THEME_PATH = Path(__file__).resolve().parent
LOCALE_DIR = THEME_PATH / "locale"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_docs_theme-2025.12/python_docs_theme/static/copybutton.js
new/python_docs_theme-2026.2/python_docs_theme/static/copybutton.js
--- old/python_docs_theme-2025.12/python_docs_theme/static/copybutton.js
2025-12-10 16:47:36.000000000 +0100
+++ new/python_docs_theme-2026.2/python_docs_theme/static/copybutton.js
2026-02-27 15:57:38.000000000 +0100
@@ -62,6 +62,12 @@
+ ".highlight-python3 .highlight,"
+ ".highlight-pycon .highlight,"
+ ".highlight-pycon3 .highlight,"
+ + ".highlight-bash .highlight,"
+ + ".highlight-console .highlight,"
+ + ".highlight-doscon .highlight,"
+ + ".highlight-ps1con .highlight,"
+ + ".highlight-sh .highlight,"
+ + ".highlight-shell-session .highlight,"
+ ".highlight-default .highlight"
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_docs_theme-2025.12/python_docs_theme/static/pydoctheme.css
new/python_docs_theme-2026.2/python_docs_theme/static/pydoctheme.css
--- old/python_docs_theme-2025.12/python_docs_theme/static/pydoctheme.css
2025-12-10 16:47:36.000000000 +0100
+++ new/python_docs_theme-2026.2/python_docs_theme/static/pydoctheme.css
2026-02-27 15:57:38.000000000 +0100
@@ -247,6 +247,25 @@
}
}
+div.code-block-caption {
+ background-color: #eee;
+ border: 1px solid #ac9;
+ border-bottom: none;
+ border-radius: 3px 3px 0 0;
+ padding: 0.3em 0.6em;
+ font-size: 90%;
+ color: #333;
+
+ & + div pre {
+ border-top-left-radius: 0 !important;
+ border-top-right-radius: 0 !important;
+ }
+
+ & + div .copybutton {
+ border-top-right-radius: 0 !important;
+ }
+}
+
/* Admonitions */
:root {
--admonition-background: #eee;
@@ -425,6 +444,26 @@
color: #229;
}
+/* C API thread safety annotations */
+:root {
+ --threadsafety-incompatible: var(--bad-color);
+ --threadsafety-compatible: var(--middle-color);
+ --threadsafety-safe: var(--good-color);
+}
+
+.threadsafety.threadsafety-incompatible {
+ color: var(--threadsafety-incompatible);
+}
+
+.threadsafety.threadsafety-compatible {
+ color: var(--threadsafety-compatible);
+}
+
+.threadsafety.threadsafety-safe {
+ color: var(--threadsafety-safe);
+}
+
+
dl > dt span ~ em,
.sig {
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console,
monospace;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_docs_theme-2025.12/python_docs_theme/static/pydoctheme_dark.css
new/python_docs_theme-2026.2/python_docs_theme/static/pydoctheme_dark.css
--- old/python_docs_theme-2025.12/python_docs_theme/static/pydoctheme_dark.css
2025-12-10 16:47:36.000000000 +0100
+++ new/python_docs_theme-2026.2/python_docs_theme/static/pydoctheme_dark.css
2026-02-27 15:57:38.000000000 +0100
@@ -97,6 +97,12 @@
border-color: #616161;
}
+div.code-block-caption {
+ background-color: #333;
+ border-color: #616161;
+ color: white;
+}
+
code {
background-color: #424242;
}