Re: [HEADS UP] Sphinx 5 and docutils 0.18.1 coming to Rawhide on July 11th

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 6/30/22 17:44, Bob Mauchin wrote:
> On Thu, 30 Jun 2022, 17:35 Karolina Surma, <ksurma@xxxxxxxxxx
> <mailto:ksurma@xxxxxxxxxx>> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux