diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index e2efe4d..99a7c8d 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- import json @@ -22,6 +21,9 @@ from typing import Any, Callable, Dict, Iterable, IO, List, Mapping, Optional, T __version__ = "0.6.4" +# Ensure the Python version is supported +assert sys.version_info >= (3, 5) + logger = logging.getLogger(__name__) # Check that we have a recent enough version