Skip to content

Commit

Permalink
Merge pull request #124 from aws/issue_106
Browse files Browse the repository at this point in the history
Reverting numpy 1.21.2 to 1.19.2 and adding regression
  • Loading branch information
NikhilRaverkar authored Jul 15, 2022
2 parents 7773e19 + 766ad77 commit 980f6d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ itsdangerous==2.0.1
gunicorn==20.0.4
model-archiver==1.0.3
multi-model-server==1.1.1
numpy==1.21.0
numpy==1.19.2
pandas==1.1.3
protobuf==3.20.1
psutil==5.7.2
Expand Down
8 changes: 8 additions & 0 deletions test/unit/test_modules.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
import pandas as pd


def test_pandas_version():
import pandas as pd
major, minor, patch = pd.__version__.split('.')
assert major == '1'


def test_pyarrow_to_parquet_conversion_regression_issue_106():
df = pd.DataFrame({'x': [1, 2]})
df.to_parquet('test.parquet', engine='pyarrow')

0 comments on commit 980f6d2

Please sign in to comment.