Skip to content

Commit fc0b623

Browse files
authored
chore!: Remove support for Python 3.9 (#2986)
1 parent 0216424 commit fc0b623

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[flake8]
2-
min_python_version = 3.9
2+
min_python_version = 3.10
33

44
# Incompatible with black see https://github.com/ambv/black/issues/315
55
ignore =

.github/workflows/lib-checks.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,7 @@ jobs:
120120
strategy:
121121
matrix:
122122
os: [ubuntu-latest, macos-latest, windows-latest]
123-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
124-
exclude:
125-
- { python-version: "3.9", os: "macos-latest" }
126-
include:
127-
- { python-version: "3.9", os: "macos-13" }
123+
python-version: ["3.10", "3.11", "3.12", "3.13"]
128124
runs-on: ${{ matrix.os }}
129125
env:
130126
OS: ${{ matrix.os }}
File renamed without changes.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ possible (see our [Version Guarantees] for more info).
1010

1111
These changes are available on the `master` branch, but have not yet been released.
1212

13+
⚠️ **This version removes support for Python 3.9.** ⚠️
14+
1315
### Added
1416

1517
### Changed
@@ -20,6 +22,9 @@ These changes are available on the `master` branch, but have not yet been releas
2022

2123
### Removed
2224

25+
- ⚠️ **Removed support for Python 3.9.**
26+
([#2986](https://github.com/Pycord-Development/pycord/pull/2986))
27+
2328
## [2.7.0rc2] - 2025-10-22
2429

2530
### Added

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for D
3232
Note
3333
----
3434

35-
Pycord supports Python ``3.9`` - ``3.13``
35+
Pycord supports Python ``3.10`` - ``3.13``
3636

3737
Key Features
3838
------------
@@ -45,7 +45,7 @@ Key Features
4545
Installing
4646
----------
4747

48-
**Python 3.9 or higher is required**
48+
**Python 3.10 or higher is required**
4949

5050
To install the library without full voice support, run the following command:
5151

docs/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ in creating applications that utilise the Discord API.
1313
Prerequisites
1414
-------------
1515

16-
Pycord works with Python 3.9 or higher. Support for earlier versions of Python
16+
Pycord works with Python 3.10 or higher. Support for earlier versions of Python
1717
is not provided. Python 2.7 or lower is not supported. Python 3.8 or lower is not supported.
1818

1919

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ authors = [
1212
]
1313
description = "A Python wrapper for the Discord API"
1414
readme = {content-type = "text/x-rst", file = "README.rst"}
15-
requires-python = ">=3.9, <3.14"
15+
requires-python = ">=3.10, <3.14"
1616
license = "MIT"
1717
license-files = ["LICENSE"]
1818
classifiers = [
1919
"Development Status :: 5 - Production/Stable",
2020
"Intended Audience :: Developers",
2121
"Natural Language :: English",
2222
"Operating System :: OS Independent",
23-
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",
2524
"Programming Language :: Python :: 3.11",
2625
"Programming Language :: Python :: 3.12",
@@ -68,7 +67,7 @@ voice = {file = "requirements/voice.txt"}
6867
[tool.setuptools_scm]
6968

7069
[tool.black]
71-
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
70+
target-version = ['py310', 'py311', 'py312', 'py313']
7271

7372
[tool.isort]
7473
profile = "black"
@@ -87,7 +86,7 @@ extension-pkg-whitelist = [
8786
"pydantic",
8887
"ujson"
8988
]
90-
py-version = 3.9
89+
py-version = 3.10
9190

9291
[tool.pylint.messages_control]
9392
enable = [

0 commit comments

Comments
 (0)