diff --git a/.github/workflows/public-ci.yml b/.github/workflows/public-ci.yml index 1cd07a70..60753305 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.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 diff --git a/README.md b/README.md index ef8e4f25..d00bf8c7 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,20 @@ The documentation for the latest release can be found at [https://docs.descartes Changelog ========= +## [3.2.0] - 2024-10-08 + +### General + +- Support for Python 3.8 has been removed +- Support for Python 3.12 has been added +- Some dependencies have been updated due to security flaws +- The dependency on `pytz` has been removed in favor of the standard `zoneinfo` package +- Minor changes and additions to the client exception hierarchy so that ClientErrors and ServerErrors are not conflated in the retry support. + +### Catalog + +- The Catalog now provides support for Events, essentially notifications of new or updated assets in the Catalog, including images and storage blobs. Additionally, scheduled calendar-based events can be defined. You can subscribe to these events to trigger running a Compute function of your choice. This makes it possible to set up automated processing of new imagery. See the [https://docs.descarteslabs.com/guides/catalog.html](Catalog Guide) and API documentation for more information. + ## [3.1.0] - 2024-05-09 ### General diff --git a/descarteslabs/core/client/__init__.py b/descarteslabs/core/client/__init__.py index 1cd1830b..9b39550a 100644 --- a/descarteslabs/core/client/__init__.py +++ b/descarteslabs/core/client/__init__.py @@ -15,19 +15,13 @@ import sys import warnings -if sys.version_info < (3, 8): +if sys.version_info < (3, 9): msg = "Python version {}.{} not supported by the descarteslabs client".format( sys.version_info.major, sys.version_info.minor ) raise ImportError(msg) -if sys.version_info < (3, 9): - msg = "Python version {}.{} is no longer supported. You may encounter unexpected errors.".format( - sys.version_info.major, sys.version_info.minor - ) - warnings.warn(msg, FutureWarning) - -if sys.version_info >= (3, 12): +if sys.version_info >= (3, 13): msg = "Python version {}.{} is not supported yet. You may encounter unexpected errors.".format( sys.version_info.major, sys.version_info.minor ) diff --git a/descarteslabs/core/client/version.py b/descarteslabs/core/client/version.py index 8f2f698a..e5c0b865 100644 --- a/descarteslabs/core/client/version.py +++ b/descarteslabs/core/client/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "3.1.0" +__version__ = "3.2.0" diff --git a/setup.py b/setup.py index 9a12a242..a34cce23 100644 --- a/setup.py +++ b/setup.py @@ -70,6 +70,7 @@ 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=( @@ -93,17 +94,16 @@ def do_setup(): python_requires="~=3.9", install_requires=[ "affine>=2.2.2", - "blosc>=1.10.6", + "blosc>=1.11.2", "cachetools>=3.1.1", "dill>=0.3.6", "dynaconf>=3.1.11", "geojson>=2.5.0", "geopandas>=0.13.2", - "imagecodecs>=2021.6.8,<=2023.3.16;python_version=='3.8'", - "imagecodecs>=2023.3.16;python_version>='3.9'", + "imagecodecs>=2023.3.16", "lazy_object_proxy>=1.7.1", "mercantile>=1.1.3", - "numpy>=1.22.0;python_version>='3.8' and python_version<'3.11'", + "numpy>=1.22.0;python_version>='3.9' and python_version<'3.11'", "numpy>=1.23.2;python_version>='3.11'", "Pillow>=9.2.0", "pyarrow>=14.0.1", @@ -113,8 +113,7 @@ def do_setup(): "setuptools>=70.0.0", "shapely>=2.0.0", "strenum>=0.4.8", - "tifffile==2023.4.12;python_version=='3.8'", - "tifffile>=2023.9.26;python_version>='3.9'", + "tifffile>=2023.9.26", "tqdm>=4.66.3", "urllib3>=1.26.19, !=2.0.0, !=2.0.1, !=2.0.2, !=2.0.3, !=2.0.4", ],