diff options
author | 2025-05-17 09:52:39 +0100 | |
---|---|---|
committer | 2025-05-17 09:52:39 +0100 | |
commit | 47aaa8054d0af9010f4910391be6803815b629d1 (patch) | |
tree | a492001b52c6c0fae2398d44b51eb38168e5b2bc | |
parent | Merge pull request #3320 from python-discord/remove-cban-alias (diff) |
Replace 3.12 support in snekbox for 3.14-dev
-rw-r--r-- | bot/exts/utils/snekbox/_cog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utils/snekbox/_cog.py b/bot/exts/utils/snekbox/_cog.py index 39f61c6e2..13c41686b 100644 --- a/bot/exts/utils/snekbox/_cog.py +++ b/bot/exts/utils/snekbox/_cog.py @@ -87,7 +87,7 @@ SNEKBOX_ROLES = (Roles.helpers, Roles.moderators, Roles.admins, Roles.owners, Ro REDO_EMOJI = "\U0001f501" # :repeat: REDO_TIMEOUT = 30 -SupportedPythonVersions = Literal["3.12", "3.13", "3.13t"] +SupportedPythonVersions = Literal["3.13", "3.13t", "3.14"] class FilteredFiles(NamedTuple): allowed: list[FileAttachment] @@ -604,7 +604,7 @@ class Snekbox(Cog): issue with it! """ code: list[str] - python_version = python_version or "3.12" + python_version = python_version or "3.13" job = EvalJob.from_code("\n".join(code)).as_version(python_version) await self.run_job(ctx, job) |