Python 12 support is urgently needed!

Hello, lxml fails to compile on Python 12 and there are no binary distributions available of it from PyPI either. Please see the bug https://bugs.launchpad.net/lxml/+bug/2024719 lxml underlies a lot of libraries and absence of Python 12 support makes it impossible to test the recent betas of those products. Regards, -- Arcadiy Ivanov arcadiy@ivanov.biz | @arcivanov | https://ivanov.biz https://github.com/arcivanov

On 28 Jun 2023, at 18:46, Arcadiy Ivanov wrote:
As with all things open source: you have the option of fixing things yourself. Python 3.12 isn't generally available and is unlikely to be used in production for a while. API changes affecting popular libraries isn't unusual. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Sengelsweg 34 Düsseldorf D- 40489 Tel: +49-203-3925-0390 Mobile: +49-178-782-6226

This isn't an issue I can solve, the issue is administrative. With modern Cython the issue is resolved entirely. But fixing it requires cutting 4.9.3 or 5.0.0a with current Cython and CPython manylinux latest that incorporates the 3.12, and that's not something I can really submit a PR for.

I submitted a PR that should resolve this issue but it probably needs a separate branch from which to cut a release and I can't do that, naturally: https://github.com/lxml/lxml/pull/377

On 28 Jun 2023, at 18:46, Arcadiy Ivanov wrote:
As with all things open source: you have the option of fixing things yourself. Python 3.12 isn't generally available and is unlikely to be used in production for a while. API changes affecting popular libraries isn't unusual. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Sengelsweg 34 Düsseldorf D- 40489 Tel: +49-203-3925-0390 Mobile: +49-178-782-6226

This isn't an issue I can solve, the issue is administrative. With modern Cython the issue is resolved entirely. But fixing it requires cutting 4.9.3 or 5.0.0a with current Cython and CPython manylinux latest that incorporates the 3.12, and that's not something I can really submit a PR for.

I submitted a PR that should resolve this issue but it probably needs a separate branch from which to cut a release and I can't do that, naturally: https://github.com/lxml/lxml/pull/377
participants (2)
-
Arcadiy Ivanov
-
Charlie Clark