[all][tc][ptls] Eventlet: Python 3.13 - Attach your seatbelt
Hi all, As Python 3.13 is close to become a reality, new concerning incompatibilities between this new CPython version and Eventlet also become a reality: - https://github.com/eventlet/eventlet/issues/964 Fedora Python maintainers proposed a patch, but for now the problem remains unsolved. Also, many people reported bugs related to incompatibility between python3.12/dnspython/eventlet/pip-system-cert. There is an example who summarize well the problem https://github.com/eventlet/eventlet/issues/957 Do you have some visibility concerning the adoption of Python 3.13 into Openstack? Turbulences ahead... -- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
Yeah: as soon as released, in Debian unstable, and the in Trixie with Dalmatian... Sent from Workspace ONE Boxer On Jun 7, 2024 4:27 PM, Herve Beraud <hberaud@redhat.com> wrote: Hi all, As Python 3.13 is close to become a reality, new concerning incompatibilities between this new CPython version and Eventlet also become a reality: - https://github.com/eventlet/eventlet/issues/964 Fedora Python maintainers proposed a patch, but for now the problem remains unsolved. Also, many people reported bugs related to incompatibility between python3.12/dnspython/eventlet/pip-system-cert. There is an example who summarize well the problem https://github.com/eventlet/eventlet/issues/957 Do you have some visibility concerning the adoption of Python 3.13 into Openstack? Turbulences ahead... -- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
Any update about eventlet and 3.13? FYI, next version of fedora is coming with 3.13 and evenlet may get out of it. On Fri, Jun 7, 2024 at 5:53 PM <thomas@goirand.fr> wrote:
Yeah: as soon as released, in Debian unstable, and the in Trixie with Dalmatian...
Sent from Workspace ONE Boxer
On Jun 7, 2024 4:27 PM, Herve Beraud <hberaud@redhat.com> wrote:
Hi all,
As Python 3.13 is close to become a reality, new concerning incompatibilities between this new CPython version and Eventlet also become a reality:
- https://github.com/eventlet/eventlet/issues/964
Fedora Python maintainers proposed a patch, but for now the problem remains unsolved.
Also, many people reported bugs related to incompatibility between python3.12/dnspython/eventlet/pip-system-cert. There is an example who summarize well the problem https://github.com/eventlet/eventlet/issues/957
Do you have some visibility concerning the adoption of Python 3.13 into Openstack?
Turbulences ahead... -- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
Well, unfortunately, at the moment the support of Python 3.13 is still broken in eventlet and also in greenlet: - https://github.com/python-greenlet/greenlet/pull/396 - https://github.com/eventlet/eventlet/pull/965 Greenlet maintainers are really quiet and did not responded to our multiple solicitations: - https://github.com/python-greenlet/greenlet/pull/410 Le mar. 13 août 2024 à 09:44, Alfredo Moralejo Alonso <amoralej@redhat.com> a écrit :
Any update about eventlet and 3.13? FYI, next version of fedora is coming with 3.13 and evenlet may get out of it.
On Fri, Jun 7, 2024 at 5:53 PM <thomas@goirand.fr> wrote:
Yeah: as soon as released, in Debian unstable, and the in Trixie with Dalmatian...
Sent from Workspace ONE Boxer
On Jun 7, 2024 4:27 PM, Herve Beraud <hberaud@redhat.com> wrote:
Hi all,
As Python 3.13 is close to become a reality, new concerning incompatibilities between this new CPython version and Eventlet also become a reality:
- https://github.com/eventlet/eventlet/issues/964
Fedora Python maintainers proposed a patch, but for now the problem remains unsolved.
Also, many people reported bugs related to incompatibility between python3.12/dnspython/eventlet/pip-system-cert. There is an example who summarize well the problem https://github.com/eventlet/eventlet/issues/957
Do you have some visibility concerning the adoption of Python 3.13 into Openstack?
Turbulences ahead... -- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
-- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
Hello, On 2024-06-07 16:18, Herve Beraud wrote:
Do you have some visibility concerning the adoption of Python 3.13 into Openstack?
I have just tried running unit tests for the various Glance-related projects with Python 3.13, using a container[1] that allows me to use manually built wheels for some dependencies. I used the following patches: - for evenlet, PR#965[2] and PR#966[3] - for greenlet, PR#396[4] I got the following results: - glance_store runs all unit tests just fine; - glance can install the dependencies and start running the unit tests, but they hang. As the name of the failing test is not printed on stdout/stderr, I have no clue what is going wrong; - python-glanceclient does not depend on eventlet/greenlet, and all tests pass after applying a patch currently under review[5]. We also need to keep urllib3 <2.0.0 (but this is also an issue on Python3.12). Some interesting lessons learnt here: - the glanceclient patch[5] fixes issues caused by changes in implementation details for mock_open (on which we should have never relied). This might happen in other projects; - the cgi module has been removed in 3.13, and webob depends on it, so we will need to help webob move away from cgi, or install the legacy-cgi package (which is what I had to do for glance & glance_store). I could run some tests on other projects this week, feel free to ping me. [1] https://github.com/CyrilRoelandteNovance/py3-next-openstack [2] https://github.com/eventlet/eventlet/pull/965 [3] https://github.com/eventlet/eventlet/pull/966 [4] https://github.com/python-greenlet/greenlet/pull/396 [5] https://review.opendev.org/c/openstack/python-glanceclient/+/924620 Cyril
FYI gevent PRs are now merged, so we are now able to continue the work about Python 3.13 on the eventlet side Le lun. 26 août 2024 à 20:56, Cyril Roelandt <cyril@redhat.com> a écrit :
Hello,
On 2024-06-07 16:18, Herve Beraud wrote:
Do you have some visibility concerning the adoption of Python 3.13 into Openstack?
I have just tried running unit tests for the various Glance-related projects with Python 3.13, using a container[1] that allows me to use manually built wheels for some dependencies. I used the following patches:
- for evenlet, PR#965[2] and PR#966[3] - for greenlet, PR#396[4]
I got the following results: - glance_store runs all unit tests just fine; - glance can install the dependencies and start running the unit tests, but they hang. As the name of the failing test is not printed on stdout/stderr, I have no clue what is going wrong; - python-glanceclient does not depend on eventlet/greenlet, and all tests pass after applying a patch currently under review[5]. We also need to keep urllib3 <2.0.0 (but this is also an issue on Python3.12).
Some interesting lessons learnt here: - the glanceclient patch[5] fixes issues caused by changes in implementation details for mock_open (on which we should have never relied). This might happen in other projects; - the cgi module has been removed in 3.13, and webob depends on it, so we will need to help webob move away from cgi, or install the legacy-cgi package (which is what I had to do for glance & glance_store).
I could run some tests on other projects this week, feel free to ping me.
[1] https://github.com/CyrilRoelandteNovance/py3-next-openstack [2] https://github.com/eventlet/eventlet/pull/965 [3] https://github.com/eventlet/eventlet/pull/966 [4] https://github.com/python-greenlet/greenlet/pull/396 [5] https://review.opendev.org/c/openstack/python-glanceclient/+/924620
Cyril
-- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
participants (4)
-
Alfredo Moralejo Alonso
-
Cyril Roelandt
-
Herve Beraud
-
thomas@goirand.fr