From 98e23bdfd4d04425afb9f381c456367db91f13c5 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 25 Oct 2023 13:15:53 -0700 Subject: [PATCH] Remove Python 3.7 support. Signed-off-by: Anders Kaseorg --- .github/workflows/zulip-tests.yml | 6 +++--- zulip/README.md | 2 +- zulip/setup.py | 3 +-- zulip_bots/setup.py | 3 +-- zulip_botserver/setup.py | 3 +-- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/zulip-tests.yml b/.github/workflows/zulip-tests.yml index b06fbb19..921fd33c 100644 --- a/.github/workflows/zulip-tests.yml +++ b/.github/workflows/zulip-tests.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - name: Install dependencies run: tools/provision --force @@ -32,7 +32,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 diff --git a/zulip/README.md b/zulip/README.md index 40bcc8f5..024f7861 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.7)** +* **Python (version >= 3.8)** * 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 c859bfcb..c8056672 100755 --- a/zulip/setup.py +++ b/zulip/setup.py @@ -42,12 +42,11 @@ setup( "License :: OSI Approved :: Apache Software License", "Topic :: Communications :: Chat", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ], - python_requires=">=3.7", + python_requires=">=3.8", url="https://www.zulip.org/", project_urls={ "Source": "https://github.com/zulip/python-zulip-api/", diff --git a/zulip_bots/setup.py b/zulip_bots/setup.py index 8f6f753f..adb2dae5 100644 --- a/zulip_bots/setup.py +++ b/zulip_bots/setup.py @@ -34,12 +34,11 @@ setup( "License :: OSI Approved :: Apache Software License", "Topic :: Communications :: Chat", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ], - python_requires=">=3.7", + python_requires=">=3.8", 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 0ead13a2..27559dc7 100644 --- a/zulip_botserver/setup.py +++ b/zulip_botserver/setup.py @@ -22,12 +22,11 @@ setup( "License :: OSI Approved :: Apache Software License", "Topic :: Communications :: Chat", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ], - python_requires=">=3.7", + python_requires=">=3.8", url="https://www.zulip.org/", project_urls={ "Source": "https://github.com/zulip/python-zulip-api/",