Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-autodocsumm for openSUSE:Factory checked in at 2026-03-31 15:46:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-autodocsumm (Old) and /work/SRC/openSUSE:Factory/.python-autodocsumm.new.1999 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autodocsumm" Tue Mar 31 15:46:32 2026 rev:17 rq:1343768 version:0.2.15 Changes: -------- --- /work/SRC/openSUSE:Factory/python-autodocsumm/python-autodocsumm.changes 2024-10-25 19:19:32.846388112 +0200 +++ /work/SRC/openSUSE:Factory/.python-autodocsumm.new.1999/python-autodocsumm.changes 2026-03-31 15:46:34.185126645 +0200 @@ -1,0 +2,7 @@ +Mon Mar 30 20:54:29 UTC 2026 - Dirk Müller <[email protected]> + +- update to 0.2.15: + * add tests for python 3.13 + * Add support for Sphinx 9 + +------------------------------------------------------------------- Old: ---- autodocsumm-0.2.14.tar.gz New: ---- autodocsumm-0.2.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-autodocsumm.spec ++++++ --- /var/tmp/diff_new_pack.yP4njk/_old 2026-03-31 15:46:34.829153579 +0200 +++ /var/tmp/diff_new_pack.yP4njk/_new 2026-03-31 15:46:34.837153914 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-autodocsumm # -# 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 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-autodocsumm -Version: 0.2.14 +Version: 0.2.15 Release: 0 Summary: Extended sphinx autodoc including automatic autosummaries License: Apache-2.0 ++++++ autodocsumm-0.2.14.tar.gz -> autodocsumm-0.2.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.14/.github/workflows/python-app.yml new/autodocsumm-0.2.15/.github/workflows/python-app.yml --- old/autodocsumm-0.2.14/.github/workflows/python-app.yml 2024-10-21 14:26:29.000000000 +0200 +++ new/autodocsumm-0.2.15/.github/workflows/python-app.yml 2026-03-26 21:38:46.000000000 +0100 @@ -14,10 +14,13 @@ strategy: fail-fast: false matrix: - python-version: [ "3.10", "3.11", "3.12" ] + python-version: [ "3.10", "3.11", "3.12", "3.13" ] sphinx-version: [ - "8.0.*", "8.*" # 8.0.x and latest + "8.0.*", "9.*" # 8.0.x and latest ] + exclude: + - python-version: "3.10" + sphinx-version: "9.*" uses: ./.github/workflows/build.yml with: python-version: ${{ matrix.python-version }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.14/autodocsumm/__init__.py new/autodocsumm-0.2.15/autodocsumm/__init__.py --- old/autodocsumm-0.2.14/autodocsumm/__init__.py 2024-10-21 14:26:29.000000000 +0200 +++ new/autodocsumm-0.2.15/autodocsumm/__init__.py 2026-03-26 21:38:46.000000000 +0100 @@ -49,12 +49,20 @@ import sphinx -from sphinx.util.docutils import SphinxDirective - +from sphinx.errors import PycodeError from sphinx.ext.autodoc import ( - ClassDocumenter, ModuleDocumenter, ALL, PycodeError, - ModuleAnalyzer, AttributeDocumenter, DataDocumenter, Options, ExceptionDocumenter, - Documenter, prepare_docstring) + ALL, + AttributeDocumenter, + ClassDocumenter, + DataDocumenter, + Documenter, + ExceptionDocumenter, + ModuleDocumenter, + Options, +) +from sphinx.pycode import ModuleAnalyzer +from sphinx.util.docstrings import prepare_docstring +from sphinx.util.docutils import SphinxDirective import sphinx.ext.autodoc as ad signature = Signature = None @@ -713,8 +721,29 @@ return node.children +def _before_config_inited(app, config): + # Enable the legacy (``Documenter``) autodoc implementation + # for all users of the extension. + config.autodoc_use_legacy_class_based = True + + +def _after_config_inited(app, config): + # make sure to allow inheritance when registering new documenters + registry = app.registry.documenters + for cls in [AutoSummClassDocumenter, AutoSummModuleDocumenter, + CallableAttributeDocumenter, NoDataDataDocumenter, + NoDataAttributeDocumenter, AutoSummExceptionDocumenter]: + if not issubclass(registry.get(cls.objtype), cls): + app.add_autodocumenter(cls, override=True) + + def setup(app): """setup function for using this module as a sphinx extension""" + # Run before sphinx.ext.autodoc._register_directives(). + app.connect("config-inited", _before_config_inited, priority=400) + # Run after sphinx.ext.autodoc._register_directives(). + app.connect("config-inited", _after_config_inited, priority=600) + app.setup_extension('sphinx.ext.autosummary') app.setup_extension('sphinx.ext.autodoc') app.add_directive('autoclasssumm', AutoDocSummDirective) @@ -729,14 +758,6 @@ [option for option in AutoSummClassDocumenter.option_spec if option not in AUTODOC_DEFAULT_OPTIONS]) - # make sure to allow inheritance when registering new documenters - registry = app.registry.documenters - for cls in [AutoSummClassDocumenter, AutoSummModuleDocumenter, - CallableAttributeDocumenter, NoDataDataDocumenter, - NoDataAttributeDocumenter, AutoSummExceptionDocumenter]: - if not issubclass(registry.get(cls.objtype), cls): - app.add_autodocumenter(cls, override=True) - # group event app.add_event('autodocsumm-grouper') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.14/autodocsumm/_version.py new/autodocsumm-0.2.15/autodocsumm/_version.py --- old/autodocsumm-0.2.14/autodocsumm/_version.py 2024-10-21 14:26:29.000000000 +0200 +++ new/autodocsumm-0.2.15/autodocsumm/_version.py 2026-03-26 21:38:46.000000000 +0100 @@ -26,9 +26,9 @@ # setup.py/versioneer.py will grep for the variable names, so they must # each be defined on a line of their own. _version.py will just call # get_keywords(). - git_refnames = " (HEAD -> master, tag: v0.2.14)" - git_full = "f81147eff409d6de19564752c1e6182362b23e04" - git_date = "2024-10-21 14:26:29 +0200" + git_refnames = " (HEAD -> master, tag: v0.2.15)" + git_full = "735e7c035bafc639ce38169b2f8359228b9c5228" + git_date = "2026-03-26 21:38:46 +0100" keywords = {"refnames": git_refnames, "full": git_full, "date": git_date} return keywords diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.14/pyproject.toml new/autodocsumm-0.2.15/pyproject.toml --- old/autodocsumm-0.2.14/pyproject.toml 2024-10-21 14:26:29.000000000 +0200 +++ new/autodocsumm-0.2.15/pyproject.toml 2026-03-26 21:38:46.000000000 +0100 @@ -33,7 +33,7 @@ requires-python = '>= 3.7' dependencies = [ - 'Sphinx >= 4.0, < 9.0', + 'Sphinx >= 4.0, < 10.0', ] [project.urls]
