From 580f75a3d670281c3f40dce8a2a9ee0c3d7d97cb Mon Sep 17 00:00:00 2001 From: Leo Dirac Date: Mon, 2 Dec 2024 13:28:05 -0800 Subject: [PATCH 1/2] Adding py3.13 to tests. Updating old references to <3.9. --- .github/workflows/cicd.yaml | 1 + .pylintrc | 2 +- docs/docs/installation/1-linux.md | 6 +++--- docs/docs/installation/2-macos.md | 6 +++--- docs/docs/installation/3-windows.md | 2 +- generated/.gitlab-ci.yml | 23 +++++++++++++++-------- generated/.travis.yml | 7 ++++--- 7 files changed, 28 insertions(+), 19 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 431747f4..ed9ebdaf 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -135,6 +135,7 @@ jobs: "3.10", "3.11", "3.12", + "3.13", ] install_extras: [true, false] steps: diff --git a/.pylintrc b/.pylintrc index 0a1fba02..8838f39f 100644 --- a/.pylintrc +++ b/.pylintrc @@ -46,7 +46,7 @@ persistent=yes # Min Python version to use for version dependend checks. Will default to the # version used to run pylint. -py-version=3.8 +py-version=3.9 # When enabled, pylint would attempt to guess common misconfiguration and emit # user-friendly hints instead of false-positive error messages. diff --git a/docs/docs/installation/1-linux.md b/docs/docs/installation/1-linux.md index 1a7a5b06..400cfd4a 100644 --- a/docs/docs/installation/1-linux.md +++ b/docs/docs/installation/1-linux.md @@ -6,12 +6,12 @@ This guide will help you install the Groundlight SDK on Linux. The Groundlight S Ensure that you have the following installed on your system: -- Python 3.8 or higher +- Python 3.9 or higher - pip (Python package installer) ## Basic Installation -Assuming you have Python 3.8 or higher installed on your system, you can proceed with the following steps to install or upgrade the Groundlight SDK: +Assuming you have Python 3.9 or higher installed on your system, you can proceed with the following steps to install or upgrade the Groundlight SDK: ### Installing Groundlight SDK @@ -61,7 +61,7 @@ To check your installed Python version, open a terminal and run: python --version ``` -If you see a version number starting with "3.8" or higher (e.g., "3.8.5" or "3.9.0"), you're good to go. If not, you might need to upgrade Python on your system. +If you see a version number starting with "3.9" or higher (e.g., "3.9.7" or "3.12.3"), you're good to go. If not, you might need to upgrade Python on your system. ### Upgrading Python on Linux diff --git a/docs/docs/installation/2-macos.md b/docs/docs/installation/2-macos.md index 04f843c6..0f450fb0 100644 --- a/docs/docs/installation/2-macos.md +++ b/docs/docs/installation/2-macos.md @@ -6,12 +6,12 @@ This guide will help you install the Groundlight SDK on macOS. The Groundlight S Ensure that you have the following installed on your system: -- Python 3.8 or higher +- Python 3.9 or higher - pip (Python package installer) ## Basic Installation -Assuming you have Python 3.8 or higher installed on your system, you can proceed with the following steps to install or upgrade the Groundlight SDK: +Assuming you have Python 3.9 or higher installed on your system, you can proceed with the following steps to install or upgrade the Groundlight SDK: ### Installing Groundlight SDK @@ -61,7 +61,7 @@ To check your installed Python version, open a terminal and run: python --version ``` -If you see a version number starting with "3.8" or higher (e.g., "3.8.5" or "3.9.0"), you're good to go. If not, you might need to upgrade Python on your system. +If you see a version number starting with "3.9" or higher (e.g., "3.9.7" or "3.12.3"), you're good to go. If not, you might need to upgrade Python on your system. ### Upgrading Python on MacOS diff --git a/docs/docs/installation/3-windows.md b/docs/docs/installation/3-windows.md index bab94295..dfb6c100 100644 --- a/docs/docs/installation/3-windows.md +++ b/docs/docs/installation/3-windows.md @@ -61,7 +61,7 @@ To check your installed Python version, open a Command Prompt and run: python --version ``` -If you see a version number starting with "3.8" or higher (e.g., "3.8.5" or "3.9.0"), you're good to go. If not, you might need to upgrade Python on your system. +If you see a version number starting with "3.9" or higher (e.g., "3.9.7" or "3.12.3"), you're good to go. If not, you might need to upgrade Python on your system. ### Upgrading Python on Windows diff --git a/generated/.gitlab-ci.yml b/generated/.gitlab-ci.yml index 03ea3147..d78ce0cd 100644 --- a/generated/.gitlab-ci.yml +++ b/generated/.gitlab-ci.yml @@ -10,15 +10,22 @@ stages: - pip install -r test-requirements.txt - pytest --cov=groundlight_openapi_client -test-3.6: +test-3.9: extends: .tests - image: python:3.6-alpine -test-3.7: + image: python:3.9-alpine + +test-3.10: extends: .tests - image: python:3.7-alpine -test-3.8: + image: python:3.10-alpine + +test-3.11: extends: .tests - image: python:3.8-alpine -test-3.9: + image: python:3.11-alpine + +test-3.12: extends: .tests - image: python:3.9-alpine + image: python:3.12-alpine + +test-3.13: + extends: .tests + image: python:3.13-alpine diff --git a/generated/.travis.yml b/generated/.travis.yml index 7a48c12c..346a348b 100644 --- a/generated/.travis.yml +++ b/generated/.travis.yml @@ -1,10 +1,11 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.6" - - "3.7" - - "3.8" - "3.9" + - "3.10" + - "3.11" + - "3.12" + - "3.13" # command to install dependencies install: - "pip install -r requirements.txt" From 3284bbfdb050f5b236d7004b1022cf04c696ea03 Mon Sep 17 00:00:00 2001 From: Leo Dirac Date: Mon, 2 Dec 2024 14:19:14 -0800 Subject: [PATCH 2/2] Updating setup.py to minimum 3.9 python --- generated/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/setup.py b/generated/setup.py index 9c4bb572..4150882d 100644 --- a/generated/setup.py +++ b/generated/setup.py @@ -32,7 +32,7 @@ author_email="support@groundlight.ai", url="", keywords=["OpenAPI", "OpenAPI-Generator", "Groundlight API"], - python_requires=">=3.6", + python_requires=">=3.9", install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True,