Bug 1977648 - python-sphinxcontrib-trio fails to build with Sphinx 4.0.2
Summary: python-sphinxcontrib-trio fails to build with Sphinx 4.0.2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinxcontrib-trio
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.10 F35FTBFS 1973718 F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-06-30 08:29 UTC by Karolina Surma
Modified: 2021-09-05 08:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-05 08:20:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2021-06-30 08:29:17 UTC
python-sphinxcontrib-trio fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide).

+ make -C docs html SPHINXBUILD=/usr/bin/sphinx-build-3
make: Entering directory '/builddir/build/BUILD/sphinxcontrib-trio-1.1.2/docs'
Running Sphinx v4.0.2
making output directory... done
Exception occurred:
  File "/builddir/build/BUILD/sphinxcontrib-trio-1.1.2/docs/source/conf.py", line 41, in setup
    app.add_stylesheet("hack.css")
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/python-sphinxcontrib-trio/

You can test you package using Koji scratch build
koji build --scratch <srpm>

For details regarding the Sphinx change, see https://fedoraproject.org/wiki/Changes/Sphinx4
Let us know here if you have any questions. Thank you!

Comment 2 Ben Cotton 2021-08-10 13:10:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.


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