From 4e7a3f8454af65c08f70905bc095f7e5ab75dc80 Mon Sep 17 00:00:00 2001 From: "enrico.detoma" Date: Fri, 5 Feb 2021 17:04:33 +0100 Subject: [PATCH 1/8] Additional fix for missing pandas.Panel --- arctic/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arctic/__init__.py b/arctic/__init__.py index 4d70be91e..44ca80d6d 100644 --- a/arctic/__init__.py +++ b/arctic/__init__.py @@ -24,5 +24,9 @@ register_versioned_storage(PandasDataFrameStore) register_versioned_storage(PandasSeriesStore) -register_versioned_storage(PandasPanelStore) +try: + from pandas import Panel + register_versioned_storage(PandasPanelStore) +except ImportError: + pass register_versioned_storage(NdarrayStore) From 0e5e951e1bb533d6250dbe5f71111eeb99016aeb Mon Sep 17 00:00:00 2001 From: "enrico.detoma" Date: Tue, 8 Jun 2021 08:46:15 +0200 Subject: [PATCH 2/8] With the fix for missing pandas.Panel it is no longer needed to force old numpy/pandas versions --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index a31553f99..24c09fe01 100644 --- a/setup.py +++ b/setup.py @@ -70,14 +70,14 @@ def run_tests(self): long_description_content_type="text/markdown", cmdclass={'test': PyTest}, setup_requires=["six", - "numpy<=1.18.4", + "numpy", "setuptools-git", ], install_requires=["decorator", "enum-compat", "futures; python_version == '2.7'", "mockextras", - "pandas<=1.0.3", + "pandas", "pymongo>=3.6.0", "python-dateutil", "pytz", From bc7467bbdf7a7d384b8cc3c0f7999ec3dfc06b12 Mon Sep 17 00:00:00 2001 From: Enrico Date: Sat, 18 Feb 2023 11:59:49 +0100 Subject: [PATCH 3/8] Removed dependencies on old numpy and pandas packages --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 574ddbe97..cd93b6606 100644 --- a/setup.py +++ b/setup.py @@ -69,15 +69,15 @@ def run_tests(self): long_description='\n'.join((long_description, changelog)), long_description_content_type="text/markdown", cmdclass={'test': PyTest}, - setup_requires=["numpy<1.19.0", + setup_requires=["numpy", "setuptools-git", ], install_requires=["decorator", "enum-compat", "mock", "mockextras", - "pandas<1.1.0", - "numpy<1.19.0", + "pandas", + "numpy", "pymongo>=3.6.0, <= 3.11.0", "pytz", "tzlocal", From a93c1743e124a611ca8ee68c42cc63e0a6476be0 Mon Sep 17 00:00:00 2001 From: Enrico Date: Sat, 18 Feb 2023 19:13:26 +0100 Subject: [PATCH 4/8] pymongo <= 3.13.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cd93b6606..146a50bdf 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,7 @@ def run_tests(self): "mockextras", "pandas", "numpy", - "pymongo>=3.6.0, <= 3.11.0", + "pymongo>=3.6.0, <= 3.13.0", "pytz", "tzlocal", "lz4", From 68f16425969de84555a83f7e87400cb576e95ce0 Mon Sep 17 00:00:00 2001 From: Enrico Date: Sun, 22 Oct 2023 10:59:31 +0200 Subject: [PATCH 5/8] pymongo <= 3.13.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dd0f73b5c..226a797f9 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,7 @@ def run_tests(self): "mockextras", "pandas<2", "numpy<2", - "pymongo>=3.6.0, <= 3.11.0", + "pymongo>=3.6.0, <= 3.13.0", "pytz", "tzlocal", "lz4", From 7fcd4cccb3f02616019b242003569312fe59fd7f Mon Sep 17 00:00:00 2001 From: Enrico Date: Sun, 22 Oct 2023 11:03:07 +0200 Subject: [PATCH 6/8] pandas 2 and numpy 2 --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 226a797f9..5f5187b91 100644 --- a/setup.py +++ b/setup.py @@ -69,15 +69,15 @@ def run_tests(self): long_description='\n'.join((long_description, changelog)), long_description_content_type="text/markdown", cmdclass={'test': PyTest}, - setup_requires=["numpy<2", + setup_requires=["numpy", "setuptools-git", ], install_requires=["decorator", "enum-compat", "mock", "mockextras", - "pandas<2", - "numpy<2", + "pandas", + "numpy", "pymongo>=3.6.0, <= 3.13.0", "pytz", "tzlocal", From 314e115fb3b39cdd33416fee9a02c07f07ef399d Mon Sep 17 00:00:00 2001 From: Enrico Date: Sun, 22 Oct 2023 11:04:18 +0200 Subject: [PATCH 7/8] pymongo <4 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5f5187b91..9048f5cfb 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,7 @@ def run_tests(self): "mockextras", "pandas", "numpy", - "pymongo>=3.6.0, <= 3.13.0", + "pymongo>=3.6.0, <4", "pytz", "tzlocal", "lz4", From 20be8b4f8883121590cfd1432020dd2e8f60b0f2 Mon Sep 17 00:00:00 2001 From: Enrico Date: Sun, 22 Oct 2023 11:06:33 +0200 Subject: [PATCH 8/8] numpy<2 --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 9048f5cfb..d2efc3d64 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ def run_tests(self): long_description='\n'.join((long_description, changelog)), long_description_content_type="text/markdown", cmdclass={'test': PyTest}, - setup_requires=["numpy", + setup_requires=["numpy<2", "setuptools-git", ], install_requires=["decorator", @@ -77,8 +77,8 @@ def run_tests(self): "mock", "mockextras", "pandas", - "numpy", - "pymongo>=3.6.0, <4", + "numpy<2", + "pymongo>=3.6.0, <= 3.13.0", "pytz", "tzlocal", "lz4",