Hi,

On 6/30/22 17:44, Bob Mauchin wrote:
> On Thu, 30 Jun 2022, 17:35 Karolina Surma, <ksu...@redhat.com
> <mailto:ksu...@redhat.com>> wrote:
> 
>     Hello packagers,
> 
>     The new major version of the popular documentation framework Sphinx has
>     been recently released[0]. It brings many changes, among which there is
>     support of docutils 0.18.1. We aim to update both packages together in
>     Fedora Rawhide on **July 11th**.
> 
>     Common issues and mitigation
> 
>     - `None` is no longer accepted as value of `language` in conf.py
>     Solution: Use `language = 'en'` instead.
> 
>     - Build/ tests fail with: `AttributeError: 'path' object has no
>     attribute 'text'`
>     Solution: use `path.read_text()` instead
>      
> 
> 
>     Full list of known affected packages
> 
>     eclipseo   python-graphviz python-h2 python-priority
> 
> 
> Hello,
> 
> If we fix the common issues in Rawhide, will these fixes work on Fedora
> 36 with older Sphinx/docutils? 
> 
> Best regards, 
> 
> Robert-André

There is a good news.

`path.text()` has been deprecated since Sphinx 3 - the fix will work on
all active Fedora branches.

Regarding the language, it hasn't been automatically set to `None` since
at least Sphinx 2, but Sphinx 5 is the first one to enforce the string
value there. Fixing it should also work with all active Fedora releases.

The other issues will have to be checked case by case.

Cheers,
Karolina
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to