From d84993b92f018109e6eb36c8a3f0c0e7b273b1d5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 16 Sep 2023 17:53:32 +0300 Subject: [PATCH] Drop support for EOL Python 3.7 --- .github/workflows/ubuntu_build.yml | 2 +- appveyor.yml | 6 ------ pyproject.toml | 4 ++-- setup.py | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ubuntu_build.yml b/.github/workflows/ubuntu_build.yml index 023fea0b..eadb46b3 100644 --- a/.github/workflows/ubuntu_build.yml +++ b/.github/workflows/ubuntu_build.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] services: diff --git a/appveyor.yml b/appveyor.yml index daba997b..942b394d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,12 +53,6 @@ environment: # all the Python versions to be tested, both 32-bit and 64-bit # ref: https://www.appveyor.com/docs/windows-images-software/#python - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - PYTHON_HOME: "C:\\Python37" - - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - PYTHON_HOME: "C:\\Python37-x64" - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 PYTHON_HOME: "C:\\Python38" diff --git a/pyproject.toml b/pyproject.toml index c520a8c9..768bae34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,8 +2,8 @@ name = "pyodbc" version = "5.0.0b4" -requires-python = ">=3.7" -# This is used by the Github action that builds release artifacts using cibuildwheel. +requires-python = ">=3.8" +# This is used by the GitHub action that builds release artifacts using cibuildwheel. # cibuildwheel reads this directly: # # https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python diff --git a/setup.py b/setup.py index aad396be..097d5373 100755 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ def main(): package_dir={'': 'src'}, package_data={'': ['pyodbc.pyi']}, # places pyodbc.pyi alongside pyodbc.{platform}.{pyd|so} in site-packages license='MIT', - python_requires='>=3.7', + python_requires='>=3.8', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators',