Skip to content

Commit 40f80f3

Browse files
Drop Python 3.8 (#504)
Drop it properly in metadata.
1 parent 29c42a9 commit 40f80f3

File tree

4 files changed

+2
-36
lines changed

4 files changed

+2
-36
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
rev: '25.1.0'
1717
hooks:
1818
- id: black
19-
language_version: python3 # Should be a command that runs python3.6+
19+
language_version: python3
2020
- repo: https://github.com/pre-commit/pre-commit-hooks
2121
rev: 'v5.0.0'
2222
hooks:

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ from git:
126126
127127
$ pip install aiohttp_cors
128128
129-
Note that ``aiohttp_cors`` requires versions of Python >= 3.4.1 and
130-
``aiohttp`` >= 1.1.
131-
132129
Usage
133130
=====
134131

setup.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ def read_file(filename):
3030
needs_pytest = {"pytest", "test"}.intersection(sys.argv)
3131
pytest_runner = ["pytest_runner"] if needs_pytest else []
3232

33-
# aiohttp requires Python >= 3.4.1, so as aiohttp_cors.
34-
if sys.version_info[:3] < (3, 4, 1):
35-
print(
36-
"Error: aiohttp_cors requires Python interpreter version >= 3.4.1, "
37-
"this interpreter has version '{}'".format(sys.version),
38-
file=sys.stderr,
39-
)
40-
sys.exit(1)
41-
4233

4334
setup(
4435
name=about["__title__"],
@@ -74,6 +65,7 @@ def read_file(filename):
7465
install_requires=[
7566
"aiohttp>=3.9",
7667
],
68+
python_requires=">=3.9",
7769
license=about["__license__"],
7870
classifiers=[
7971
"License :: OSI Approved :: Apache Software License",

tox.ini

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)