Re: Handling --enable-experimental-jit in Python 3.13

2024-06-24 Thread Fabio Valentini
On Mon, Jun 24, 2024 at 3:53 PM Miro Hrončok wrote: > > On 17. 04. 24 18:40, Victor Stinner wrote: > > On Wed, Apr 17, 2024 at 2:38 PM Miro Hrončok wrote: > >> Victor, do you think it would be possible to build in the JIT support but > >> have > >> a runtime opt-out/opt-in switch? That way, we c

Re: Rust bindings for Python (pyo3 versions <0.19, cpython) broken with Python 3.12

2023-11-29 Thread Fabio Valentini
On Fri, Nov 17, 2023 at 1:34 AM Kevin Fenzi wrote: > > On Mon, Nov 13, 2023 at 07:25:10PM +0100, Fabio Valentini wrote: > > > > Yup, I've mentioned that in the bug I filed for python-bcrypt - > > It might be as simple as bumping the dependency on pyo3 from v0.15 to v0

Re: Rust bindings for Python (pyo3 versions <0.19, cpython) broken with Python 3.12

2023-11-12 Thread Fabio Valentini
On Tue, Aug 1, 2023 at 5:43 PM Fabio Valentini wrote: > > There are applications in Fedora that still rely on *ancient* versions > of PyO3, potentially affected by this: > > - cpython: mercurial > - pyo3 v0.15: fapolicy-analyzer, python-bcrypt, python-cryptography > - py

Rust bindings for Python (pyo3 versions <0.19, cpython) broken with Python 3.12

2023-08-01 Thread Fabio Valentini
Hello Pythonistas and Rustaceans, TL;DR: Only PyO3 v0.19.2 (and later) will ever properly support Python 3.12. Port your Python projects to v0.19 **NOW**. Older versions of PyO3 (especially pyo3 v0.15, v0.16, v0.17, and v0.18) are *not* compatible with Python 3.12 due to some ABI changes in unico