From f94c9505688d034427a0a58434808afd6ae33669 Mon Sep 17 00:00:00 2001 From: juliannguyen4 <109386615+juliannguyen4@users.noreply.github.com> Date: Mon, 18 Sep 2023 12:43:54 -0700 Subject: [PATCH] Remove 3.7 support in workflows and docs --- .github/workflows/tests.yml | 22 ++++++++++++---------- .github/workflows/valgrind.yml | 2 +- README.rst | 2 +- pyproject.toml | 1 - 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c243db31..5d0369cc5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,8 @@ name: PR pre-merge tests +env: + LOWEST_SUPPORTED_PY_VERSION: '3.8' + # Trigger test workflow whenever: # 1. A pull request is updated (e.g with new commits) # 2. Commits are pushed directly to the stage or master branch @@ -36,7 +39,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - py-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + py-version: ["3.8", "3.9", "3.10", "3.11"] fail-fast: false steps: @@ -162,12 +165,12 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }} architecture: 'x64' - uses: actions/download-artifact@v3 with: - name: wheel-3.7 + name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }} - name: Install client run: pip install *.whl @@ -190,12 +193,12 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }} architecture: 'x64' - uses: actions/download-artifact@v3 with: - name: wheel-3.7 + name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }} - name: Install client run: pip install *.whl @@ -220,7 +223,6 @@ jobs: strategy: matrix: py-version: [ - "3.7", "3.8", "3.9", "3.10", @@ -274,12 +276,12 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }} architecture: 'x64' - uses: actions/download-artifact@v3 with: - name: wheel-3.7 + name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }} - name: Install client run: pip install *.whl @@ -310,12 +312,12 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }} architecture: 'x64' - uses: actions/download-artifact@v3 with: - name: wheel-3.7 + name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }} - name: Install client run: pip install *.whl diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index dbbcae8e6..85c10da22 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: '3.8' architecture: 'x64' - name: Install client diff --git a/README.rst b/README.rst index 466c7515d..324fe8215 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ Aerospike Python Client Compatibility ------------- -The Python client for Aerospike works with Python 3.7 - 3.11 and supports the following OS'es: +The Python client for Aerospike works with Python 3.8 - 3.11 and supports the following OS'es: * macOS 11 and 12 * CentOS 7 Linux diff --git a/pyproject.toml b/pyproject.toml index 6c2797cd3..517a37196 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,6 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10",