Repository: man-group/arctic (language: python)

Issue:
Fix failing builds: https://travis-ci.org/github/man-group/arctic/jobs/762598165
On a quick glance, some failing tests seem to be returning None, both VersionStore and ChunkStore. Need to take a proper look at this, as it's blocking quite a few PRs


Discussion / hints:
https://github.com/man-group/arctic/pull/883 <- this PR starts to resolve a lot of the current issues
I think I missed this PR. Seems to be dead atm, do you know what caused so many tests to suddenly start failing? Is this a Python 3.7 thing or some recent change?
Same thing is always is: pandas released a new version

Fix patch:
diff --git a/setup.py b/setup.py
index 24c09fe0..a31553f9 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",
+                    "numpy<=1.18.4",
                     "setuptools-git",
                    ],
     install_requires=["decorator",
                       "enum-compat",
                       "futures; python_version == '2.7'",
                       "mockextras",
-                      "pandas",
+                      "pandas<=1.0.3",
                       "pymongo>=3.6.0",
                       "python-dateutil",
                       "pytz",


Test patch:
diff --git a/tests/unit/store/test_version_store_audit.py b/tests/unit/store/test_version_store_audit.py
index 6ecadc73..2052937b 100644
--- a/tests/unit/store/test_version_store_audit.py
+++ b/tests/unit/store/test_version_store_audit.py
@@ -176,7 +176,8 @@ def test_ArcticTransaction_guards_against_inconsistent_ts():
             pass
 
 
-def test_ArcticTransaction_detects_concurrent_writes():
+# TODO: Skipping this flaky test for now.
+def _test_ArcticTransaction_detects_concurrent_writes():
     vs = Mock(spec=VersionStore)
     ts1 = pd.DataFrame(index=[1, 2], data={'a': [1.0, 2.0]})
     vs.read.return_value = VersionedItem(symbol=sentinel.symbol, library=sentinel.library, version=1, metadata=None,