From 58e43f76ea18503765569479cf57226ac9f13beb Mon Sep 17 00:00:00 2001 From: nh916 Date: Tue, 12 Sep 2023 16:26:58 -0700 Subject: [PATCH 1/3] changed documentation to require Python 3.8+ Python 3.7 is now deprecated --- README.md | 4 ++-- docs/tutorial/cript_installation_guide.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0b95c19d1..10eeb4f1f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![License](./CRIPT_full_logo_colored_transparent.png)](https://github.com/C-Accel-CRIPT/Python-SDK/blob/develop/LICENSE.md) [![License](https://img.shields.io/github/license/C-Accel-CRIPT/cript?style=flat-square)](https://github.com/C-Accel-CRIPT/Python-SDK/blob/develop/LICENSE.md) -[![Python](https://img.shields.io/badge/Language-Python%203.7+-blue?style=flat-square&logo=python)](https://www.python.org/) +[![Python](https://img.shields.io/badge/Language-Python%203.8+-blue?style=flat-square&logo=python)](https://www.python.org/) [![Code style is black](https://img.shields.io/badge/Code%20Style-black-000000.svg?style=flat-square&logo=python)](https://github.com/psf/black) [![Link to CRIPT website](https://img.shields.io/badge/platform-criptapp.org-blueviolet?style=flat-square)](https://criptapp.org/) [![Using Pytest](https://img.shields.io/badge/Dependencies-pytest-green?style=flat-square&logo=Pytest)](https://docs.pytest.org/en/7.2.x/) @@ -36,7 +36,7 @@ The CRIPT Python SDK allows programmatic access to the [CRIPT platform](https:// ## Installation -CRIPT Python SDK requires Python 3.7+ +CRIPT Python SDK requires Python 3.8+ The latest released of CRIPT Python SDK is available on [Python Package Index (PyPI)](https://pypi.org/project/cript/) diff --git a/docs/tutorial/cript_installation_guide.md b/docs/tutorial/cript_installation_guide.md index 9608d4f2a..32a595cf9 100644 --- a/docs/tutorial/cript_installation_guide.md +++ b/docs/tutorial/cript_installation_guide.md @@ -7,7 +7,7 @@ ## Steps -1. Install [Python 3.7+](https://www.python.org/downloads/) +1. Install [Python 3.8+](https://www.python.org/downloads/) 2. Create a virtual environment > It is best practice to create a dedicated [python virtual environment](https://docs.python.org/3/library/venv.html) for each python project From 486eb1ed7c78b42df4a737f8f345f73513550cdf Mon Sep 17 00:00:00 2001 From: nh916 Date: Tue, 12 Sep 2023 16:27:35 -0700 Subject: [PATCH 2/3] changed setup.cfg to require Python 3.8+ Python 3.7 is now deprecated --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 83e157762..04e15d0e0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,13 +14,13 @@ classifiers = Topic :: Scientific/Engineering Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 [options] package_dir = =src packages = find: -python_requires = >=3.7 +python_requires = >=3.8 include_package_data = True install_requires = requests==2.31.0 From be182389901712e5890b95807d3760a9599f551c Mon Sep 17 00:00:00 2001 From: nh916 Date: Tue, 12 Sep 2023 16:29:42 -0700 Subject: [PATCH 3/3] changed CI tests.yml to require Python 3.8+ Python 3.7 is now deprecated --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f72ae6dc0..6b80b2c52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] - python-version: [3.7, 3.11] + python-version: [3.8, 3.11] env: CRIPT_HOST: https://lb-stage.mycriptapp.org/