Bug 2440191 - [heads up] python-treq will fail to build with Sphinx 9+ in Fedora 45: sphinx.errors.SphinxError: cannot determine default role!
Summary: [heads up] python-treq will fail to build with Sphinx 9+ in Fedora 45: sphinx...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-treq
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yatin Karel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2485974 (view as bug list)
Depends On:
Blocks: PYTHON3.15 F45FTBFS F45FailsToInstall 2419310 2485694
TreeView+ depends on / blocked
 
Reported: 2026-02-16 11:45 UTC by Karolina Surma
Modified: 2026-07-01 03:59 UTC (History)
4 users (show)

Fixed In Version: python-treq-25.5.0-5.fc45
Clone Of:
Environment:
Last Closed: 2026-06-16 19:52:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sphinx-doc sphinx issues 13904 0 None open "cannot determine default role" for inline interpreted text without role 2026-04-04 00:10:03 UTC
Github twisted treq issues 423 0 None open ` sphinx.errors.SphinxError: cannot determine default role!` when building docs with Sphinx 9.1.0 2026-04-04 00:10:03 UTC

Description Karolina Surma 2026-02-16 11:45:11 UTC
[heads up] python-treq will fail to build with Sphinx 9+ which is going to be shipped in Fedora 45.

Traceback
=========

      File "/usr/lib/python3.14/site-packages/sphinx/util/docutils.py", line 659, in __call__
        raise SphinxError(msg)
    sphinx.errors.SphinxError: cannot determine default role!

Build attempts: https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-9/package/python-treq/

I already reported it upstream: https://github.com/twisted/treq/issues/423

Thank you for working on this!

Comment 1 Orion Poplawski 2026-04-04 00:10:04 UTC
Just commenting here that this may be an upstream sphinx issue.

Comment 2 Karolina Surma 2026-06-06 18:25:31 UTC
*** Bug 2485974 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Fails To Install 2026-06-14 08:30:32 UTC
Hello,

Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py
If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 4 Fedora Update System 2026-06-16 18:32:32 UTC
FEDORA-2026-4ad9053763 (python-treq-25.5.0-5.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4ad9053763

Comment 5 Fedora Update System 2026-06-16 19:52:15 UTC
FEDORA-2026-4ad9053763 (python-treq-25.5.0-5.fc45) has been pushed to the Fedora 45 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.