Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
python-version:
description: The python version to install
required: false
default: '3.8'
default: '3.9'
use-cached-uv-lock:
description: Whether to download the uv lock cache.
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up environment
uses: ./.github/actions/setup-env
with:
python-version: 3.8
python-version: 3.9

- name: Install dependencies
run: uv sync --no-default-groups --group changelog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: setup
uses: ./.github/actions/setup-env
with:
python-version: 3.8
python-version: 3.9

- name: Build package
run: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ formats:
build:
os: ubuntu-24.04
tools:
python: "3.8"
python: "3.9"
jobs:
create_environment:
- asdf plugin add uv
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Key Features
Installing
----------

**Python 3.8 or higher is required.**
**Python 3.9 or higher is required.**

To install the library without full voice support, you can just run the
following command:
Expand Down
1 change: 1 addition & 0 deletions changelog/1394.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Python 3.8 support has been dropped.
4 changes: 2 additions & 2 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ in creating applications that utilise the Discord API.
Prerequisites
-------------

disnake works with Python 3.8 or higher. Support for earlier versions of Python
is not provided. Python 2.7 or lower is not supported. Python 3.7 or lower is not supported.
disnake works with Python 3.9 or higher. Support for earlier versions of Python
is not provided. Python 2.7 or lower is not supported. Python 3.8 or lower is not supported.

.. _installing:

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.8"
# requires-python = ">=3.9"
# dependencies = [
# "nox==2025.5.1",
# ]
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ readme = "README.md"
authors = [
{ name = "Disnake Development" }
]
requires-python = ">=3.8"
requires-python = ">=3.9"
keywords = ["disnake", "discord", "discord api"]
license = { text = "MIT" }
dependencies = [
Expand All @@ -25,7 +25,6 @@ classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
# it is important that the python classifiers are sorted in the sequential order
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -209,6 +208,10 @@ ignore = [
"TRY003", # as of 0.12.11 still has some false positives
"TRY301", # TODO: enable
"TRY300", # TODO: enable
# py3.9 bump
"UP006",
"UP035",
"FURB188",
]

[tool.ruff.lint.per-file-ignores]
Expand Down
Loading