Bug 2232576

Summary: python-django FTBFS with Sphinx 7.1+
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-djangoAssignee: Ali Erdinc Koroglu <aekoroglu>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: aekoroglu, mhroncok, michel, mrunge, rdopiera, sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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: 2225274    

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