Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinxcontrib-devhelp for
openSUSE:Factory checked in at 2026-03-25 21:17:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-devhelp (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-devhelp.new.8177
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-devhelp"
Wed Mar 25 21:17:39 2026 rev:7 rq:1342410 version:2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-devhelp/python-sphinxcontrib-devhelp.changes
2024-07-22 17:14:03.431810484 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-devhelp.new.8177/python-sphinxcontrib-devhelp.changes
2026-03-27 06:49:10.629155797 +0100
@@ -1,0 +2,10 @@
+Wed Mar 25 08:56:19 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.0.0:
+ * Adopt Ruff
+ * Tighten MyPy settings
+ * Update GitHub actions versions
+ * Avoid storing build time in gzip headers
+- drop no-store-btime-gzip.patch (upstream)
+
+-------------------------------------------------------------------
Old:
----
no-store-btime-gzip.patch
sphinxcontrib_devhelp-1.0.6.tar.gz
New:
----
sphinxcontrib_devhelp-2.0.0.tar.gz
----------(Old B)----------
Old: * Avoid storing build time in gzip headers
- drop no-store-btime-gzip.patch (upstream)
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-devhelp.spec ++++++
--- /var/tmp/diff_new_pack.1PApiV/_old 2026-03-27 06:49:11.161177706 +0100
+++ /var/tmp/diff_new_pack.1PApiV/_new 2026-03-27 06:49:11.161177706 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-devhelp
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-sphinxcontrib-devhelp%{psuffix}
-Version: 1.0.6
+Version: 2.0.0
Release: 0
Summary: Sphinx extension which outputs Devhelp documents
License: BSD-2-Clause
@@ -34,9 +34,6 @@
URL: https://github.com/sphinx-doc/sphinxcontrib-devhelp
Source0:
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib_devhelp-%{version}.tar.gz
Source99: python-sphinxcontrib-devhelp.rpmlintrc
-# PATCH-FIX-UPSTREAM no-store-btime-gzip.patch bsc#1227999 [email protected]
-# don't store build time in gzip headers to make building documentation
reproducible
-Patch0: no-store-btime-gzip.patch
%if %{with test}
BuildRequires: %{python_module Sphinx >= 5.0}
BuildRequires: %{python_module pytest}
@@ -72,8 +69,8 @@
%if %{without test}
%files %{python_files}
-%doc README.rst CHANGES
-%license LICENSE
+%doc README.rst CHANGES.rst
+%license LICENCE.rst
%dir %{python_sitelib}/sphinxcontrib
%{python_sitelib}/sphinxcontrib/devhelp
%{python_sitelib}/sphinxcontrib_devhelp-%{version}*-info
++++++ sphinxcontrib_devhelp-1.0.6.tar.gz -> sphinxcontrib_devhelp-2.0.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/CHANGES
new/sphinxcontrib_devhelp-2.0.0/CHANGES
--- old/sphinxcontrib_devhelp-1.0.6/CHANGES 2024-01-13 04:06:26.278896300
+0100
+++ new/sphinxcontrib_devhelp-2.0.0/CHANGES 1970-01-01 01:00:00.000000000
+0100
@@ -1,37 +0,0 @@
-Release 1.0.6 (2024-01-13)
-==========================
-
-* Remove Sphinx as a required dependency, as circular dependencies may cause
- failure with package managers that expect a directed acyclic graph (DAG)
- of dependencies.
-
-Release 1.0.5 (2023-08-14)
-==========================
-
-* Use ``os.PathLike`` over ``pathlib.Path``
-
-Release 1.0.4 (2023-08-09)
-==========================
-
-* Fix tests for Sphinx 7.1 and below
-
-Release 1.0.3 (2023-08-07)
-=========================
-
-* Drop support for Python 3.5, 3.6, 3.7, and 3.8
-* Raise minimum required Sphinx version to 5.0
-
-Release 1.0.2 (2019-02-29)
-==========================
-
-* Fix package metadata has broken
-
-Release 1.0.1 (2019-02-15)
-==========================
-
-* Fix release package does not contain locale files
-
-Release 1.0.0 (2019-01-20)
-==========================
-
-* Initial release (copied from sphinx package)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/CHANGES.rst
new/sphinxcontrib_devhelp-2.0.0/CHANGES.rst
--- old/sphinxcontrib_devhelp-1.0.6/CHANGES.rst 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinxcontrib_devhelp-2.0.0/CHANGES.rst 2024-07-29 03:09:01.744920500
+0200
@@ -0,0 +1,45 @@
+Release 2.0.0 (2024-07-28)
+==========================
+
+* Adopt Ruff
+* Tighten MyPy settings
+* Update GitHub actions versions
+* Avoid storing build time in gzip headers
+
+Release 1.0.6 (2024-01-13)
+==========================
+
+* Remove Sphinx as a required dependency, as circular dependencies may cause
+ failure with package managers that expect a directed acyclic graph (DAG)
+ of dependencies.
+
+Release 1.0.5 (2023-08-14)
+==========================
+
+* Use ``os.PathLike`` over ``pathlib.Path``
+
+Release 1.0.4 (2023-08-09)
+==========================
+
+* Fix tests for Sphinx 7.1 and below
+
+Release 1.0.3 (2023-08-07)
+=========================
+
+* Drop support for Python 3.5, 3.6, 3.7, and 3.8
+* Raise minimum required Sphinx version to 5.0
+
+Release 1.0.2 (2019-02-29)
+==========================
+
+* Fix package metadata has broken
+
+Release 1.0.1 (2019-02-15)
+==========================
+
+* Fix release package does not contain locale files
+
+Release 1.0.0 (2019-01-20)
+==========================
+
+* Initial release (copied from sphinx package)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/LICENCE.rst
new/sphinxcontrib_devhelp-2.0.0/LICENCE.rst
--- old/sphinxcontrib_devhelp-1.0.6/LICENCE.rst 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinxcontrib_devhelp-2.0.0/LICENCE.rst 2024-07-29 03:09:01.744920500
+0200
@@ -0,0 +1,29 @@
+License for sphinxcontrib-devhelp
+=================================
+
+Copyright (c) 2007-2019 by the Sphinx team
+(see https://github.com/sphinx-doc/sphinx/blob/master/AUTHORS).
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/LICENSE
new/sphinxcontrib_devhelp-2.0.0/LICENSE
--- old/sphinxcontrib_devhelp-1.0.6/LICENSE 2024-01-13 04:06:26.278896300
+0100
+++ new/sphinxcontrib_devhelp-2.0.0/LICENSE 1970-01-01 01:00:00.000000000
+0100
@@ -1,29 +0,0 @@
-License for sphinxcontrib-devhelp
-=================================
-
-Copyright (c) 2007-2019 by the Sphinx team
-(see https://github.com/sphinx-doc/sphinx/blob/master/AUTHORS).
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-* Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/PKG-INFO
new/sphinxcontrib_devhelp-2.0.0/PKG-INFO
--- old/sphinxcontrib_devhelp-1.0.6/PKG-INFO 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinxcontrib_devhelp-2.0.0/PKG-INFO 1970-01-01 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinxcontrib-devhelp
-Version: 1.0.6
+Version: 2.0.0
Summary: sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp
documents
Author-email: Georg Brandl <[email protected]>
Requires-Python: >=3.9
@@ -26,16 +26,16 @@
Classifier: Topic :: Documentation :: Sphinx
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
-Requires-Dist: flake8 ; extra == "lint"
+Requires-Dist: ruff==0.5.5 ; extra == "lint"
Requires-Dist: mypy ; extra == "lint"
-Requires-Dist: docutils-stubs ; extra == "lint"
+Requires-Dist: types-docutils ; extra == "lint"
Requires-Dist: Sphinx>=5 ; extra == "standalone"
Requires-Dist: pytest ; extra == "test"
-Project-URL: Changelog, https://www.sphinx-doc.org/en/master/changes.html
-Project-URL: Code, https://github.com/sphinx-doc/sphinxcontrib-devhelp
+Project-URL: Changelog,
https://github.com/sphinx-doc/sphinxcontrib-devhelp/blob/master/CHANGES.rst
+Project-URL: Code, https://github.com/sphinx-doc/sphinxcontrib-devhelp/
Project-URL: Download, https://pypi.org/project/sphinxcontrib-devhelp/
Project-URL: Homepage, https://www.sphinx-doc.org/
-Project-URL: Issue tracker, https://github.com/sphinx-doc/sphinx/issues
+Project-URL: Issue tracker, https://github.com/sphinx-doc/sphinx/issues/
Provides-Extra: lint
Provides-Extra: standalone
Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/pyproject.toml
new/sphinxcontrib_devhelp-2.0.0/pyproject.toml
--- old/sphinxcontrib_devhelp-1.0.6/pyproject.toml 2024-01-13
04:06:26.278896300 +0100
+++ new/sphinxcontrib_devhelp-2.0.0/pyproject.toml 2024-07-29
03:09:01.744920500 +0200
@@ -7,11 +7,11 @@
name = "sphinxcontrib-devhelp"
description = "sphinxcontrib-devhelp is a sphinx extension which outputs
Devhelp documents"
readme = "README.rst"
-urls.Changelog = "https://www.sphinx-doc.org/en/master/changes.html"
-urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-devhelp"
+urls.Changelog =
"https://github.com/sphinx-doc/sphinxcontrib-devhelp/blob/master/CHANGES.rst"
+urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-devhelp/"
urls.Download = "https://pypi.org/project/sphinxcontrib-devhelp/"
urls.Homepage = "https://www.sphinx-doc.org/"
-urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues"
+urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues/"
license.text = "BSD-2-Clause"
requires-python = ">=3.9"
@@ -47,9 +47,9 @@
"pytest",
]
lint = [
- "flake8",
+ "ruff==0.5.5",
"mypy",
- "docutils-stubs",
+ "types-docutils",
]
standalone = [
"Sphinx>=5",
@@ -64,12 +64,42 @@
[tool.flit.sdist]
include = [
- "CHANGES",
- "LICENSE",
+ "CHANGES.rst",
+ "LICENCE.rst",
# Tests
"tests/",
"tox.ini",
]
[tool.mypy]
-ignore_missing_imports = true
+python_version = "3.9"
+packages = [
+ "sphinxcontrib",
+ "tests",
+]
+exclude = [
+ "tests/roots",
+]
+check_untyped_defs = true
+disallow_any_generics = true
+disallow_incomplete_defs = true
+disallow_subclassing_any = true
+disallow_untyped_calls = true
+disallow_untyped_decorators = true
+disallow_untyped_defs = true
+explicit_package_bases = true
+extra_checks = true
+no_implicit_reexport = true
+show_column_numbers = true
+show_error_context = true
+strict_optional = true
+warn_redundant_casts = true
+warn_unused_configs = true
+warn_unused_ignores = true
+enable_error_code = [
+ "type-arg",
+ "redundant-self",
+ "truthy-iterable",
+ "ignore-without-code",
+ "unused-awaitable",
+]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib_devhelp-1.0.6/sphinxcontrib/devhelp/__init__.py
new/sphinxcontrib_devhelp-2.0.0/sphinxcontrib/devhelp/__init__.py
--- old/sphinxcontrib_devhelp-1.0.6/sphinxcontrib/devhelp/__init__.py
2024-01-13 04:06:26.278896300 +0100
+++ new/sphinxcontrib_devhelp-2.0.0/sphinxcontrib/devhelp/__init__.py
2024-07-29 03:09:01.744920500 +0200
@@ -9,11 +9,10 @@
import os
import re
from os import path
-from typing import Any
+from typing import TYPE_CHECKING, Any
from docutils import nodes
from sphinx import addnodes
-from sphinx.application import Sphinx
from sphinx.builders.html import StandaloneHTMLBuilder
from sphinx.environment.adapters.indexentries import IndexEntries
from sphinx.locale import get_translation
@@ -21,13 +20,13 @@
from sphinx.util.nodes import NodeMatcher
from sphinx.util.osutil import make_filename
-try:
- import xml.etree.ElementTree as etree
-except ImportError:
- import lxml.etree as etree # type: ignore
+if TYPE_CHECKING:
+ from sphinx.application import Sphinx
-__version__ = '1.0.6'
-__version_info__ = (1, 0, 6)
+import xml.etree.ElementTree as etree
+
+__version__ = '2.0.0'
+__version_info__ = (2, 0, 0)
logger = logging.getLogger(__name__)
__ = get_translation(__name__, 'console')
@@ -80,8 +79,7 @@
self.config.master_doc, self, prune_toctrees=False)
def write_toc(node: nodes.Node, parent: etree.Element) -> None:
- if isinstance(node, addnodes.compact_paragraph) or \
- isinstance(node, nodes.bullet_list):
+ if isinstance(node, (addnodes.compact_paragraph,
nodes.bullet_list)):
for subnode in node:
write_toc(subnode, parent)
elif isinstance(node, nodes.list_item):
@@ -93,7 +91,7 @@
parent.attrib['name'] = node.astext()
matcher = NodeMatcher(addnodes.compact_paragraph, toctree=Any)
- for node in tocdoc.findall(matcher): # type:
addnodes.compact_paragraph
+ for node in tocdoc.findall(matcher):
write_toc(node, chapters)
# Index
@@ -115,17 +113,17 @@
if subitems:
parent_title = re.sub(r'\s*\(.*\)\s*$', '', title)
for subitem in subitems:
- write_index("%s %s" % (parent_title, subitem[0]),
+ write_index(f'{parent_title} {subitem[0]}',
subitem[1], [])
- for (key, group) in index:
- for title, (refs, subitems, key) in group:
+ for (_group_key, group) in index:
+ for title, (refs, subitems, _category_key) in group:
write_index(title, refs, subitems)
# Dump the XML file
xmlfile = path.join(outdir, outname + '.devhelp.gz')
- with gzip.open(xmlfile, 'w') as f:
- tree.write(f, 'utf-8') # type: ignore
+ with gzip.GzipFile(filename=xmlfile, mode='w', mtime=0) as f:
+ tree.write(f, 'utf-8')
def setup(app: Sphinx) -> dict[str, Any]:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/tests/conftest.py
new/sphinxcontrib_devhelp-2.0.0/tests/conftest.py
--- old/sphinxcontrib_devhelp-1.0.6/tests/conftest.py 2024-01-13
04:06:26.282896300 +0100
+++ new/sphinxcontrib_devhelp-2.0.0/tests/conftest.py 2024-07-29
03:09:01.752920600 +0200
@@ -1,17 +1,14 @@
+from __future__ import annotations
+
from pathlib import Path
import pytest
-import sphinx
-
-pytest_plugins = 'sphinx.testing.fixtures'
+pytest_plugins = (
+ 'sphinx.testing.fixtures',
+)
@pytest.fixture(scope='session')
-def rootdir():
- if sphinx.version_info[:2] < (7, 2):
- from sphinx.testing.path import path
-
- return path(__file__).parent.abspath() / 'roots'
-
+def rootdir() -> Path:
return Path(__file__).resolve().parent / 'roots'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/tests/test_devhelp.py
new/sphinxcontrib_devhelp-2.0.0/tests/test_devhelp.py
--- old/sphinxcontrib_devhelp-1.0.6/tests/test_devhelp.py 2024-01-13
04:06:26.282896300 +0100
+++ new/sphinxcontrib_devhelp-2.0.0/tests/test_devhelp.py 2024-07-29
03:09:01.752920600 +0200
@@ -1,8 +1,32 @@
"""Test for devhelp extension."""
+from __future__ import annotations
+
+from time import sleep
+from typing import TYPE_CHECKING
+
import pytest
+if TYPE_CHECKING:
+ from sphinx.application import Sphinx
+
@pytest.mark.sphinx('devhelp', testroot='basic')
-def test_basic(app, status, warning):
+def test_basic(app: Sphinx) -> None:
app.builder.build_all()
+
+
[email protected]('devhelp', testroot='basic', freshenv=True)
+def test_basic_deterministic_build(app: Sphinx) -> None:
+ app.config.devhelp_basename, output_filename = 'testing',
'testing.devhelp.gz'
+
+ app.builder.build_all()
+ output_initial = (app.outdir / output_filename).read_bytes()
+
+ sleep(2)
+
+ app.builder.build_all()
+ output_repeat = (app.outdir / output_filename).read_bytes()
+
+ msg = f"Content of '{output_filename}' differed between builds."
+ assert output_repeat == output_initial, msg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib_devhelp-1.0.6/tox.ini
new/sphinxcontrib_devhelp-2.0.0/tox.ini
--- old/sphinxcontrib_devhelp-1.0.6/tox.ini 2024-01-13 04:06:26.282896300
+0100
+++ new/sphinxcontrib_devhelp-2.0.0/tox.ini 2024-07-29 03:09:01.752920600
+0200
@@ -2,7 +2,7 @@
minversion = 2.4.0
envlist =
py{39,310,311,312,313},
- flake8,
+ ruff,
mypy
isolated_build = True
@@ -17,14 +17,14 @@
commands=
pytest --durations 25 {posargs}
-[testenv:flake8]
+[testenv:ruff]
description =
Run style checks.
extras =
test
lint
commands=
- flake8
+ ruff check
[testenv:mypy]
description =
@@ -33,4 +33,4 @@
test
lint
commands=
- mypy sphinxcontrib/ --explicit-package-bases
+ mypy