File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change 3737 # Maybe not the best way to do this, but this question is tiring.
3838 raise ImportError ('Sopel requires Python 3.7+.' )
3939
40- # Py3.7 EOL: https://www.python.org/dev/peps/pep-0537/#and-beyond-schedule
41- if sys .version_info < (3 , 8 ):
42- # TODO check this warning before releasing Sopel 8.0
43- print (
44- 'Warning: Python 3.7 will reach end of life by June 2023 '
45- 'and will receive no further updates. '
46- 'Sopel 9.0 will drop support for it.' ,
47- file = sys .stderr ,
48- )
49-
5040
5141def read_reqs (path ):
5242 with open (path , 'r' ) as fil :
Original file line number Diff line number Diff line change 2626 tools .stderr ('Error: Sopel requires Python 3.7+.' )
2727 sys .exit (1 )
2828
29- # Py3.7 EOL: https://www.python.org/dev/peps/pep-0537/#and-beyond-schedule
30- if sys .version_info < (3 , 8 ):
31- # TODO check this warning before releasing Sopel 8.0
32- print (
33- 'Warning: Python 3.7 will reach end of life by June 2023 '
34- 'and will receive no further updates. '
35- 'Sopel 9.0 will drop support for it.' ,
36- file = sys .stderr ,
37- )
38-
3929LOGGER = logging .getLogger (__name__ )
4030
4131ERR_CODE = 1
You can’t perform that action at this time.
0 commit comments