Skip to content

Support newer Python versions (3.12-3.14)#6744

Open
Jackenmen wants to merge 23 commits intoCog-Creators:V3/developfrom
Jackenmen:support_newer_python_versions
Open

Support newer Python versions (3.12-3.14)#6744
Jackenmen wants to merge 23 commits intoCog-Creators:V3/developfrom
Jackenmen:support_newer_python_versions

Conversation

@Jackenmen
Copy link
Copy Markdown
Member

@Jackenmen Jackenmen commented Apr 15, 2026

Description of the changes

Depends on #6693, #6735, #6736, and #6705. This does the minimum needed to support newer Python versions and not emit deprecation warnings on any of them + updates the docs to newer Python where possible.

Separately, I'd like to do a sweep with pyupgrade and use some of the newer features that are now available to us.

Test results:

Have the changes in this PR been tested?

No

@Jackenmen Jackenmen added this to the 3.6.0 milestone Apr 15, 2026
@Jackenmen Jackenmen requested a review from Kowlin as a code owner April 15, 2026 19:14
@Jackenmen Jackenmen added Type: Enhancement Something meant to enhance existing Red features. Blocked By: Other PR Blocked by another PR. labels Apr 15, 2026
@github-actions github-actions Bot added Category: Core - API - Commands Package This is related to the `redbot.core.commands` package or `redbot.core.checks` module. Category: Core - API - Bank This is related to the core Bank API. Category: CI This is related to repository's CI configuration. Category: Cogs - Downloader This is related to the Downloader cog. Category: Cogs - CustomCommands This is related to the CustomCommands cog. Category: Core - API - Utils Package This is related to stuff in `redbot.core.utils` Category: Core - RPC/ZMQ Related to provided (provisional) API for implementing RPC in cogs Category: Meta This is related to the repository maintenance. Category: Cogs - Dev This is related to the Dev cog. labels Apr 15, 2026
@github-actions github-actions Bot added Category: Vendored Packages This is related to the packages we vendor (currently just discord.ext.menus). Category: Docs - For Developers This is related to developer (cog creator) documentation. Category: Docs - Install Guides This is related to install guides. Category: Core - API - Other This is related to core APIs that don't have a dedicated label. Category: Core - Bot Class This is related to the `redbot.core.bot.Red` class. Category: Core - Bot Commands This is related to core commands (Core and CogManagerUI cog classes). Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). Category: Core - Other Internals This is related to core internals that don't have a dedicated label. Category: Core - Downloader This is related to the internal Downloader APIs. labels Apr 15, 2026
@Jackenmen Jackenmen marked this pull request as draft April 15, 2026 19:18
@Jackenmen Jackenmen force-pushed the support_newer_python_versions branch from d318b59 to ce6ec8f Compare April 15, 2026 20:00
@Jackenmen Jackenmen force-pushed the support_newer_python_versions branch from ce6ec8f to 2ab3ff2 Compare April 15, 2026 20:02
@Jackenmen Jackenmen marked this pull request as ready for review April 15, 2026 20:15
@Jackenmen Jackenmen marked this pull request as draft April 15, 2026 21:03
@Jackenmen Jackenmen marked this pull request as ready for review April 15, 2026 21:12
@Jackenmen Jackenmen force-pushed the support_newer_python_versions branch from df1793b to 20ff937 Compare April 16, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked By: Other PR Blocked by another PR. Category: CI This is related to repository's CI configuration. Category: Cogs - CustomCommands This is related to the CustomCommands cog. Category: Cogs - Dev This is related to the Dev cog. Category: Cogs - Downloader This is related to the Downloader cog. Category: Core - API - Bank This is related to the core Bank API. Category: Core - API - Commands Package This is related to the `redbot.core.commands` package or `redbot.core.checks` module. Category: Core - API - Other This is related to core APIs that don't have a dedicated label. Category: Core - API - Utils Package This is related to stuff in `redbot.core.utils` Category: Core - Bot Class This is related to the `redbot.core.bot.Red` class. Category: Core - Bot Commands This is related to core commands (Core and CogManagerUI cog classes). Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). Category: Core - Downloader This is related to the internal Downloader APIs. Category: Core - Other Internals This is related to core internals that don't have a dedicated label. Category: Core - RPC/ZMQ Related to provided (provisional) API for implementing RPC in cogs Category: Docs - For Developers This is related to developer (cog creator) documentation. Category: Docs - Install Guides This is related to install guides. Category: Meta This is related to the repository maintenance. Category: Vendored Packages This is related to the packages we vendor (currently just discord.ext.menus). Type: Enhancement Something meant to enhance existing Red features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant