Skip to content

Commit 940b147

Browse files
committed
Warn about EOL for py3.7 and below
py3.7 EOL date was 2023-06. py3.8 EOL date is scheduled for 2024-10, but I think tools will support it for a while longer, so it's fair not to be too noisy about it already.
1 parent d97c6a5 commit 940b147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cpymad/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"""
2222

2323

24-
if sys.version_info < (3, 7):
24+
if sys.version_info < (3, 8):
2525
_unsupported_version = (
26-
"Support for python 3.6 and below will be removed in a future release!\n"
26+
"Support for python 3.7 and below will be removed in a future release!\n"
2727
"If you need continued support for an older version, let us know at:\n"
2828
" https://github.com/hibtc/cpymad/issues")
2929
warnings.warn(_unsupported_version, DeprecationWarning)

0 commit comments

Comments
 (0)