From 3887ad102e26efd1a9e3ed80e95a3ca4ad6600f8 Mon Sep 17 00:00:00 2001 From: LoopThrough-i-j Date: Fri, 26 Feb 2021 19:09:03 +0530 Subject: [PATCH] python-zulip-api: Drop python3.5 support. Fixes Part of #655 --- zulip/README.md | 2 +- zulip/setup.py | 4 ++-- zulip/zulip/__init__.py | 2 +- zulip_bots/setup.py | 4 ++-- zulip_botserver/setup.py | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zulip/README.md b/zulip/README.md index 42f42e5..2fff879 100644 --- a/zulip/README.md +++ b/zulip/README.md @@ -3,7 +3,7 @@ The [Zulip API](https://zulip.com/api) Python bindings require the following dependencies: -* **Python (version >= 3.5)** +* **Python (version >= 3.6)** * requests (version >= 0.12.1) **Note**: If you'd like to use the Zulip bindings with Python 2, we diff --git a/zulip/setup.py b/zulip/setup.py index 2094378..12eec45 100755 --- a/zulip/setup.py +++ b/zulip/setup.py @@ -40,12 +40,12 @@ package_info = dict( 'License :: OSI Approved :: Apache Software License', 'Topic :: Communications :: Chat', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], - python_requires='>=3.5', + python_requires='>=3.6', url='https://www.zulip.org/', project_urls={ "Source": "https://github.com/zulip/python-zulip-api/", diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index c28d95d..3ae1e32 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -20,7 +20,7 @@ from typing import Any, Callable, Dict, Iterable, IO, List, Mapping, Optional, T __version__ = "0.7.1" # Ensure the Python version is supported -assert sys.version_info >= (3, 5) +assert sys.version_info >= (3, 6) logger = logging.getLogger(__name__) diff --git a/zulip_bots/setup.py b/zulip_bots/setup.py index a367177..6396e29 100644 --- a/zulip_bots/setup.py +++ b/zulip_bots/setup.py @@ -38,12 +38,12 @@ package_info = dict( 'License :: OSI Approved :: Apache Software License', 'Topic :: Communications :: Chat', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], - python_requires='>=3.5', + python_requires='>=3.6', url='https://www.zulip.org/', project_urls={ "Source": "https://github.com/zulip/python-zulip-api/", diff --git a/zulip_botserver/setup.py b/zulip_botserver/setup.py index 9152ee7..c64c246 100644 --- a/zulip_botserver/setup.py +++ b/zulip_botserver/setup.py @@ -24,12 +24,12 @@ package_info = dict( 'License :: OSI Approved :: Apache Software License', 'Topic :: Communications :: Chat', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], - python_requires='>=3.5', + python_requires='>=3.6', url='https://www.zulip.org/', project_urls={ "Source": "https://github.com/zulip/python-zulip-api/",