Skip to content

Commit 8340b01

Browse files
committed
Remove python 3.8 support
1 parent 75d1180 commit 8340b01

File tree

10 files changed

+15
-17
lines changed

10 files changed

+15
-17
lines changed

.github/files/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This library is 100% compatible with regular ``discord.py-self``, and any docume
2626
Installing
2727
----------
2828

29-
**Python 3.8 or higher is required**
29+
**Python 3.9 or higher is required**
3030

3131
This branch is synced with the master branch on every commit. Because of this, the branch always hosts the current development version.
3232

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Set up CPython 3.8
23+
- name: Set up CPython
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: '3.8'
26+
python-version: '3.9'
2727

2828
- name: Install dependencies
2929
run: |

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Set up CPython 3.8
23+
- name: Set up CPython
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: '3.8'
26+
python-version: '3.9'
2727

2828
- name: Install dependencies
2929
id: install-deps

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v2
1414

15-
- name: Set up CPython 3.8
15+
- name: Set up CPython
1616
uses: actions/setup-python@v2
1717
with:
18-
python-version: '3.8'
18+
python-version: '3.9'
1919

2020
- name: Install dependencies
2121
run: |

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Set up CPython 3.8
23+
- name: Set up CPython
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: '3.8'
26+
python-version: '3.9'
2727

2828
- name: Install dependencies
2929
run: |

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ formats: []
44
build:
55
os: "ubuntu-22.04"
66
tools:
7-
python: "3.8"
7+
python: "3.9"
88

99
sphinx:
1010
configuration: docs/conf.py

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Key Features
4848
Installing
4949
----------
5050

51-
**Python 3.8 or higher is required.**
51+
**Python 3.9 or higher is required.**
5252

5353
To install the library without full voice support, you can just run the following command:
5454

docs/intro.rst

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

16-
discord.py-self works with Python 3.8 or higher. Support for earlier versions of Python
16+
discord.py-self works with Python 3.9 or higher. Support for earlier versions of Python
1717
is not provided.
1818

1919

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ name = "discord.py-self"
77
description = "A Python wrapper for the Discord user API"
88
readme = { file = "README.rst", content-type = "text/x-rst" }
99
license = { file = "LICENSE" }
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
authors = [{ name = "Dolfies", email = "me@dolfi.es" }]
1212
classifiers = [
1313
"Development Status :: 5 - Production/Stable",
1414
"License :: OSI Approved :: MIT License",
1515
"Intended Audience :: Developers",
1616
"Natural Language :: English",
1717
"Operating System :: OS Independent",
18-
"Programming Language :: Python :: 3.8",
1918
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
@@ -129,7 +128,7 @@ exclude = [
129128
reportUnnecessaryTypeIgnoreComment = "warning"
130129
reportUnusedImport = "error"
131130
reportShadowedImports = false
132-
pythonVersion = "3.8"
131+
pythonVersion = "3.9"
133132
typeCheckingMode = "basic"
134133

135134
[tool.pytest.ini_options]

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
aiohttp>=3.7.4,<4
2-
curl_cffi>=0.9.0,<0.10; python_version=="3.8"
3-
curl_cffi>=0.9.0,<1; python_version>"3.8"
2+
curl_cffi>=0.11.4,<1;
43
tzlocal>=4.0.0,<6
54
discord_protos<1.0.0
65
audioop-lts; python_version>='3.13'

0 commit comments

Comments
 (0)