File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -30,15 +30,6 @@ def read_file(filename):
3030needs_pytest = {"pytest" , "test" }.intersection (sys .argv )
3131pytest_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
4334setup (
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" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments