Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 0 additions & 10 deletions sopel/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down