Bug 2479753

Summary: python-autodocsumm fails to build with Python 3.15: NotImplementedError: Cannot execute CSS selectors because the soupsieve package is not installed.
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-autodocsummAssignee: Benson Muite <benson_muite>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: benson_muite, ksurma, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2412434    

Description Karolina Surma 2026-05-19 08:35:12 UTC
python-autodocsumm fails to build with Python 3.15.0b1.

________________ TestAutosummaryDocumenter.test_sorted_sections ________________

self = <test_autodocsumm.TestAutosummaryDocumenter object at 0x7fbcb33678b0>
app = <SphinxTestApp buildername='html'>

    def test_sorted_sections(self, app):
        soup = get_soup(app, 'test_autoclasssumm_some_sections.html')
>       sections = soup.select("p strong")
                   ^^^^^^^^^^^^^^^^^^^^^^^

tests/test_autodocsumm.py:406: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.15/site-packages/bs4/element.py:3149: in select
    return self.css.select(selector, namespaces, limit, **kwargs)
           ^^^^^^^^
/usr/lib/python3.15/site-packages/bs4/element.py:3154: in css
    return CSS(self)
           ^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bs4.css.CSS object at 0x7fbcb2089010>
tag = <!DOCTYPE html>

<html data-content_root="./" lang="en">
<head>
<meta charset="utf-8"/>
<meta content="width=device-wi...   © Copyright .
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
    </div>
</body>
</html>
api = None

    def __init__(self, tag: element.Tag, api: Optional[ModuleType] = None):
        if api is None:
            api = soupsieve
        if api is None:
>           raise NotImplementedError(
                "Cannot execute CSS selectors because the soupsieve package is not installed."
            )
E           NotImplementedError: Cannot execute CSS selectors because the soupsieve package is not installed.

/usr/lib/python3.15/site-packages/bs4/css.py:63: NotImplementedError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-mockbuild/pytest-0/root
# outdir: /tmp/pytest-of-mockbuild/pytest-0/root/_build/html
# status: 
Running Sphinx v9.1.0
loading translations [en]... done
loading pickled environment... The configuration has changed (1 option: 'html_theme')
done
[autosummary] generating autosummary for: index.rst, test_autoclasssumm.rst, test_autoclasssumm_inline.rst, test_autoclasssumm_no_titles.rst, test_autoclasssumm_nosignatures.rst, test_autoclasssumm_some_sections.rst, test_autoexceptionsumm.rst, test_automodulesumm.rst, test_automodulesumm_nosignatures.rst, test_automodulesumm_some_sections.rst, ..., test_empty.rst, test_exception.rst, test_inherited.rst, test_module.rst, test_module_exclude_members.rst, test_module_no_nesting.rst, test_module_nosignatures.rst, test_module_submodule.rst, test_module_summary_only.rst, test_module_title.rst

# warning: 


https://docs.python.org/3.15/whatsnew/3.15.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15-b1/fedora-rawhide-x86_64/10477931-python-autodocsumm/

For all our attempts to build python-autodocsumm with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15-b1/package/python-autodocsumm/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.15:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15-b1/

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.