From e0eed271d134cf15c29e93a16f31494cdb278bfe Mon Sep 17 00:00:00 2001 From: "Stephen C. Pope" Date: Mon, 22 Jan 2024 10:55:56 -0700 Subject: [PATCH] Client: Remove py3.12 support (#12403) GitOrigin-RevId: f225403353214703a07044605c1e6ef2034a3ec1 --- .github/workflows/public-ci.yml | 2 +- README.md | 3 ++- descarteslabs/core/client/__init__.py | 2 +- setup.py | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/public-ci.yml b/.github/workflows/public-ci.yml index 0e5e5114..f5290bf5 100644 --- a/.github/workflows/public-ci.yml +++ b/.github/workflows/public-ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 diff --git a/README.md b/README.md index 6c07ce07..fcb88ab8 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,8 @@ Changelog - The minimum required version of `urllib3` has been bumped to 1.26.18 to address a security vulnerability. - The minimum required version of `shapely` has been bumped to 2.0.0 to address thread safety issues. - Python 3.7, formerly deprecated, is no longer supported. -- Python 3.12 is now supported. +- Python 3.12 is not officially supported yet due to the lack of support from `blosc`. However, if you + are able to provide a functional `blosc` on your own, then 3.12 should work. - Urllib3 2.X is now supported. ## [2.1.2] - 2023-10-31 diff --git a/descarteslabs/core/client/__init__.py b/descarteslabs/core/client/__init__.py index 78500628..b1c84021 100644 --- a/descarteslabs/core/client/__init__.py +++ b/descarteslabs/core/client/__init__.py @@ -21,7 +21,7 @@ ) raise ImportError(msg) -if sys.version_info >= (3, 13): +if sys.version_info >= (3, 12): msg = "Python version {}.{} is not supported yet. You may encounter unexpected errors.".format( sys.version_info.major, sys.version_info.minor ) diff --git a/setup.py b/setup.py index 7a4cc509..7da05ccb 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,6 @@ def do_setup(): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", ], license="Apache 2.0", download_url=(