Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sphinx_rtd_theme for 
openSUSE:Factory checked in at 2024-01-05 22:58:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx_rtd_theme (Old)
 and      /work/SRC/openSUSE:Factory/.python-sphinx_rtd_theme.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinx_rtd_theme"

Fri Jan  5 22:58:20 2024 rev:19 rq:1135629 version:2.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sphinx_rtd_theme/python-sphinx_rtd_theme.changes
  2023-09-04 22:52:29.329448543 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinx_rtd_theme.new.28375/python-sphinx_rtd_theme.changes
       2024-01-05 22:58:21.311563150 +0100
@@ -1,0 +2,10 @@
+Fri Dec 29 10:06:31 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.0.0:
+  * Fix #1522: fix 'str' object has no attribute 'attributes'
+  * Increment for next potential release
+  * Fix AttributeError when one of css_files is a string
+  * Add support for docutils==0.20.x
+  * Use css_tag helper to inject CSS files
+
+-------------------------------------------------------------------

Old:
----
  sphinx_rtd_theme-1.3.0.tar.gz

New:
----
  sphinx_rtd_theme-2.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sphinx_rtd_theme.spec ++++++
--- /var/tmp/diff_new_pack.XggF1R/_old  2024-01-05 22:58:22.091591730 +0100
+++ /var/tmp/diff_new_pack.XggF1R/_new  2024-01-05 22:58:22.095591877 +0100
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-sphinx_rtd_theme%{psuffix}
-Version:        1.3.0
+Version:        2.0.0
 Release:        0
 Summary:        ReadTheDocs.org theme for Sphinx
 License:        Apache-2.0 AND MIT AND OFL-1.1

++++++ sphinx_rtd_theme-1.3.0.tar.gz -> sphinx_rtd_theme-2.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinx_rtd_theme-1.3.0/PKG-INFO 
new/sphinx_rtd_theme-2.0.0/PKG-INFO
--- old/sphinx_rtd_theme-1.3.0/PKG-INFO 2023-08-21 20:28:13.676216800 +0200
+++ new/sphinx_rtd_theme-2.0.0/PKG-INFO 2023-11-28 05:13:44.706325500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: sphinx_rtd_theme
-Version: 1.3.0
+Version: 2.0.0
 Summary: Read the Docs theme for Sphinx
 Home-page: https://github.com/readthedocs/sphinx_rtd_theme
 Author: Dave Snider, Read the Docs, Inc. & contributors
@@ -92,8 +92,8 @@
 Classifier: Environment :: Console
 Classifier: Environment :: Web Environment
 Classifier: Intended Audience :: Developers
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
@@ -103,5 +103,5 @@
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Documentation
 Classifier: Topic :: Software Development :: Documentation
-Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7
+Requires-Python: >=3.6
 Provides-Extra: dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinx_rtd_theme-1.3.0/package.json 
new/sphinx_rtd_theme-2.0.0/package.json
--- old/sphinx_rtd_theme-1.3.0/package.json     2023-08-21 20:26:03.000000000 
+0200
+++ new/sphinx_rtd_theme-2.0.0/package.json     2023-11-28 05:12:29.000000000 
+0100
@@ -1,7 +1,7 @@
 {
   "name": "sphinx_rtd_theme",
   "main": "js/theme.js",
-  "version": "1.3.0",
+  "version": "2.0.0",
   "scripts": {
     "dev": "webpack-dev-server --open --config webpack.dev.js",
     "build": "webpack --config webpack.prod.js",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinx_rtd_theme-1.3.0/setup.cfg 
new/sphinx_rtd_theme-2.0.0/setup.cfg
--- old/sphinx_rtd_theme-1.3.0/setup.cfg        2023-08-21 20:28:13.679550200 
+0200
+++ new/sphinx_rtd_theme-2.0.0/setup.cfg        2023-11-28 05:13:44.709658900 
+0100
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 1.3.0
+current_version = 2.0.0
 commit = false
 tag = false
 parse = 
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<dev>\d+))?
@@ -27,8 +27,8 @@
        Environment :: Console
        Environment :: Web Environment
        Intended Audience :: Developers
-       Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
+       Programming Language :: Python :: 3 :: Only
        Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
        Programming Language :: Python :: 3.8
@@ -43,10 +43,10 @@
 include_package_data = True
 zip_safe = False
 packages = sphinx_rtd_theme
-python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
+python_requires = >=3.6
 install_requires = 
-       sphinx >=1.6,<8
-       docutils <0.19
+       sphinx >=5,<8
+       docutils <0.21
        sphinxcontrib-jquery >=4,<5
 tests_require = 
        pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinx_rtd_theme-1.3.0/setup.py 
