Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting numpy 1.21.2 to 1.19.2 and adding regression #300

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gunicorn==19.10.0
itsdangerous==2.0.1
matplotlib==3.4.1
multi-model-server==1.1.2
numpy==1.21.6
numpy==1.19.2
pandas==1.2.4
protobuf==3.20.1
psutil==5.6.7 # sagemaker-containers requires psutil 5.6.7
Expand Down
2 changes: 1 addition & 1 deletion test/resources/versions/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gunicorn==19.10.0
matplotlib==3.4.1
multi-model-server==1.1.2
numpy==1.21.6
numpy==1.19.2
pandas==1.2.4
psutil==5.6.7
pyarrow==1.0.1
Expand Down
5 changes: 5 additions & 0 deletions test/unit/test_data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import unittest
import os
from pathlib import Path
import pandas as pd
import shutil
import signal
import subprocess
Expand Down Expand Up @@ -252,3 +253,7 @@ def test_check_data_redundancy_throws_exception_pipe(self):
pb_file_paths = ['pb_files']
with self.assertRaises(Exception):
data_utils.check_data_redundancy(pb_file_paths[0], pb_file_paths[1])

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