Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sphinxcontrib-serializinghtml 
for openSUSE:Factory checked in at 2026-06-29 17:29:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-serializinghtml (Old)
 and      
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-serializinghtml.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinxcontrib-serializinghtml"

Mon Jun 29 17:29:46 2026 rev:7 rq:1362165 version:2.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-serializinghtml/python-sphinxcontrib-serializinghtml.changes
        2024-01-15 22:11:17.549425151 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-serializinghtml.new.11887/python-sphinxcontrib-serializinghtml.changes
     2026-06-29 17:30:16.765861655 +0200
@@ -1,0 +2,8 @@
+Sun Jun 28 11:32:00 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.0.0:
+  * Adopt Ruff
+  * Tighten MyPy settings
+  * Update GitHub actions versions
+
+-------------------------------------------------------------------

Old:
----
  sphinxcontrib_serializinghtml-1.1.10.tar.gz

New:
----
  sphinxcontrib_serializinghtml-2.0.0.tar.gz

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

Other differences:
------------------
++++++ python-sphinxcontrib-serializinghtml.spec ++++++
--- /var/tmp/diff_new_pack.xlFs9S/_old  2026-06-29 17:30:17.621891168 +0200
+++ /var/tmp/diff_new_pack.xlFs9S/_new  2026-06-29 17:30:17.625891306 +0200
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-sphinxcontrib-serializinghtml
 #
