On 2023-07-05 07 h 38, Thomas Goirand wrote:
On 7/2/23 03:44, Louis-Philippe Véronneau wrote:
Source: python-eventlet
Severity: important
User: debian-pyt...@lists.debian.org
Usertags: asyncore-asynchat-deprecation

Dear maintainer(s),

In Python 3.6, asyncore and asynchat have been formally marked as deprecated. Code that imports these libraries will no longer work from Python 3.12, which is currently in Trixie.

Since python-eventlet uses either of these Python libraries, please prepare for this removal and migrate away from them.

See this link for more details: https://peps.python.org/pep-0594/#deprecated-modules

Hi Louis,

The only place where I can see the use of these libs, is where Eventlet is monkey patching that lib. See https://github.com/eventlet/eventlet/blob/master/eventlet/green/asyn{core,chat}.py. In such a case, do we still have an issue?

Cheers,

Thomas Goirand (zigo)


I'm not familiar enough with this code, but if the import is called with python 3.12, it will fail. I don't know how much this library depends on it.

You can always test it out yourself with python3.12 (currently in trixie and sid).

Cheers,

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄

Reply via email to