Bug 2440191

Summary: [heads up] python-treq will fail to build with Sphinx 9+ in Fedora 45: sphinx.errors.SphinxError: cannot determine default role!
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-treqAssignee: Yatin Karel <ykarel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: epel-packagers-sig, fti-bugs, orion, ykarel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-treq-25.5.0-5.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-16 19:52:15 UTC 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, 2433833, 2433836, 2419310, 2485694    

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.