diff --git a/bigquery/noxfile.py b/bigquery/noxfile.py index a9df7a67cfcc..0633bdfae3f6 100644 --- a/bigquery/noxfile.py +++ b/bigquery/noxfile.py @@ -38,7 +38,9 @@ def default(session): for local_dep in LOCAL_DEPS: session.install("-e", local_dep) - # Pyarrow does not support Python 3.7 + # Workaround for possible pyarrow regression in handling of NaN vs NULL in + # float columns. + session.install("pyarrow==0.13.0") dev_install = ".[all]" session.install("-e", dev_install) @@ -86,6 +88,9 @@ def system(session): session.install("-e", local_dep) session.install("-e", os.path.join("..", "storage")) session.install("-e", os.path.join("..", "test_utils")) + # Workaround for possible pyarrow regression in handling of NaN vs NULL in + # float columns. + session.install("pyarrow==0.13.0") session.install("-e", ".[all]") # IPython does not support Python 2 after version 5.x @@ -114,6 +119,9 @@ def snippets(session): session.install("-e", local_dep) session.install("-e", os.path.join("..", "storage")) session.install("-e", os.path.join("..", "test_utils")) + # Workaround for possible pyarrow regression in handling of NaN vs NULL in + # float columns. + session.install("pyarrow==0.13.0") session.install("-e", ".[all]") # Run py.test against the snippets tests. @@ -176,6 +184,9 @@ def docs(session): for local_dep in LOCAL_DEPS: session.install("-e", local_dep) session.install("-e", os.path.join("..", "storage")) + # Workaround for possible pyarrow regression in handling of NaN vs NULL in + # float columns. + session.install("pyarrow==0.13.0") session.install("-e", ".[all]") shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)