Skip to content

Commit 3b6c9e5

Browse files
committed
Remove warning about Python 3.7 deprecation
1 parent 4468bad commit 3b6c9e5

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

setup.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,6 @@
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

5141
def read_reqs(path):
5242
with open(path, 'r') as fil:

sopel/cli/run.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@
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-
3929
LOGGER = logging.getLogger(__name__)
4030

4131
ERR_CODE = 1

0 commit comments

Comments
 (0)