diff --git a/setup.py b/setup.py index 2715983a1b..13e0a89195 100755 --- a/setup.py +++ b/setup.py @@ -37,16 +37,6 @@ # Maybe not the best way to do this, but this question is tiring. raise ImportError('Sopel requires Python 3.7+.') -# Py3.7 EOL: https://www.python.org/dev/peps/pep-0537/#and-beyond-schedule -if sys.version_info < (3, 8): - # TODO check this warning before releasing Sopel 8.0 - print( - 'Warning: Python 3.7 will reach end of life by June 2022 ' - 'and will receive no further updates. ' - 'Sopel 9.0 will drop support for it.', - file=sys.stderr, - ) - def read_reqs(path): with open(path, 'r') as fil: diff --git a/sopel/cli/run.py b/sopel/cli/run.py index 80687ad1ef..a764495553 100755 --- a/sopel/cli/run.py +++ b/sopel/cli/run.py @@ -26,16 +26,6 @@ tools.stderr('Error: Sopel requires Python 3.7+.') sys.exit(1) -# Py3.7 EOL: https://www.python.org/dev/peps/pep-0537/#and-beyond-schedule -if sys.version_info < (3, 8): - # TODO check this warning before releasing Sopel 8.0 - print( - 'Warning: Python 3.7 will reach end of life by June 2022 ' - 'and will receive no further updates. ' - 'Sopel 9.0 will drop support for it.', - file=sys.stderr, - ) - LOGGER = logging.getLogger(__name__) ERR_CODE = 1