Skip to content

Commit eb721ac

Browse files
authored
Merge pull request #549 from Labelbox/jt/al-2193
[AL-2193] Deprecation message for Python 3.6
2 parents a237ffe + c32c704 commit eb721ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

labelbox/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name = "labelbox"
22
__version__ = "3.19.1"
33

4+
import sys
5+
import warnings
6+
7+
if sys.version_info < (3, 7):
8+
warnings.warn("""Python 3.6 will no longer be actively supported
9+
starting 06/01/2022. Please upgrade to Python 3.7 or higher.""")
10+
411
from labelbox.client import Client
512
from labelbox.schema.project import Project
613
from labelbox.schema.model import Model

0 commit comments

Comments
 (0)