On 14. 06. 21 13:40, Alexander Bokovoy wrote:
On ma, 14 kesä 2021, Victor Stinner wrote:
> Congrats, that's amazing! :-) Let's fix remaining broken packages!
Right now the biggest broken package to us (FreeIPA) is mod_wsgi which
relied on Python C API which was removed in Python 3.10. The same API
was used by uWSGI as well, so it would really be great if Python core
developers and Python maintainers team could have helped mod_wsgi/uWSGI
upstreams to migrate from the old API.
Sadly, this was only found after the fact when a side-tag was already
merged, so FreeIPA right now is broken in Fedora Rawhide.
The problem in mod_wsgi was actually found and reported in November 2020 ,
which is exactly why we test with each pre-release of Python: To report
problems *early* and give maintainers time to fix them, so we can land the new
version with limited negative impact.
Unfortunately, the mod_wsgi maintainer did not respond to the problem :( While
we try really hard, we cannot report each failure to upstreams directly.
The fact that this blocks FreeIPA was indeed only discovered by chance while
the side tag rebuild was already in progress (and about to be merged). I wonder
haw can we improve the process to ensure problems like this are known to
FreeIPA maintainers since the beginning and prioritized accordingly. (Ideally,
the process would not only be improved for FreeIPA but the entire distro.)
I assume that opening bugzillas for all the dependent packages for each failure
would be considered as spam by many.
In the meantime, I've marked mod_wsgi as "blocker" for the Python 3.11
next year, but that is not a systematic solution.
I saw that there is some discussion and an effort to help mod_wsgi
upstream already, thank you!
There is a proposed fix  but we don't know enough about Apache to say if it
is ideal. In case this blocks you very much, I suggest you work with the
Fedora's mod_wsgi maintainer and backport this patch to rawhide, keeping an eye
on it in case it breaks your use cases, and report problems to us, so we can
adapt it. At this point of the Fedora 35 development schedule, I think this
patch should be good enough for it.