Skip to content

Commit 8b4ebc0

Browse files
committed
Bump Python to 3.14
Ignore DeprecationWarning caused by Rapptz/discord.py#10490
1 parent cf4c008 commit 8b4ebc0

7 files changed

Lines changed: 9 additions & 436 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: actions/setup-python@v7
1818
with:
19-
python-version: '3.11.15'
19+
python-version: '3.14.5'
2020

2121
- name: Install Ansible
2222
run: |

‎.python-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11
1+
3.14

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11.15-slim
1+
FROM python:3.14.5-slim
22
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/
33

44
RUN groupadd --gid 1000 bot && \

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ uv run run-bot --config-file your-config-file.toml
8787
## Development Setup
8888

8989
NOTE: This project uses [uv](https://docs.astral.sh/uv/) to manage Python versions and dependencies.
90-
If you don't plan to add/remove/update dependencies, you can also use [pip](https://pip.pypa.io/en/stable/), and any Python version >= 3.11.
90+
If you don't plan to add/remove/update dependencies, you can also use [pip](https://pip.pypa.io/en/stable/), Python >= 3.14.
9191

9292
### Discord Server and Bot Setup
9393

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "All Discord-related things for the EuroPython conference"
99
license = "MIT"
1010
license-files = ["LICENSE"]
1111
readme = "README.md"
12-
requires-python = ">=3.11"
12+
requires-python = ">=3.14"
1313
dependencies = [
1414
"discord-py>=2.7.1",
1515
"aiofiles>=25.1.0",
@@ -35,7 +35,7 @@ asyncio_mode = "auto"
3535
asyncio_default_fixture_loop_scope = "function"
3636
filterwarnings = [
3737
"error",
38-
"ignore:'audioop' is deprecated:DeprecationWarning", # Only applies to Python < 3.13 (https://github.com/Rapptz/discord.py/issues/9477)
38+
"ignore:'count' is passed as positional argument:DeprecationWarning", # https://github.com/Rapptz/discord.py/issues/10490
3939
]
4040

4141
[tool.ruff]

‎scripts/export-members.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# /// script
2-
# requires-python = ">=3.11"
2+
# requires-python = ">=3.14"
33
# dependencies = [
44
# "discord-py>=2.7.1",
55
# ]

‎uv.lock‎

Lines changed: 2 additions & 429 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)