Skip to content

Commit 34511d9

Browse files
authored
Merge branch 'master' into feat/attachment-chunking
2 parents 270f395 + fc0b623 commit 34511d9

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
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/docs-json-export.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
id: generate-json
3636
run: python scripts/docs_json_exporter.py
3737
- name: Upload docs.json as artifact
38-
uses: actions/upload-artifact@v4.6.2
38+
uses: actions/upload-artifact@v5.0.0
3939
id: artifact-upload
4040
with:
4141
name: Pycord Docs JSON

.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
- Added `Attachment.read_chunked` and added optional `chunksize` argument to
@@ -24,6 +26,9 @@ These changes are available on the `master` branch, but have not yet been releas
2426

2527
### Removed
2628

29+
- ⚠️ **Removed support for Python 3.9.**
30+
([#2986](https://github.com/Pycord-Development/pycord/pull/2986))
31+
2732
## [2.7.0rc2] - 2025-10-22
2833

2934
### 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/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def write_new():
9696
ogp_image = "https://pycord.dev/static/img/logo.png"
9797

9898
autodoc_member_order = "bysource"
99-
autodoc_typehints = "none"
99+
autodoc_typehints = "signature"
100100
# maybe consider this?
101101
# napoleon_attr_annotations = False
102102

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 = [

requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ furo==2024.8.6
88
sphinx-autodoc-typehints==3.5.2
99
sphinx-intl==2.3.2
1010
typing_extensions==4.15.0
11-
levenshtein==0.27.1
11+
levenshtein==0.27.3

0 commit comments

Comments
 (0)