[Pkg-rust-maintainers] Bug#1055212: librust-pyo3-dev: 0.17 version does not support sub-interpreters and leads to ImportError

Max Carrara m.carrara at proxmox.com
Tue Nov 14 13:47:21 GMT 2023


On Tue, 7 Nov 2023 15:50:10 +0100 Max Carrara <m.carrara at proxmox.com> wrote:
> On Thu, 02 Nov 2023 13:31:16 +0300 Andrew Kornilov <akornilov at gmail.com> wrote:
> > Package: librust-pyo3-dev
> > Version: 0.17.3-1
> > Severity: important
> > Tags: upstream
> > X-Debbugs-Cc: akornilov at gmail.com
> > 
> > Dear Maintainer,
> > 
> > 
> >    * PyO3 0.17 introduced a serious regression/issue with related software
> > (ceph, mod_wsgi and so on). Here is the issue with all the links and detailed
> > description: https://github.com/PyO3/pyo3/issues/3451
> >    * PyO3 0.20 seems to have this fixed according to the included PR
> > https://github.com/PyO3/pyo3/pull/3446
> 
> I'm currently in the process of backporting the PR. So far PyO3 compiles; there
> are some tests that don't yet pass, however. Will hopefully be able to provide
> a patch series soon.
> 

The backport of the aforementioned PR didn't fix the issue regarding
sub-interpreters, unfortunately. Will have to wait until this is fixed
upstream in PyO3.

I do want to note though that this isn't a "regression" per se; this
check was introduced to PyO3 because PyO3 isn't sound under the presence
of multiple sub-interpreters. So, this check is basically a security measure.



More information about the Pkg-rust-maintainers mailing list