Bug 2025606 - snakemake FTBFS with Sphinx 4.3.0
Summary: snakemake FTBFS with Sphinx 4.3.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: snakemake
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Aniket Pradhan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-22 15:06 UTC by Karolina Surma
Modified: 2021-12-27 00:41 UTC (History)
2 users (show)

Fixed In Version: snakemake-6.12.3-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-27 00:41:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2021-11-22 15:06:55 UTC
Description of problem:

snakemake FTBFS with Sphinx 4.3.0 that's coming to Rawhide.

Version-Release number of selected component (if applicable):
snakemake 6.8.0-1 


How reproducible:
Always

Steps to reproduce:
Build snakemake locally in mock, adding the test COPR repo:

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

Actual results:
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v4.3.0
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 42 source files that are out of date
updating environment: [new config] 42 added, 0 changed, 0 removed
reading sources... [  2%] api_reference/internal/modules
reading sources... [  4%] api_reference/internal/snakemake
WARNING: autodoc: failed to import module 'benchmark' from module 'snakemake'; the following exception was raised:
No module named 'psutil'
Exception occurred:
  File "/usr/lib/python3.10/site-packages/sphinx/util/docstrings.py", line 75, in prepare_docstring
    lines = s.expandtabs(tabsize).splitlines()
AttributeError: 'member_descriptor' object has no attribute 'expandtabs'

Expected results:
Docs are built, build succeeds

Comment 1 Aniket Pradhan 2021-12-18 10:45:44 UTC
Fixed with the new version 6.12.3. Thanks for the report :D

Comment 2 Fedora Update System 2021-12-18 10:56:51 UTC
FEDORA-2021-54ad2e13d5 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-54ad2e13d5

Comment 3 Fedora Update System 2021-12-19 01:19:06 UTC
FEDORA-2021-54ad2e13d5 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-54ad2e13d5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-54ad2e13d5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-12-27 00:41:03 UTC
FEDORA-2021-54ad2e13d5 has been pushed to the Fedora 35 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.