From b48304f49bfb891ecc0739294cfbb3fa03ff366b Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Thu, 4 Jan 2024 01:32:22 +0000 Subject: [PATCH] add pandas to constraints.in, fix docstring --- datacube/api/core.py | 2 +- docker/constraints.in | 3 ++- docker/constraints.txt | 8 ++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/datacube/api/core.py b/datacube/api/core.py index 002ae690b..8622c3fb4 100644 --- a/datacube/api/core.py +++ b/datacube/api/core.py @@ -191,7 +191,7 @@ def _list_measurements(self): def load(self, product=None, measurements=None, output_crs=None, resolution=None, resampling=None, skip_broken_datasets=False, dask_chunks=None, like=None, fuse_func=None, align=None, datasets=None, dataset_predicate=None, progress_cbk=None, patch_url=None, **query): - """ + r""" Load data as an ``xarray.Dataset`` object. Each measurement will be a data variable in the :class:`xarray.Dataset`. diff --git a/docker/constraints.in b/docker/constraints.in index 95758d9d1..b25b22227 100644 --- a/docker/constraints.in +++ b/docker/constraints.in @@ -21,6 +21,7 @@ matplotlib moto netcdf4>=1.5.8 numpy>=1.22.2 +pandas>=2.0 psycopg2 pycodestyle pylint @@ -37,7 +38,7 @@ sphinx_autodoc_typehints sphinx_rtd_theme sqlalchemy<2.0 toolz -xarray>=2023.9.0 +xarray>=0.9 # Previous pins were to very old versions # pytest Py3.10 requires >6.2.5 diff --git a/docker/constraints.txt b/docker/constraints.txt index 1750eab67..39f1261d0 100644 --- a/docker/constraints.txt +++ b/docker/constraints.txt @@ -228,8 +228,10 @@ packaging==23.0 # setuptools-scm # sphinx # xarray -pandas==2.1.1 - # via xarray +pandas==2.1.4 + # via + # -r constraints.in + # xarray partd==1.3.0 # via dask pendulum==2.1.2 @@ -411,6 +413,8 @@ typing-extensions==4.4.0 # via # pygeoif # setuptools-scm +tzdata==2023.4 + # via pandas urllib3==1.26.14 # via # botocore