Bug 2232576 - python-django FTBFS with Sphinx 7.1+
Summary: python-django FTBFS with Sphinx 7.1+
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ali Erdinc Koroglu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2225274
TreeView+ depends on / blocked
 
Reported: 2023-08-17 12:55 UTC by Karolina Surma
Modified: 2023-08-17 12:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-08-17 12:55:00 UTC
python-django FTBFS with Sphinx 7.1+ which I want to include in Fedora Rawhide (F40).

Reproducible: Always

Steps to Reproduce:
Test locally the copr repo:

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


Actual Results:  
+ make html
sphinx-build -b djangohtml -n -d _build/doctrees -D language=en   . _build/html
Running Sphinx v7.1.2
<snip>
building [mo]: targets for 0 po files that are out of date
writing output... 
building [djangohtml]: targets for 564 source files that are out of date
updating environment: [new config] 564 added, 0 changed, 0 removed
reading sources... [100%] topics/testing/tools
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
writing output... [  2%] howto/custom-file-storage
Exception occurred:
  File "/usr/lib/python3.12/site-packages/sphinx/writers/html5.py", line 206, in visit_desc_parameter
    on_separate_line = self.multi_line_parameter_list
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DjangoHTMLTranslator' object has no attribute 'multi_line_parameter_list'. Did you mean: '_visit_sig_parameter_list'?

Expected Results:  
Build is successful

It seems it's already fixed upstream: https://github.com/django/django/commit/b3e0170ab546a96930ce3114b0a1a560953c0ff4


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