summaryrefslogtreecommitdiff
path: root/eventlet
diff options
context:
space:
mode:
authorJakub Stasiak <jakub@stasiak.at>2020-11-04 11:02:16 +0100
committerJakub Stasiak <jakub@stasiak.at>2020-11-04 19:56:57 +0100
commita745d62a932d7776fb9431a6fa74171c41d23450 (patch)
treefc1858a5961339a3963834ce2e76db18599be43d /eventlet
parent087ba743c7af8a40ac1e4e2ec89409eee3b4233e (diff)
downloadeventlet-a745d62a932d7776fb9431a6fa74171c41d23450.tar.gz
Deprecate CPython 2.7 and 3.4 support
This will allow us to remove some code and better spend the available resources. Both 2.7 and 3.4 are EOL. Closes GH-623.
Diffstat (limited to 'eventlet')
-rw-r--r--eventlet/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/eventlet/__init__.py b/eventlet/__init__.py
index b33415e..3b94a52 100644
--- a/eventlet/__init__.py
+++ b/eventlet/__init__.py
@@ -1,5 +1,12 @@
import os
+import sys
+import warnings
+if sys.version_info < (3, 5):
+ warnings.warn(
+ "Support for your Python version is deprecated and will be removed in the future",
+ DeprecationWarning,
+ )
version_info = (0, 29, 1)
__version__ = '.'.join(map(str, version_info))