Bug 2246970 - python-texext fails to build with Sphinx 7.2.6 on Fedora Rawhide (40+)
Summary: python-texext fails to build with Sphinx 7.2.6 on Fedora Rawhide (40+)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-texext
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2232469
TreeView+ depends on / blocked
 
Reported: 2023-10-30 09:37 UTC by Karolina Surma
Modified: 2023-10-30 16:37 UTC (History)
1 user (show)

Fixed In Version: python-texext-0.6.7-7.fc40
Clone Of:
Environment:
Last Closed: 2023-10-30 16:37:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-10-30 09:37:29 UTC
python-texext fails to build with Sphinx 7.2.6 on Fedora Rawhide (40+).

The issue detected:
```
+ /usr/bin/pytest
________________________ TestDocstrings.test_docstrings ________________________

self = <texext.tests.test_docstrings.TestDocstrings object at 0x7f66df4048c0>

    def test_docstrings(self):
        html = self.get_built_file('a_page.html')
>       assert DOCSTRING_RE.search(html)
E       assert None
E        +  where None = <built-in method search of re.Pattern object at 0x555d8dc8f7b0>('<!DOCTYPE html>\n\n<html lang="en" data-content_root="./">\n  <head>\n    <meta charset="utf-8" />\n    <meta name="v...ef="_sources/a_page.rst.txt"\n          rel="nofollow">Page source</a>\n    </div>\n\n    \n\n    \n  </body>\n</html>')
E        +    where <built-in method search of re.Pattern object at 0x555d8dc8f7b0> = re.compile('<p>Here is the module docstring:</p>\\n<span class="target" id="module-texext.tests.for_docstrings"></span><p>A module to test docstring parsing with math such as <span class="math( notranslate)?( no).search

texext/tests/test_docstrings.py:92: AssertionError

=========================== short test summary info ============================
FAILED texext/tests/test_docstrings.py::TestDocstrings::test_docstrings - ass...
================== 1 failed, 16 passed, 13 warnings in 2.58s ===================
```

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-7.2.6/package/python-texext

You can test you package in mock running:

$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-7.2.6/fedora-rawhide-x86_64/ --no-clean your.src.rpm
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-7.2.6/fedora-rawhide-x86_64/ shell

We'd like to include Sphinx 7.2.x in Fedora 40.

Let us know here if you have any questions. Thank You!

Comment 1 Fedora Update System 2023-10-30 16:36:08 UTC
FEDORA-2023-15d47b8066 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-15d47b8066

Comment 2 Fedora Update System 2023-10-30 16:37:14 UTC
FEDORA-2023-15d47b8066 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.