From a3ec19feca2904dc4a4778c6262a8a1e037f3996 Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Fri, 7 Apr 2023 14:55:56 -0700 Subject: [PATCH 1/2] Require Python>=3.8 Signed-off-by: Mattt Zmuda --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 826f2483..98794594 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ author="Replicate, Inc.", license="BSD", url="https://github.com/replicate/replicate-python", - python_requires=">=3.6", + python_requires=">=3.8", install_requires=["requests", "pydantic", "packaging"], classifiers=[], ) From 8b1e0a2bb100e340cfafeed933595211c79970ba Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Fri, 7 Apr 2023 14:56:29 -0700 Subject: [PATCH 2/2] Test Python 3.8, 3.9, 3.10, and 3.11 Signed-off-by: Mattt Zmuda --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e763578d..c709a42c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] defaults: run: shell: bash