Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pallets-Sphinx-Themes for openSUSE:Factory checked in at 2023-05-24 20:22:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pallets-Sphinx-Themes (Old) and /work/SRC/openSUSE:Factory/.python-Pallets-Sphinx-Themes.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pallets-Sphinx-Themes" Wed May 24 20:22:14 2023 rev:4 rq:1088693 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pallets-Sphinx-Themes/python-Pallets-Sphinx-Themes.changes 2023-04-22 22:03:29.710305063 +0200 +++ /work/SRC/openSUSE:Factory/.python-Pallets-Sphinx-Themes.new.1533/python-Pallets-Sphinx-Themes.changes 2023-05-24 20:22:29.676226827 +0200 @@ -1,0 +2,14 @@ +Tue May 23 12:48:13 UTC 2023 - Johannes Kastl <ka...@b1-systems.de> + +- move sle15 macro to top + +------------------------------------------------------------------- +Mon May 22 21:21:54 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 2.1.0: + * Drop support for Python 3.6 and 3.7. + * Require Sphinx >= 3. + * Remove previously deprecated code. + * Fix table of contents overflow issue. + +------------------------------------------------------------------- Old: ---- Pallets-Sphinx-Themes-2.0.3.tar.gz New: ---- Pallets-Sphinx-Themes-2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pallets-Sphinx-Themes.spec ++++++ --- /var/tmp/diff_new_pack.bwEifL/_old 2023-05-24 20:22:30.588232265 +0200 +++ /var/tmp/diff_new_pack.bwEifL/_new 2023-05-24 20:22:30.596232313 +0200 @@ -16,24 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-Pallets-Sphinx-Themes -Version: 2.0.3 +Version: 2.1.0 Release: 0 Summary: Themes for the Pallets projects. License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/pallets/pallets-sphinx-themes/ Source: https://files.pythonhosted.org/packages/source/P/Pallets-Sphinx-Themes/Pallets-Sphinx-Themes-%{version}.tar.gz -BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module Sphinx >= 3} BuildRequires: %{python_module packaging} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -Requires: python-Sphinx -Requires: python-packaging BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-Sphinx >= 3 +Requires: python-packaging BuildArch: noarch %python_subpackages @@ -53,9 +51,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst CHANGES.rst %license LICENSE.rst +%doc README.rst CHANGES.rst %{python_sitelib}/pallets_sphinx_themes/ %{python_sitelib}/Pallets_Sphinx_Themes-%{version}-py*.egg-info ++++++ Pallets-Sphinx-Themes-2.0.3.tar.gz -> Pallets-Sphinx-Themes-2.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/CHANGES.rst new/Pallets-Sphinx-Themes-2.1.0/CHANGES.rst --- old/Pallets-Sphinx-Themes-2.0.3/CHANGES.rst 2022-12-24 18:12:26.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/CHANGES.rst 2023-04-25 19:28:30.000000000 +0200 @@ -1,3 +1,14 @@ +Version 2.1.0 +------------- + +Released 2023-04-25 + +- Drop support for Python 3.6 and 3.7. +- Require Sphinx >= 3. +- Remove previously deprecated code. +- Fix table of contents overflow issue. + + Version 2.0.3 ------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/PKG-INFO new/Pallets-Sphinx-Themes-2.1.0/PKG-INFO --- old/Pallets-Sphinx-Themes-2.0.3/PKG-INFO 2022-12-24 18:13:29.126101300 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/PKG-INFO 2023-04-25 19:30:32.682757600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Pallets-Sphinx-Themes -Version: 2.0.3 +Version: 2.1.0 Summary: Sphinx themes for Pallets and related projects. Home-page: https://github.com/pallets/pallets-sphinx-themes/ Author: Pallets @@ -9,7 +9,6 @@ Project-URL: Donate, https://palletsprojects.com/donate Project-URL: Source Code, https://github.com/pallets/pallets-sphinx-themes/ Project-URL: Issue Tracker, https://github.com/pallets/pallets-sphinx-themes/issues/ -Project-URL: Twitter, https://twitter.com/PalletsTeam Project-URL: Chat, https://discord.gg/pallets Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Sphinx @@ -21,7 +20,7 @@ Classifier: Topic :: Documentation Classifier: Topic :: Documentation :: Sphinx Classifier: Topic :: Software Development :: Documentation -Requires-Python: >=3.6 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst License-File: LICENSE.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/setup.cfg new/Pallets-Sphinx-Themes-2.1.0/setup.cfg --- old/Pallets-Sphinx-Themes-2.0.3/setup.cfg 2022-12-24 18:13:29.126101300 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/setup.cfg 2023-04-25 19:30:32.682757600 +0200 @@ -1,12 +1,11 @@ [metadata] name = Pallets-Sphinx-Themes -version = 2.0.3 +version = 2.1.0 url = https://github.com/pallets/pallets-sphinx-themes/ project_urls = Donate = https://palletsprojects.com/donate Source Code = https://github.com/pallets/pallets-sphinx-themes/ Issue Tracker = https://github.com/pallets/pallets-sphinx-themes/issues/ - Twitter = https://twitter.com/PalletsTeam Chat = https://discord.gg/pallets license = BSD-3-Clause license_files = LICENSE.rst @@ -31,7 +30,7 @@ packages = find: package_dir = = src include_package_data = True -python_requires = >= 3.6 +python_requires = >= 3.8 [options.packages.find] where = src @@ -68,7 +67,7 @@ [mypy] files = src/pallets_sphinx_themes -python_version = 3.6 +python_version = 3.7 disallow_subclassing_any = True disallow_untyped_calls = True disallow_untyped_defs = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/setup.py new/Pallets-Sphinx-Themes-2.1.0/setup.py --- old/Pallets-Sphinx-Themes-2.0.3/setup.py 2022-12-24 17:25:44.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/setup.py 2023-04-25 19:21:40.000000000 +0200 @@ -2,9 +2,8 @@ setup( name="Pallets-Sphinx-Themes", - install_requires = [ - "importlib-metadata; python_version < '3.8'", + install_requires=[ "packaging", - "Sphinx", - ] + "Sphinx>=3", + ], ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/Pallets_Sphinx_Themes.egg-info/PKG-INFO new/Pallets-Sphinx-Themes-2.1.0/src/Pallets_Sphinx_Themes.egg-info/PKG-INFO --- old/Pallets-Sphinx-Themes-2.0.3/src/Pallets_Sphinx_Themes.egg-info/PKG-INFO 2022-12-24 18:13:29.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/Pallets_Sphinx_Themes.egg-info/PKG-INFO 2023-04-25 19:30:32.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Pallets-Sphinx-Themes -Version: 2.0.3 +Version: 2.1.0 Summary: Sphinx themes for Pallets and related projects. Home-page: https://github.com/pallets/pallets-sphinx-themes/ Author: Pallets @@ -9,7 +9,6 @@ Project-URL: Donate, https://palletsprojects.com/donate Project-URL: Source Code, https://github.com/pallets/pallets-sphinx-themes/ Project-URL: Issue Tracker, https://github.com/pallets/pallets-sphinx-themes/issues/ -Project-URL: Twitter, https://twitter.com/PalletsTeam Project-URL: Chat, https://discord.gg/pallets Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Sphinx @@ -21,7 +20,7 @@ Classifier: Topic :: Documentation Classifier: Topic :: Documentation :: Sphinx Classifier: Topic :: Software Development :: Documentation -Requires-Python: >=3.6 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst License-File: LICENSE.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/Pallets_Sphinx_Themes.egg-info/requires.txt new/Pallets-Sphinx-Themes-2.1.0/src/Pallets_Sphinx_Themes.egg-info/requires.txt --- old/Pallets-Sphinx-Themes-2.0.3/src/Pallets_Sphinx_Themes.egg-info/requires.txt 2022-12-24 18:13:29.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/Pallets_Sphinx_Themes.egg-info/requires.txt 2023-04-25 19:30:32.000000000 +0200 @@ -1,5 +1,2 @@ packaging -Sphinx - -[:python_version < "3.8"] -importlib-metadata +Sphinx>=3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/__init__.py new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/__init__.py --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/__init__.py 2022-12-22 19:11:42.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/__init__.py 2023-04-25 19:23:09.000000000 +0200 @@ -4,6 +4,7 @@ import sys import textwrap from collections import namedtuple +from importlib import metadata as importlib_metadata from sphinx.application import Sphinx from sphinx.builders._epub_base import EpubBuilder @@ -15,12 +16,6 @@ from .theme_check import set_is_pallets_theme from .versions import load_versions -try: - from importlib import metadata as importlib_metadata -except ImportError: - # Python <3.8 compatibility - import importlib_metadata - def setup(app): base = os.path.join(os.path.dirname(__file__), "themes") @@ -79,23 +74,9 @@ set. However, it builds a URL ending with ".html" when using the dirhtml builder, which is incorrect. Detect this and generate the correct URL for each page. - - Also accepts the custom, deprecated ``canonical_url`` config as the - base URL. This will be removed in version 2.1. """ base = app.config.html_baseurl - if not base and context.get("canonical_url"): - import warnings - - warnings.warn( - "'canonical_url' config is deprecated and will be removed" - " in Pallets-Sphinx-Themes 2.1. Set Sphinx's 'html_baseurl'" - " config instead.", - DeprecationWarning, - ) - base = context["canonical_url"] - if ( not base or not isinstance(app.builder, DirectoryHTMLBuilder) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/babel/static/babel.css new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/babel/static/babel.css --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/babel/static/babel.css 2022-12-22 19:11:42.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/babel/static/babel.css 2023-04-22 17:05:50.000000000 +0200 @@ -11,12 +11,12 @@ a { color: #b00; - border-color: #b00; + text-decoration-color: #b00; } a:hover { color: #fc5e1e; - border-color: #fc5e1e; + text-decoration-color: #fc5e1e; } p.version-warning { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/click/domain.py new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/click/domain.py --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/click/domain.py 2022-12-24 17:25:44.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/click/domain.py 2023-04-25 19:19:12.000000000 +0200 @@ -66,12 +66,12 @@ class ExampleRunner(CliRunner): def __init__(self): - super(ExampleRunner, self).__init__(echo_stdin=True) + super().__init__(echo_stdin=True) self.namespace = {"click": click, "__file__": "dummy.py", "str": text_type} @contextlib.contextmanager def isolation(self, *args, **kwargs): - iso = super(ExampleRunner, self).isolation(*args, **kwargs) + iso = super().isolation(*args, **kwargs) with iso as streams: try: @@ -95,7 +95,7 @@ terminate_input=False, env=None, _output_lines=None, - **extra + **extra, ): """Like :meth:`CliRunner.invoke` but displays what the user would enter in the terminal for env vars, command args, and @@ -111,7 +111,7 @@ if env: for key, value in sorted(env.items()): value = shlex.quote(value) - output_lines.append("$ export {}={}".format(key, value)) + output_lines.append(f"$ export {key}={value}") args = args or [] @@ -130,7 +130,7 @@ if terminate_input: input += "\x04" - result = super(ExampleRunner, self).invoke( + result = super().invoke( cli=cli, args=args, input=input, env=env, prog_name=prog_name, **extra ) output_lines.extend(result.output.splitlines()) @@ -242,7 +242,7 @@ runner.close() raise - doc.append(".. sourcecode:: text", "") + doc.append(".. sourcecode:: shell-session", "") doc.append("", "") for line in rv: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/flask/static/flask.css new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/flask/static/flask.css --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/flask/static/flask.css 2022-12-22 19:11:42.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/flask/static/flask.css 2023-04-22 17:05:50.000000000 +0200 @@ -2,12 +2,12 @@ a, a.reference, a.footnote-reference { color: #004b6b; - border-color: #004b6b; + text-decoration-color: #004b6b; } a:hover { color: #6d4100; - border-color: #6d4100; + text-decoration-color: #6d4100; } p.version-warning { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/jinja/domain.py new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/jinja/domain.py --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/jinja/domain.py 2022-12-22 19:11:42.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/jinja/domain.py 2023-04-25 19:21:50.000000000 +0200 @@ -64,13 +64,13 @@ sig = sig.replace(parameters=params) - result = ["", ".. function:: {}{}".format(name, sig), ""] - result.extend([" {}".format(x) for x in doc]) + result = ["", f".. function:: {name}{sig}", ""] + result.extend([f" {x}" for x in doc]) if aliases: result.append("") - alias_str = ", ".join(["``{}``".format(x) for x in sorted(aliases)]) - result.append(" :aliases: {}".format(alias_str)) + alias_str = ", ".join([f"``{x}``" for x in sorted(aliases)]) + result.append(f" :aliases: {alias_str}") return result @@ -148,7 +148,7 @@ :return: A list of rendered nodes. """ # the reference markup to link to each name - names = [":func:`{}`".format(name) for name, _, _ in self.funcs] + names = [f":func:`{name}`" for name, _, _ in self.funcs] # total number of rows, the number of names divided by the # number of columns, plus one in case of overflow row_size = (len(names) // 5) + bool(len(names) % 5) @@ -162,7 +162,7 @@ # generate the markup for the csv-table directive result = ["", ".. csv-table::", " :align: left", ""] - result.extend([" {}".format(line) for line in out.getvalue().splitlines()]) + result.extend([f" {line}" for line in out.getvalue().splitlines()]) # parse the generated markup into nodes result = StringList(result, "<jinja>") @@ -227,9 +227,7 @@ # reference the parent node, except for the base node if cls.__base__ is not object: lines.append("") - lines.append( - " :Node type: :class:`{}`".format(cls.__base__.__name__) - ) + lines.append(f" :Node type: :class:`{cls.__base__.__name__}`") lines.append("") children = cls.__subclasses__() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/jinja/static/jinja.css new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/jinja/static/jinja.css --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/jinja/static/jinja.css 2022-12-22 19:11:42.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/jinja/static/jinja.css 2023-04-22 17:05:50.000000000 +0200 @@ -7,12 +7,12 @@ a, a.reference, a.footnote-reference { color: #a00; - border-color: #a00; + text-decoration-color: #a00; } a:hover { color: #d00; - border-color: #d00; + text-decoration-color: #d00; } p.version-warning { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/pocoo/static/pocoo.css new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/pocoo/static/pocoo.css --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/pocoo/static/pocoo.css 2022-12-22 19:11:42.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/pocoo/static/pocoo.css 2023-04-22 17:05:50.000000000 +0200 @@ -50,12 +50,25 @@ color: #444; } +div.sphinxsidebar li { + overflow: hidden; + text-overflow: ellipsis; +} + +div.sphinxsidebar li:hover { + overflow: visible; +} + div.sphinxsidebar a, div.sphinxsidebar a code { color: #444; border-color: #444; } +div.sphinxsidebar a:hover { + background-color:#fff; +} + div.sphinxsidebar p.logo { margin: 0; text-align: center; @@ -167,12 +180,13 @@ /* -- body styles --------------------------------------------------- */ a { - text-decoration: none; - border-bottom: 1px dotted #000; + text-decoration: underline; + text-decoration-style: dotted; + text-decoration-color: #000; } a:hover { - border-bottom-style: solid; + text-decoration-style: solid; } h1, h2, h3, h4, h5, h6 { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/werkzeug/static/werkzeug.css new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/werkzeug/static/werkzeug.css --- old/Pallets-Sphinx-Themes-2.0.3/src/pallets_sphinx_themes/themes/werkzeug/static/werkzeug.css 2022-12-22 19:11:42.000000000 +0100 +++ new/Pallets-Sphinx-Themes-2.1.0/src/pallets_sphinx_themes/themes/werkzeug/static/werkzeug.css 2023-04-22 17:05:50.000000000 +0200 @@ -2,12 +2,12 @@ a, a.reference, a.footnote-reference { color: #185f6d; - border-color: #185f6d; + text-decoration-color: #185f6d; } a:hover { color: #2794aa; - border-color: #2794aa; + text-decoration-color: #2794aa; } p.version-warning {