Bug 1930919

Summary: flint FTBFS with Sphinx 3.5
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: flintAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: extras-qa, loganjerry, paulo.cesar.pereira.de.andrade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: flint-2.6.3-3.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1930799 Environment:
Last Closed: 2021-02-22 15:30:35 UTC Type: Bug
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: 1928459    

Description Charalampos Stratakis 2021-02-19 19:18:44 UTC
Before every sphinx update a copr repo is set to test the dependant packages.

With Sphinx 3.5.1, flint is failing to build from source with:

Exception occurred:
  File "/usr/lib/python3.9/site-packages/sphinx/builders/html/__init__.py", line 1039, in <lambda>
    ctx['css_files'].sort(key=lambda js: js.priority)
AttributeError: 'str' object has no attribute 'priority'


Link to logs: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3_5/build/1970645/

Comment 1 Jerry James 2021-02-22 15:30:35 UTC
I have added flint-sphinx3.5.patch to work around the issue, but the patch does some questionable things.  I'm sure upstream will want to fix it differently.  I will talk to upstream about it.  In the meantime, the flint build should now succeed.

Comment 2 Charalampos Stratakis 2021-02-22 15:45:01 UTC
Thank you!