Skip to content

Fix python3.14 compat for worker.py#1901

Merged
Eijebong merged 1 commit intomozilla-releng:mainfrom
Eijebong:remove-useless-gather
Mar 5, 2026
Merged

Fix python3.14 compat for worker.py#1901
Eijebong merged 1 commit intomozilla-releng:mainfrom
Eijebong:remove-useless-gather

Conversation

@Eijebong
Copy link
Contributor

@Eijebong Eijebong commented Mar 5, 2026

get_event_loop doesn't work anymore to create a new event loop so we have to explicitly create one. The gather is useless since we're only running one consumer, and removing it fixes a bug with python 3.14 where we can't call gather without a running event loop anymore.

This is basically the same as 3854e1f7d25233eadfb21a551d8e5ef99b9f64a3 and 99ef1499414fe997a63dbef7c2b62b9e8455d5ef in tooltool

`get_event_loop` doesn't work anymore to create a new event loop so we
have to explicitly create one. The gather is useless since we're only
running one consumer, and removing it fixes a bug with python 3.14 where
we can't call gather without a running event loop anymore.

This is basically the same as 3854e1f7d25233eadfb21a551d8e5ef99b9f64a3
and 99ef1499414fe997a63dbef7c2b62b9e8455d5ef in tooltool
@Eijebong Eijebong requested a review from a team as a code owner March 5, 2026 16:02
@jcristau
Copy link
Contributor

jcristau commented Mar 5, 2026

@Eijebong Eijebong merged commit ffb5543 into mozilla-releng:main Mar 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants