From 219f015c3a601c36420e8d1e2df9ed92efd9d052 Mon Sep 17 00:00:00 2001 From: Ayush Dattagupta Date: Tue, 20 Jun 2023 13:42:11 -0700 Subject: [PATCH] Add upper pin to pandas<2.0.0 (#1185) * Add upper pin to pandas<2.0.0 * add pin to conda meta yaml --- continuous_integration/environment-3.10-dev.yaml | 2 +- continuous_integration/environment-3.9-dev.yaml | 2 +- continuous_integration/gpuci/environment-3.10.yaml | 2 +- continuous_integration/gpuci/environment-3.9.yaml | 2 +- continuous_integration/recipe/meta.yaml | 2 +- docker/conda.txt | 2 +- docker/main.dockerfile | 2 +- docs/environment.yml | 2 +- docs/requirements-docs.txt | 2 +- setup.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/continuous_integration/environment-3.10-dev.yaml b/continuous_integration/environment-3.10-dev.yaml index 4926253d7..b7b65dd04 100644 --- a/continuous_integration/environment-3.10-dev.yaml +++ b/continuous_integration/environment-3.10-dev.yaml @@ -15,7 +15,7 @@ dependencies: - mlflow - mock - numpy>=1.21.6 -- pandas>=1.4.0 +- pandas>=1.4.0,<2.0.0 - pre-commit - prompt_toolkit>=3.0.8 - psycopg2 diff --git a/continuous_integration/environment-3.9-dev.yaml b/continuous_integration/environment-3.9-dev.yaml index eec8142c3..a0edfd6f7 100644 --- a/continuous_integration/environment-3.9-dev.yaml +++ b/continuous_integration/environment-3.9-dev.yaml @@ -15,7 +15,7 @@ dependencies: - mlflow - mock - numpy>=1.21.6 -- pandas>=1.4.0 +- pandas>=1.4.0,<2.0.0 - pre-commit - prompt_toolkit>=3.0.8 - psycopg2 diff --git a/continuous_integration/gpuci/environment-3.10.yaml b/continuous_integration/gpuci/environment-3.10.yaml index b5b4a7629..e47138a6a 100644 --- a/continuous_integration/gpuci/environment-3.10.yaml +++ b/continuous_integration/gpuci/environment-3.10.yaml @@ -18,7 +18,7 @@ dependencies: - mlflow - mock - numpy>=1.21.6 -- pandas>=1.4.0 +- pandas>=1.4.0,<2.0.0 - pre-commit - prompt_toolkit>=3.0.8 - psycopg2 diff --git a/continuous_integration/gpuci/environment-3.9.yaml b/continuous_integration/gpuci/environment-3.9.yaml index 7f0bd0ade..7da94474c 100644 --- a/continuous_integration/gpuci/environment-3.9.yaml +++ b/continuous_integration/gpuci/environment-3.9.yaml @@ -18,7 +18,7 @@ dependencies: - mlflow - mock - numpy>=1.21.6 -- pandas>=1.4.0 +- pandas>=1.4.0,<2.0.0 - pre-commit - prompt_toolkit>=3.0.8 - psycopg2 diff --git a/continuous_integration/recipe/meta.yaml b/continuous_integration/recipe/meta.yaml index 85dadc3a4..4d0c21d58 100644 --- a/continuous_integration/recipe/meta.yaml +++ b/continuous_integration/recipe/meta.yaml @@ -35,7 +35,7 @@ requirements: run: - python - dask >=2022.3.0,<=2023.5.1 - - pandas >=1.4.0 + - pandas >=1.4.0,<2.0.0 # FIXME: handling is needed for httpx-based fastapi>=0.87.0 - fastapi >=0.69.0,<0.87.0 - uvicorn >=0.13.4 diff --git a/docker/conda.txt b/docker/conda.txt index a081fc6b7..aa62b3b1c 100644 --- a/docker/conda.txt +++ b/docker/conda.txt @@ -1,6 +1,6 @@ python>=3.8 dask>=2022.3.0,<=2023.5.1 -pandas>=1.4.0 +pandas>=1.4.0,<2.0.0 jpype1>=1.0.2 openjdk>=8 maven>=3.6.0 diff --git a/docker/main.dockerfile b/docker/main.dockerfile index d13816fce..7fda7256e 100644 --- a/docker/main.dockerfile +++ b/docker/main.dockerfile @@ -17,7 +17,7 @@ RUN mamba install -y \ "setuptools-rust>=1.5.2" \ # core dependencies "dask>=2022.3.0,<=2023.5.1" \ - "pandas>=1.4.0" \ + "pandas>=1.4.0,<2.0.0" \ # FIXME: handling is needed for httpx-based fastapi>=0.87.0 "fastapi>=0.69.0,<0.87.0" \ "uvicorn>=0.13.4" \ diff --git a/docs/environment.yml b/docs/environment.yml index 1528211a1..c7213bb08 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -8,7 +8,7 @@ dependencies: - sphinx-tabs - dask-sphinx-theme>=2.0.3 - dask>=2022.3.0,<=2023.5.1 - - pandas>=1.4.0 + - pandas>=1.4.0,<2.0.0 - fugue>=0.7.3 # FIXME: handling is needed for httpx-based fastapi>=0.87.0 - fastapi>=0.69.0,<0.87.0 diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 19849425d..81f3a944a 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -2,7 +2,7 @@ sphinx>=4.0.0 sphinx-tabs dask-sphinx-theme>=3.0.0 dask>=2022.3.0,<=2023.5.1 -pandas>=1.4.0 +pandas>=1.4.0,<2.0.0 fugue>=0.7.3 # FIXME: handling is needed for httpx-based fastapi>=0.87.0 fastapi>=0.69.0,<0.87.0 diff --git a/setup.py b/setup.py index eaee4ea78..0f3c8a390 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ install_requires=[ "dask[dataframe]>=2022.3.0,<=2023.5.1", "distributed>=2022.3.0,<=2023.5.1", - "pandas>=1.4.0", + "pandas>=1.4.0,<2.0.0", # FIXME: handling is needed for httpx-based fastapi>=0.87.0 "fastapi>=0.69.0,<0.87.0", "uvicorn>=0.13.4",