-# 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
@@ -27,14 +27,14 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-sphinxcontrib-serializinghtml%{psuffix}
-Version:        1.1.10
+Version:        2.0.0
 Release:        0
 Summary:        Sphinx extension which outputs serialized HTML files
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/sphinx-doc/sphinxcontrib-serializinghtml
 Source:         
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib_serializinghtml-%{version}.tar.gz
-BuildRequires:  %{python_module flit-core}
+BuildRequires:  %{python_module flit-core >= 3.7}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
@@ -70,8 +70,8 @@
 
 %if !%{with 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/serializinghtml
 %{python_sitelib}/sphinxcontrib_serializinghtml-%{version}*-info

++++++ sphinxcontrib_serializinghtml-1.1.10.tar.gz -> 
sphinxcontrib_serializinghtml-2.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib_serializinghtml-1.1.10/CHANGES 
new/sphinxcontrib_serializinghtml-2.0.0/CHANGES
--- old/sphinxcontrib_serializinghtml-1.1.10/CHANGES    2024-01-13 
03:51:15.372466300 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/CHANGES     1970-01-01 
01:00:00.000000000 +0100
@@ -1,58 +0,0 @@
-Release 1.1.10 (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.1.9 (2023-08-20)
-==========================
-
-* Serialise context["script_files"] and context["css_files"] as their filenames
-  on Sphinx 7.2.0.
-
-Release 1.1.8 (2023-08-14)
-==========================
-
-* Use ``os.PathLike`` over ``pathlib.Path``
-
-Release 1.1.7 (2023-08-09)
-==========================
-
-* Fix tests for Sphinx 7.1 and below
-
-Release 1.1.6 (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.1.5 (2021-05-23)
-==========================
-
-* Remove deprecation warnings for Sphinx-3.x
-
-Release 1.1.4 (2020-02-29)
-==========================
-
-* Fix package metadata has broken
-
-Release 1.1.3 (2019-04-05)
-==========================
-
-* Fix #6245: circular import error
-
-Release 1.1.1 (2019-02-17)
-==========================
-
-* Fix failed to load HTML extension
-
-Release 1.1.0 (2019-02-17)
-==========================
-
-* Add ``JSONHTMLBuilder`` and ``PickleHTMLBuilder`` (copied from sphinx 
package)
-
-Release 1.0.0 (2019-02-17)
-==========================
-
-* Initial release (copied from sphinx package)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib_serializinghtml-1.1.10/CHANGES.rst 
new/sphinxcontrib_serializinghtml-2.0.0/CHANGES.rst
--- old/sphinxcontrib_serializinghtml-1.1.10/CHANGES.rst        1970-01-01 
01:00:00.000000000 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/CHANGES.rst 2024-07-29 
03:09:54.131911300 +0200
@@ -0,0 +1,65 @@
+Release 2.0.0 (2024-07-28)
+==========================
+
+* Adopt Ruff
+* Tighten MyPy settings
+* Update GitHub actions versions
+
+Release 1.1.10 (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.1.9 (2023-08-20)
+==========================
+
+* Serialise context["script_files"] and context["css_files"] as their filenames
+  on Sphinx 7.2.0.
+
+Release 1.1.8 (2023-08-14)
+==========================
+
+* Use ``os.PathLike`` over ``pathlib.Path``
+
+Release 1.1.7 (2023-08-09)
+==========================
+
+* Fix tests for Sphinx 7.1 and below
+
+Release 1.1.6 (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.1.5 (2021-05-23)
+==========================
+
+* Remove deprecation warnings for Sphinx-3.x
+
+Release 1.1.4 (2020-02-29)
+==========================
+
+* Fix package metadata has broken
+
+Release 1.1.3 (2019-04-05)
+==========================
+
+* Fix #6245: circular import error
+
+Release 1.1.1 (2019-02-17)
+==========================
+
+* Fix failed to load HTML extension
+
+Release 1.1.0 (2019-02-17)
+==========================
+
+* Add ``JSONHTMLBuilder`` and ``PickleHTMLBuilder`` (copied from sphinx 
package)
+
+Release 1.0.0 (2019-02-17)
+==========================
+
+* Initial release (copied from sphinx package)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib_serializinghtml-1.1.10/LICENCE.rst 
new/sphinxcontrib_serializinghtml-2.0.0/LICENCE.rst
--- old/sphinxcontrib_serializinghtml-1.1.10/LICENCE.rst        1970-01-01 
01:00:00.000000000 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/LICENCE.rst 2024-07-29 
03:09:54.131911300 +0200
@@ -0,0 +1,29 @@
+License for sphinxcontrib-serializinghtml
+=========================================
+
+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_serializinghtml-1.1.10/LICENSE 
new/sphinxcontrib_serializinghtml-2.0.0/LICENSE
--- old/sphinxcontrib_serializinghtml-1.1.10/LICENSE    2024-01-13 
03:51:15.372466300 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/LICENSE     1970-01-01 
01:00:00.000000000 +0100
@@ -1,29 +0,0 @@
-License for sphinxcontrib-serializinghtml
-=========================================
-
-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_serializinghtml-1.1.10/PKG-INFO 
new/sphinxcontrib_serializinghtml-2.0.0/PKG-INFO
--- old/sphinxcontrib_serializinghtml-1.1.10/PKG-INFO   1970-01-01 
01:00:00.000000000 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/PKG-INFO    1970-01-01 
01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: sphinxcontrib-serializinghtml
-Version: 1.1.10
+Version: 2.0.0
 Summary: sphinxcontrib-serializinghtml is a sphinx extension which outputs 
"serialized" HTML files (json and pickle)
 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-serializinghtml
+Project-URL: Changelog, 
https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/blob/master/CHANGES.rst
+Project-URL: Code, https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/
 Project-URL: Download, https://pypi.org/project/sphinxcontrib-serializinghtml/
 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_serializinghtml-1.1.10/pyproject.toml 
new/sphinxcontrib_serializinghtml-2.0.0/pyproject.toml
--- old/sphinxcontrib_serializinghtml-1.1.10/pyproject.toml     2024-01-13 
03:51:15.372466300 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/pyproject.toml      2024-07-29 
03:09:54.131911300 +0200
@@ -8,11 +8,11 @@
 description = """sphinxcontrib-serializinghtml is a sphinx extension which \
 outputs "serialized" HTML files (json and pickle)"""
 readme = "README.rst"
-urls.Changelog = "https://www.sphinx-doc.org/en/master/changes.html";
-urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-serializinghtml";
+urls.Changelog = 
"https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/blob/master/CHANGES.rst";
+urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/";
 urls.Download = "https://pypi.org/project/sphinxcontrib-serializinghtml/";
 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"
 
@@ -48,9 +48,9 @@
     "pytest",
 ]
 lint = [
-    "flake8",
+    "ruff==0.5.5",
     "mypy",
-    "docutils-stubs",
+    "types-docutils",
 ]
 standalone = [
     "Sphinx>=5",
@@ -65,8 +65,8 @@
 
 [tool.flit.sdist]
 include = [
-    "CHANGES",
-    "LICENSE",
+    "CHANGES.rst",
+    "LICENCE.rst",
     # Tests
     "tests/",
     "tox.ini",
@@ -76,4 +76,34 @@
 ]
 
 [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_serializinghtml-1.1.10/sphinxcontrib/serializinghtml/__init__.py
 
new/sphinxcontrib_serializinghtml-2.0.0/sphinxcontrib/serializinghtml/__init__.py
--- 
old/sphinxcontrib_serializinghtml-1.1.10/sphinxcontrib/serializinghtml/__init__.py
  2024-01-13 03:51:15.372466300 +0100
+++ 
new/sphinxcontrib_serializinghtml-2.0.0/sphinxcontrib/serializinghtml/__init__.py
   2024-07-29 03:09:54.131911300 +0200
@@ -4,7 +4,7 @@
 import pickle
 import types
 from os import path
-from typing import Any
+from typing import TYPE_CHECKING
 
 from sphinx.application import ENV_PICKLE_FILENAME, Sphinx
 from sphinx.builders.html import BuildInfo, StandaloneHTMLBuilder
@@ -13,8 +13,18 @@
 
 from sphinxcontrib.serializinghtml import jsonimpl
 
-__version__ = '1.1.10'
-__version_info__ = (1, 1, 10)
+if TYPE_CHECKING:
+    from collections.abc import Sequence
+    from typing import Any, Protocol
+
+    class SerialisingImplementation(Protocol):
+        def dump(self, obj: Any, file: Any, *args: Any, **kwargs: Any) -> 
None: ...
+        def dumps(self, obj: Any, *args: Any, **kwargs: Any) -> str | bytes: 
...
+        def load(self, file: Any, *args: Any, **kwargs: Any) -> Any: ...
+        def loads(self, data: Any, *args: Any, **kwargs: Any) -> Any: ...
+
+__version__ = '2.0.0'
+__version_info__ = (2, 0, 0)
 
 package_dir = path.abspath(path.dirname(__file__))
 
@@ -31,11 +41,11 @@
     """
     #: the serializing implementation to use.  Set this to a module that
     #: implements a `dump`, `load`, `dumps` and `loads` functions
-    #: (pickle, simplejson etc.)
-    implementation: Any = None
+    #: (pickle, json etc.)
+    implementation: SerialisingImplementation
     implementation_dumps_unicode = False
     #: additional arguments for dump()
-    additional_dump_args: tuple = ()
+    additional_dump_args: Sequence[Any] = ()
 
     #: the filename for the global context file
     globalcontext_filename: str = ''
@@ -62,7 +72,7 @@
             return docname[:-5]  # up to sep
         return docname + SEP
 
-    def dump_context(self, context: dict, filename: str | os.PathLike[str]) -> 
None:
+    def dump_context(self, context: dict[str, Any], filename: str | 
os.PathLike[str]) -> None:
         context = context.copy()
         if 'css_files' in context:
             context['css_files'] = [css.filename for css in 
context['css_files']]
@@ -75,7 +85,7 @@
             with open(filename, 'wb') as fb:
                 self.implementation.dump(context, fb, 
*self.additional_dump_args)
 
-    def handle_page(self, pagename: str, ctx: dict, templatename: str = 
'page.html',
+    def handle_page(self, pagename: str, ctx: dict[str, Any], templatename: 
str = 'page.html',
                     outfilename: str | None = None, event_arg: Any = None) -> 
None:
         ctx['current_page_name'] = pagename
         ctx.setdefault('pathto', lambda p: p)
@@ -132,7 +142,7 @@
 
     implementation = pickle
     implementation_dumps_unicode = False
-    additional_dump_args = (pickle.HIGHEST_PROTOCOL,)
+    additional_dump_args: tuple[Any] = (pickle.HIGHEST_PROTOCOL,)
     indexer_format = pickle
     indexer_dumps_unicode = False
     out_suffix = '.fpickle'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib_serializinghtml-1.1.10/sphinxcontrib/serializinghtml/jsonimpl.py
 
new/sphinxcontrib_serializinghtml-2.0.0/sphinxcontrib/serializinghtml/jsonimpl.py
--- 
old/sphinxcontrib_serializinghtml-1.1.10/sphinxcontrib/serializinghtml/jsonimpl.py
  2024-01-13 03:51:15.372466300 +0100
+++ 
new/sphinxcontrib_serializinghtml-2.0.0/sphinxcontrib/serializinghtml/jsonimpl.py
   2024-07-29 03:09:54.131911300 +0200
@@ -4,7 +4,7 @@
 
 import json
 from collections import UserString
-from typing import Any, IO
+from typing import IO, Any
 
 
 class SphinxJSONEncoder(json.JSONEncoder):
@@ -15,9 +15,9 @@
         return super().default(obj)
 
 
-def dump(obj: Any, fp: IO, *args: Any, **kwds: Any) -> None:
+def dump(obj: Any, file: IO[str] | IO[bytes], *args: Any, **kwds: Any) -> None:
     kwds['cls'] = SphinxJSONEncoder
-    json.dump(obj, fp, *args, **kwds)
+    json.dump(obj, file, *args, **kwds)
 
 
 def dumps(obj: Any, *args: Any, **kwds: Any) -> str:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib_serializinghtml-1.1.10/tests/conftest.py 
new/sphinxcontrib_serializinghtml-2.0.0/tests/conftest.py
--- old/sphinxcontrib_serializinghtml-1.1.10/tests/conftest.py  2024-01-13 
03:51:15.380466200 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/tests/conftest.py   2024-07-29 
03:09:54.139911400 +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_serializinghtml-1.1.10/tests/test_serializinghtml.py 
new/sphinxcontrib_serializinghtml-2.0.0/tests/test_serializinghtml.py
--- old/sphinxcontrib_serializinghtml-1.1.10/tests/test_serializinghtml.py      
2024-01-13 03:51:15.380466200 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/tests/test_serializinghtml.py       
2024-07-29 03:09:54.139911400 +0200
@@ -1,13 +1,20 @@
 """Test for serializinghtml extension."""
 
+from __future__ import annotations
+
+from typing import TYPE_CHECKING
+
 import pytest
 
+if TYPE_CHECKING:
+    from sphinx.application import Sphinx
+
 
 @pytest.mark.sphinx('json', testroot='basic')
-def test_json(app, status, warning):
+def test_json(app: Sphinx) -> None:
     app.builder.build_all()
 
 
 @pytest.mark.sphinx('pickle', testroot='basic')
-def test_pickle(app, status, warning):
+def test_pickle(app: Sphinx) -> None:
     app.builder.build_all()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib_serializinghtml-1.1.10/tox.ini 
new/sphinxcontrib_serializinghtml-2.0.0/tox.ini
--- old/sphinxcontrib_serializinghtml-1.1.10/tox.ini    2024-01-13 
03:51:15.380466200 +0100
+++ new/sphinxcontrib_serializinghtml-2.0.0/tox.ini     2024-07-29 
03:09:54.139911400 +0200
@@ -2,7 +2,7 @@
 minversion = 2.4.0
 envlist =
     py{39,310,311,312,313},
-    flake8,
+    ruff,
     mypy
 isolated_build = True
 
@@ -18,14 +18,14 @@
 commands=
     pytest --durations 25 {posargs}
 
-[testenv:flake8]
+[testenv:ruff]
 description =
     Run style checks.
 extras =
     test
     lint
 commands=
-    flake8
+    ruff check
 
 [testenv:mypy]
 description =
@@ -34,4 +34,4 @@
     test
     lint
 commands=
-    mypy sphinxcontrib/ --explicit-package-bases
+    mypy

Reply via email to