Skip to content

Commit 766ad77

Browse files
author
Nikhil Raverkar
committed
reverting numpy to 1.19.2 to solve pyarrow integration issue and adding regression test
1 parent 7773e19 commit 766ad77

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ itsdangerous==2.0.1
66
gunicorn==20.0.4
77
model-archiver==1.0.3
88
multi-model-server==1.1.1
9-
numpy==1.21.0
9+
numpy==1.19.2
1010
pandas==1.1.3
1111
protobuf==3.20.1
1212
psutil==5.7.2

test/unit/test_modules.py

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
import pandas as pd
2+
3+
14
def test_pandas_version():
25
import pandas as pd
36
major, minor, patch = pd.__version__.split('.')
47
assert major == '1'
8+
9+
10+
def test_pyarrow_to_parquet_conversion_regression_issue_106():
11+
df = pd.DataFrame({'x': [1, 2]})
12+
df.to_parquet('test.parquet', engine='pyarrow')

0 commit comments

Comments
 (0)