File tree Expand file tree Collapse file tree 4 files changed +2
-36
lines changed Expand file tree Collapse file tree 4 files changed +2
-36
lines changed Original file line number Diff line number Diff line change 16
16
rev : ' 25.1.0'
17
17
hooks :
18
18
- id : black
19
- language_version : python3 # Should be a command that runs python3.6+
19
+ language_version : python3
20
20
- repo : https://github.com/pre-commit/pre-commit-hooks
21
21
rev : ' v5.0.0'
22
22
hooks :
Original file line number Diff line number Diff line change @@ -126,9 +126,6 @@ from git:
126
126
127
127
$ pip install aiohttp_cors
128
128
129
- Note that ``aiohttp_cors `` requires versions of Python >= 3.4.1 and
130
- ``aiohttp `` >= 1.1.
131
-
132
129
Usage
133
130
=====
134
131
Original file line number Diff line number Diff line change @@ -30,15 +30,6 @@ def read_file(filename):
30
30
needs_pytest = {"pytest" , "test" }.intersection (sys .argv )
31
31
pytest_runner = ["pytest_runner" ] if needs_pytest else []
32
32
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
-
42
33
43
34
setup (
44
35
name = about ["__title__" ],
@@ -74,6 +65,7 @@ def read_file(filename):
74
65
install_requires = [
75
66
"aiohttp>=3.9" ,
76
67
],
68
+ python_requires = ">=3.9" ,
77
69
license = about ["__license__" ],
78
70
classifiers = [
79
71
"License :: OSI Approved :: Apache Software License" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments