Skip to content

Commit

Permalink
Client Release v3.2.0 (#12696)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 827353e125dfd5e8ca9d54ecc99d3885e695fa1f
  • Loading branch information
stephencpope authored and Descartes Labs Build committed Oct 8, 2024
1 parent 84c3c0a commit 98fc65a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/public-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 2 additions & 8 deletions descarteslabs/core/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion descarteslabs/core/client/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
11 changes: 5 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand All @@ -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",
Expand All @@ -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",
],
Expand Down

0 comments on commit 98fc65a

Please sign in to comment.