From 62b74b238c2f330d4af3a114ababd255d1c6fb0b Mon Sep 17 00:00:00 2001 From: Xee authors Date: Mon, 9 Oct 2023 10:32:32 -0700 Subject: [PATCH] Setting Minimum Versions (Python and EE) We use 3.9-style type annotations in this codebase. To support 3.8 in the future, we'll need to use a compatible style type annotation. In addition, we set the minimum version of the EE client to prevent errors in computing pixels. Fixes #48 and Fixes #56. PiperOrigin-RevId: 571976897 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index df7116e..aedd555 100644 --- a/setup.py +++ b/setup.py @@ -43,14 +43,14 @@ license='Apache 2.0', author='Google LLC', author_email='noreply@google.com', - install_requires=['xarray', 'earthengine-api', 'pyproj', 'affine'], + install_requires=['xarray', 'earthengine-api>=0.1.374', 'pyproj', 'affine'], extras_require={ 'tests': tests_requires, 'examples': examples_require, }, url='https://github.com/google/xee', packages=setuptools.find_packages(exclude=['examples']), - python_requires='>=3.8', + python_requires='>=3.9', entry_points={ 'xarray.backends': ['ee=xee:EarthEngineBackendEntrypoint'], }