diff --git a/alibi_detect/od/tests/test_prophet.py b/alibi_detect/od/tests/test_prophet.py index 9ccd2c11d..42d98b67f 100644 --- a/alibi_detect/od/tests/test_prophet.py +++ b/alibi_detect/od/tests/test_prophet.py @@ -11,7 +11,7 @@ return_forecast = [True, False] d_fit = { - 'ds': pd.date_range(pd.datetime.today(), periods=100), + 'ds': pd.date_range(datetime.date.today(), periods=100), 'y': np.random.randn(100) } df_fit = pd.DataFrame(data=d_fit) diff --git a/requirements/docs.txt b/requirements/docs.txt index fe2c6c187..6765a4f50 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -14,5 +14,5 @@ ipython>=7.2.0, <9.0.0 # required for executing notebooks nbsphinx # pandoc==2.9.2.1 # NB: as this is not a Python library, it should be installed manually on the system or via a package manager such as `conda` # alibi_detect dependencies (these are installed on ReadTheDocs so are not mocked) numpy>=1.16.2, <2.0.0 -pandas>=0.23.3, <2.0.0 +pandas>=1.0.0, <3.0.0 matplotlib>=3.0.0, <4.0.0 diff --git a/setup.py b/setup.py index 9b90a3562..b8a6134aa 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ def readme(): install_requires=[ "matplotlib>=3.0.0, <4.0.0", "numpy>=1.16.2, <2.0.0", - "pandas>=0.23.3, <2.0.0", + "pandas>=1.0.0, <3.0.0", "Pillow>=5.4.1, <10.0.0", "opencv-python>=3.2.0, <5.0.0", "scipy>=1.3.0, <2.0.0",