From 940b147406cf4569a1489cad36d0e4b894e584b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gl=C3=A4=C3=9Fle?= Date: Thu, 25 Apr 2024 22:03:01 +0200 Subject: [PATCH] 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. --- src/cpymad/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpymad/__init__.py b/src/cpymad/__init__.py index f62e8912..5c91f4b6 100644 --- a/src/cpymad/__init__.py +++ b/src/cpymad/__init__.py @@ -21,9 +21,9 @@ """ -if sys.version_info < (3, 7): +if sys.version_info < (3, 8): _unsupported_version = ( - "Support for python 3.6 and below will be removed in a future release!\n" + "Support for python 3.7 and below will be removed in a future release!\n" "If you need continued support for an older version, let us know at:\n" " https://github.com/hibtc/cpymad/issues") warnings.warn(_unsupported_version, DeprecationWarning)