From 25869748e92985b341a932440e8d07eb9527ba7c Mon Sep 17 00:00:00 2001 From: Becca McBrayer Date: Tue, 19 Sep 2023 16:24:23 -0400 Subject: [PATCH] Pin pandas version (#4315) * Pin pandas and add single 3.9 test to PR checks --- .github/meta.yaml | 2 +- .github/workflows/linux_unit_tests_with_latest_deps.yaml | 2 ++ core-requirements.txt | 2 +- docs/source/release_notes.rst | 1 + .../dependency_update_check/latest_dependency_versions.txt | 2 +- pyproject.toml | 2 +- 6 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/meta.yaml b/.github/meta.yaml index d0dc4b9f2d..d6be070495 100644 --- a/.github/meta.yaml +++ b/.github/meta.yaml @@ -25,7 +25,7 @@ outputs: - setuptools ==58.0.4 run: - numpy >=1.21.0 - - pandas >=1.5.0 + - pandas >=1.5.0, <2.1.0 - dask >=2022.2.0, !=2022.10.1 - scipy >=1.5.0 - scikit-learn >=1.3.0 diff --git a/.github/workflows/linux_unit_tests_with_latest_deps.yaml b/.github/workflows/linux_unit_tests_with_latest_deps.yaml index 666b197ce5..80d7633cee 100644 --- a/.github/workflows/linux_unit_tests_with_latest_deps.yaml +++ b/.github/workflows/linux_unit_tests_with_latest_deps.yaml @@ -15,6 +15,8 @@ jobs: fail-fast: false matrix: include: + - python_version: "3.9" + command: 'git-test-automl' - python_version: "3.8" command: 'git-test-automl' - python_version: "3.8" diff --git a/core-requirements.txt b/core-requirements.txt index fec221f81e..15b9a4d9fe 100644 --- a/core-requirements.txt +++ b/core-requirements.txt @@ -1,5 +1,5 @@ numpy>=1.21.0 -pandas>=1.5.0 +pandas>=1.5.0, <2.1.0 scipy>=1.5.0 scikit-learn>=1.3.0 scikit-optimize>=0.9.0 diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index efcfb028dc..81a1ca32dc 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -11,6 +11,7 @@ Release Notes * Fixes * Changes * Updated ``split_data`` to call ``split_multiseries_data`` when passed stacked multiseries data :pr:`4312` + * Pinned pandas version under 2.1.0 :pr:`4315` * Documentation Changes * Removed LightGBM's excessive amount of warnings :pr:`4308` * Testing Changes diff --git a/evalml/tests/dependency_update_check/latest_dependency_versions.txt b/evalml/tests/dependency_update_check/latest_dependency_versions.txt index 9a3d4ba79d..ef3233a29f 100644 --- a/evalml/tests/dependency_update_check/latest_dependency_versions.txt +++ b/evalml/tests/dependency_update_check/latest_dependency_versions.txt @@ -1,5 +1,5 @@ black==23.9.1 -catboost==1.2.1.1 +catboost==1.2.2 category-encoders==2.5.1.post0 click==8.1.7 cloudpickle==2.2.1 diff --git a/pyproject.toml b/pyproject.toml index 8c9e0fe38b..93c84548fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ license = {file = "LICENSE"} requires-python = ">=3.8,<4" dependencies = [ "numpy >= 1.21.0", - "pandas >= 1.5.0", + "pandas >= 1.5.0, < 2.1.0", "scipy >= 1.5.0", "scikit-learn >= 1.3.0", "scikit-optimize >= 0.9.0",