Bug 2221988 - cobbler fails to build with Sphinx 7.x
Summary: cobbler fails to build with Sphinx 7.x
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2188968
TreeView+ depends on / blocked
 
Reported: 2023-07-11 12:23 UTC by Karolina Surma
Modified: 2023-07-17 04:30 UTC (History)
5 users (show)

Fixed In Version: cobbler-3.3.3-6.fc39
Clone Of:
Environment:
Last Closed: 2023-07-17 04:30:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-07-11 12:23:17 UTC
cobbler fails to build with Sphinx 7.x in Fedora 39 (currently Rawhide).

The issue detected:

+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
Traceback (most recent call last):
  File "/builddir/build/BUILD/cobbler-3.3.3/setup.py", line 17, in <module>
    from sphinx.setup_command import BuildDoc
ModuleNotFoundError: No module named 'sphinx.setup_command'

Sphinx 7 has removed the setuptools integration.

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/doc-stack/package/cobbler/

You can test you package in mock running:

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

We'd like to include Sphinx 7 in Fedora 39.
Let us know here if you have any questions. Thank you!

Comment 1 Orion Poplawski 2023-07-17 04:30:25 UTC
Should be fixed with cobbler-3.3.3-6.fc39


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