new/sphinx_rtd_theme-2.0.0/setup.py
--- old/sphinx_rtd_theme-1.3.0/setup.py 2023-08-21 20:26:03.000000000 +0200
+++ new/sphinx_rtd_theme-2.0.0/setup.py 2023-11-28 05:12:29.000000000 +0100
@@ -86,7 +86,7 @@
 
 
 setup(
-    version='1.3.0',
+    version='2.0.0',
     cmdclass={
         'update_translations': UpdateTranslationsCommand,
         'transifex': TransifexCommand,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme/__init__.py 
new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme/__init__.py
--- old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme/__init__.py     2023-08-21 
20:26:03.000000000 +0200
+++ new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme/__init__.py     2023-11-28 
05:12:29.000000000 +0100
@@ -12,7 +12,7 @@
 from sphinx.util.logging import getLogger
 
 
-__version__ = '1.3.0'
+__version__ = '2.0.0'
 __version_full__ = __version__
 
 logger = getLogger(__name__)
@@ -40,15 +40,11 @@
 # See 
http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
 def setup(app):
     if python_version[0] < 3:
-        logger.warning("Python 2 is deprecated with sphinx_rtd_theme, update 
to Python 3")
-    app.require_sphinx('1.6')
-    if sphinx_version <= (2, 0, 0):
-        logger.warning("Sphinx 1.x is deprecated with sphinx_rtd_theme, update 
to Sphinx 2.x or greater")
-        if not app.config.html_experimental_html5_writer:
-            logger.warning("'html4_writer' is deprecated with 
sphinx_rtd_theme")
-    else:
-        if app.config.html4_writer:
-            logger.warning("'html4_writer' is deprecated with 
sphinx_rtd_theme")
+        logger.error("Python 2 is not supported with sphinx_rtd_theme, update 
to Python 3.")
+
+    app.require_sphinx('5.0')
+    if app.config.html4_writer:
+        logger.error("'html4_writer' is not supported with sphinx_rtd_theme.")
 
     # Since Sphinx 6, jquery isn't bundled anymore and we need to ensure that
     # the sphinxcontrib-jquery extension is enabled.
@@ -66,18 +62,14 @@
     # Register the theme that can be referenced without adding a theme path
     app.add_html_theme('sphinx_rtd_theme', 
path.abspath(path.dirname(__file__)))
 
-    if sphinx_version >= (1, 8, 0):
-        # Add Sphinx message catalog for newer versions of Sphinx
-        # See 
http://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_message_catalog
-        rtd_locale_path = path.join(path.abspath(path.dirname(__file__)), 
'locale')
-        app.add_message_catalog('sphinx', rtd_locale_path)
-        app.connect('config-inited', config_initiated)
+    # Add Sphinx message catalog for newer versions of Sphinx
+    # See 
http://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_message_catalog
+    rtd_locale_path = path.join(path.abspath(path.dirname(__file__)), 'locale')
+    app.add_message_catalog('sphinx', rtd_locale_path)
+    app.connect('config-inited', config_initiated)
 
     # sphinx emits the permalink icon for headers, so choose one more in 
keeping with our theme
-    if sphinx_version >= (3, 5, 0):
-        app.config.html_permalinks_icon = "\uf0c1"
-    else:
-        app.config.html_add_permalinks = "\uf0c1"
+    app.config.html_permalinks_icon = "\uf0c1"
 
     # Extend the default context when rendering the templates.
     app.connect("html-page-context", extend_html_context)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme/layout.html 
new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme/layout.html
--- old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme/layout.html     2023-02-07 
21:54:04.000000000 +0100
+++ new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme/layout.html     2023-10-31 
22:12:13.000000000 +0100
@@ -14,7 +14,7 @@
 {%- set sphinx_version_info = (_ver_major, _ver_minor, -1) -%}
 
 <!DOCTYPE html>
-<html class="{{ sphinx_writer }}" lang="{{ lang_attr }}" >
+<html class="{{ sphinx_writer }}" lang="{{ lang_attr }}"{% if 
sphinx_version_info >= (7, 2) %} data-content_root="{{ content_root }}"{% endif 
%}>
 <head>
   <meta charset="utf-8" />
   {{- metatags }}
@@ -28,16 +28,17 @@
     <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" 
type="text/css" />
     <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" 
type="text/css" />
   {%- endif %}
-  {%- for css in css_files %}
-    {%- if css|attr("rel") %}
-      <link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" 
type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif 
%} />
+  {%- for css_file in css_files %}
+    {%- if css_file|attr("filename") %}
+      {{ css_tag(css_file) }}
     {%- else %}
-      <link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
+      <link rel="stylesheet" href="{{ pathto(css_file, 1)|escape }}" 
type="text/css" />
     {%- endif %}
   {%- endfor %}
 
-  {%- for cssfile in extra_css_files %}
-    <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
+  {# "extra_css_files" is a theme option and it's always a string #}
+  {%- for css_file in extra_css_files %}
+    <link rel="stylesheet" href="{{ pathto(css_file, 1)|escape }}" 
type="text/css" />
   {%- endfor -%}
 
   {#- FAVICON
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme.egg-info/PKG-INFO 
new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme.egg-info/PKG-INFO
--- old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme.egg-info/PKG-INFO       
2023-08-21 20:28:13.000000000 +0200
+++ new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme.egg-info/PKG-INFO       
2023-11-28 05:13:44.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: sphinx-rtd-theme
-Version: 1.3.0
+Version: 2.0.0
 Summary: Read the Docs theme for Sphinx
 Home-page: https://github.com/readthedocs/sphinx_rtd_theme
 Author: Dave Snider, Read the Docs, Inc. & contributors
@@ -92,8 +92,8 @@
 Classifier: Environment :: Console
 Classifier: Environment :: Web Environment
 Classifier: Intended Audience :: Developers
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
@@ -103,5 +103,5 @@
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Documentation
 Classifier: Topic :: Software Development :: Documentation
-Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7
+Requires-Python: >=3.6
 Provides-Extra: dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme.egg-info/requires.txt 
new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme.egg-info/requires.txt
--- old/sphinx_rtd_theme-1.3.0/sphinx_rtd_theme.egg-info/requires.txt   
2023-08-21 20:28:13.000000000 +0200
+++ new/sphinx_rtd_theme-2.0.0/sphinx_rtd_theme.egg-info/requires.txt   
2023-11-28 05:13:44.000000000 +0100
@@ -1,5 +1,5 @@
-sphinx<8,>=1.6
-docutils<0.19
+sphinx<8,>=5
+docutils<0.21
 sphinxcontrib-jquery<5,>=4
 
 [dev]

Reply via email to