From 9353b65c055d11d402e8e9d6b095ae3c41d83768 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Tue, 17 Sep 2024 17:52:37 -0700 Subject: [PATCH] Install python 3.8 Signed-off-by: Yury-Fridlyand --- .github/workflows/pypi-cd.yml | 6 +++--- python/Pipfile | 2 +- python/pyproject.toml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pypi-cd.yml b/.github/workflows/pypi-cd.yml index c4a355eca9..9e0e3d1240 100644 --- a/.github/workflows/pypi-cd.yml +++ b/.github/workflows/pypi-cd.yml @@ -118,7 +118,7 @@ jobs: if: startsWith(matrix.build.NAMED_OS, 'darwin') run: | brew update - brew install python@3.9 + brew install python@3.8 python@3.9 - name: Setup Python for self-hosted Ubuntu runners if: contains(matrix.build.OS, 'ubuntu') && contains(matrix.build.RUNNER, 'self-hosted') @@ -156,7 +156,7 @@ jobs: with: working-directory: ./python target: ${{ matrix.build.TARGET }} - args: --release --strip --out wheels -i ${{ github.event_name != 'pull_request' && 'python3.9 python3.10 python3.11 python3.12' || 'python3.10' }} + args: --release --strip --out wheels -i ${{ github.event_name != 'pull_request' && 'python3.8 python3.9 python3.10 python3.11 python3.12' || 'python3.10' }} manylinux: auto container: ${{ matrix.build.CONTAINER != '' && matrix.build.CONTAINER || '2014' }} before-script-linux: | @@ -186,7 +186,7 @@ jobs: with: working-directory: ./python target: ${{ matrix.build.TARGET }} - args: --release --strip --out wheels -i ${{ github.event_name != 'pull_request' && 'python3.9 python3.10 python3.11 python3.12' || 'python3.10' }} + args: --release --strip --out wheels -i ${{ github.event_name != 'pull_request' && 'python3.8 python3.9 python3.10 python3.11 python3.12' || 'python3.10' }} - name: Upload Python wheels if: github.event_name != 'pull_request' diff --git a/python/Pipfile b/python/Pipfile index d582066226..5d44a4887c 100644 --- a/python/Pipfile +++ b/python/Pipfile @@ -8,4 +8,4 @@ name = "pypi" [dev-packages] [requires] -python_version = "3.9" +python_version = "3.8" diff --git a/python/pyproject.toml b/python/pyproject.toml index 7f1240c082..c0399197b8 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "valkey-glide" -requires-python = ">=3.9" +requires-python = ">=3.8" dependencies = [ "async-timeout>=4.0.2", "typing-extensions>=4.8.0", @@ -30,7 +30,7 @@ max-line-length = 127 extend-ignore = ['E203'] [tool.black] -target-version = ['py39', 'py310', 'py311', 'py312'] +target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] [tool.mypy] exclude = [ 'submodules' ]