[Bug 6850] New: rust: cpython crate is unmaintained and doesn't work with Python 3.12 - switch to pyo3
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun Nov 12 23:02:28 UTC 2023
https://bz.mercurial-scm.org/show_bug.cgi?id=6850
Bug ID: 6850
Summary: rust: cpython crate is unmaintained and doesn't work
with Python 3.12 - switch to pyo3
Product: Mercurial
Version: stable branch
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: mads at kiilerich.com
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
Summarizing https://bugzilla.redhat.com/show_bug.cgi?id=2249383 :
The "cpython" crate is now officially unmaintained [0], and it does not support
Python 3.12 [1].
c.f.
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XG7GMDZFL2RO4QHEFBJKU7YDE3AZBRVM/#XG7GMDZFL2RO4QHEFBJKU7YDE3AZBRVM
The upstream author of the "cpython" crate recommends to migrate to pyo3.
Versions 0.19.2 and newer of pyo3 support Python 3.12.
[0]: https://github.com/dgrunwald/rust-cpython/commit/e815555
[1]: https://github.com/dgrunwald/rust-cpython/issues/294
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list