Skip to content

Update uvloop to 0.22.1#6705

Open
Jackenmen wants to merge 2 commits intoCog-Creators:V3/developfrom
Jackenmen:update_uvloop
Open

Update uvloop to 0.22.1#6705
Jackenmen wants to merge 2 commits intoCog-Creators:V3/developfrom
Jackenmen:update_uvloop

Conversation

@Jackenmen
Copy link
Copy Markdown
Member

Description of the changes

Due to the deprecation of event loop policies, we now avoid using them whenever possible. The only time a policy still needs to be set is whenever asyncio.run is called in versions older than Python 3.12, as those don't have a loop_factory argument.

Have the changes in this PR been tested?

Yes

@Jackenmen Jackenmen added this to the 3.5.25 milestone Mar 26, 2026
@Jackenmen Jackenmen added the Type: Dependency Update Adding/updating/removing some of Red’s dependencies. label Mar 26, 2026
@github-actions github-actions bot added Category: Meta This is related to the repository maintenance. Category: Core - API - Other This is related to core APIs that don't have a dedicated label. Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). labels Mar 26, 2026
loop_factory came to asyncio.Runner earlier than to asyncio.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Core - API - Other This is related to core APIs that don't have a dedicated label. Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). Category: Meta This is related to the repository maintenance. Type: Dependency Update Adding/updating/removing some of Red’s dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant