Bug#1055212: librust-pyo3-dev: 0.17 version does not support sub-interpreters and leads to ImportError

2023-11-14 Thread Max Carrara
On Tue, 7 Nov 2023 15:50:10 +0100 Max Carrara  wrote:
> On Thu, 02 Nov 2023 13:31:16 +0300 Andrew Kornilov  
> wrote:
> > Package: librust-pyo3-dev
> > Version: 0.17.3-1
> > Severity: important
> > Tags: upstream
> > X-Debbugs-Cc: akorni...@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.



Bug#1055212: librust-pyo3-dev: 0.17 version does not support sub-interpreters and leads to ImportError

2023-11-07 Thread Max Carrara
On Thu, 02 Nov 2023 13:31:16 +0300 Andrew Kornilov  wrote:
> Package: librust-pyo3-dev
> Version: 0.17.3-1
> Severity: important
> Tags: upstream
> X-Debbugs-Cc: akorni...@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.



Bug#1055212: librust-pyo3-dev: 0.17 version does not support sub-interpreters and leads to ImportError

2023-11-02 Thread Andrew Kornilov
Package: librust-pyo3-dev
Version: 0.17.3-1
Severity: important
Tags: upstream
X-Debbugs-Cc: akorni...@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


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (1001, 'stable-updates'), (1001, 'stable-security'), (1001, 
'unstable'), (1001, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-0-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages librust-pyo3-dev depends on:
pn  librust-anyhow-1+default-dev 
pn  librust-cfg-if-1+default-dev 
pn  librust-chrono-0.4+default-dev   
pn  librust-chrono-0.4-dev   
pn  librust-eyre-0.6+default-dev | librust-eyre-0.5+default-dev | libru  
st-eyre-0.4+default-dev
pn  librust-hashbrown-0.12+default-dev | librust-hashbrown-0.11+default  
-dev | librust-hashbrown-0.10+default-dev | librust-hashbrown-0.9+d
efault-dev
pn  librust-hashbrown-0.13+default-dev | librust-hashbrown-0.12+default  
-dev | librust-hashbrown-0.11+default-dev | librust-hashbrown-0.10+
default-dev | librust-hashbrown-0.9+default-dev
pn  librust-indexmap-1.9+default-dev | librust-indexmap-1.8+default-dev  
 | librust-indexmap-1.7+default-dev | librust-indexmap-1.6+default-
dev
pn  librust-indoc-1+default-dev  
pn  librust-indoc-2+default-dev  
pn  librust-inventory-0.3+default-dev
pn  librust-libc-0.2+default-dev 
pn  librust-memoffset-0.6+default-dev
pn  librust-num-bigint-0.4+default-dev   
pn  librust-num-complex-0.4+default-dev | librust-num-complex-0.3+defau  
lt-dev | librust-num-complex-0.2+default-dev
pn  librust-parking-lot-0.12+default-dev | librust-parking-lot-0.11+def  
ault-dev
pn  librust-pyo3-build-config-0.17+abi3-dev  
pn  librust-pyo3-build-config-0.17+abi3-py310-dev
pn  librust-pyo3-build-config-0.17+abi3-py37-dev 
pn  librust-pyo3-build-config-0.17+abi3-py38-dev 
pn  librust-pyo3-build-config-0.17+abi3-py39-dev 
pn  librust-pyo3-build-config-0.17+default-dev   
pn  librust-pyo3-build-config-0.17+resolve-config-dev
pn  librust-pyo3-build-config-0.19+abi3-dev  
pn  librust-pyo3-build-config-0.19+abi3-py310-dev
pn  librust-pyo3-build-config-0.19+abi3-py311-dev
pn  librust-pyo3-build-config-0.19+abi3-py37-dev 
pn  librust-pyo3-build-config-0.19+abi3-py38-dev 
pn  librust-pyo3-build-config-0.19+abi3-py39-dev 
pn  librust-pyo3-build-config-0.19+default-dev   
pn  librust-pyo3-build-config-0.19+resolve-config-dev
pn  librust-pyo3-ffi-0.17.3+abi3-dev 
pn  librust-pyo3-ffi-0.17.3+abi3-py310-dev   
pn  librust-pyo3-ffi-0.17.3+abi3-py37-dev
pn  librust-pyo3-ffi-0.17.3+abi3-py38-dev
pn  librust-pyo3-ffi-0.17.3+abi3-py39-dev
pn  librust-pyo3-ffi-0.17.3+default-dev  
pn  librust-pyo3-ffi-0.17.3+extension-module-dev 
pn  librust-pyo3-ffi-0.17.3+generate-import-lib-dev  
pn  librust-pyo3-ffi-0.19.0+abi3-dev 
pn  librust-pyo3-ffi-0.19.0+abi3-py310-dev   
pn  librust-pyo3-ffi-0.19.0+abi3-py311-dev   
pn  librust-pyo3-ffi-0.19.0+abi3-py37-dev
pn  librust-pyo3-ffi-0.19.0+abi3-py38-dev
pn  librust-pyo3-ffi-0.19.0+abi3-py39-dev
pn  librust-pyo3-ffi-0.19.0+default-dev  
pn  librust-pyo3-ffi-0.19.0+extension-module-dev 
pn  librust-pyo3-ffi-0.19.0+generate-import-lib-dev  
pn  librust-pyo3-macros-0.17.3+abi3-dev