File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,11 @@ RUN python -m pip install -r /requirements.txt && \
9
9
10
10
COPY dist/sagemaker_sklearn_container-2.0-py3-none-any.whl /sagemaker_sklearn_container-2.0-py3-none-any.whl
11
11
# https://github.com/googleapis/google-cloud-python/issues/6647
12
- RUN rm -rf /miniconda3/lib/python3.7/site-packages/numpy-1.19.4.dist-info && \
12
+ RUN conda install numpy --force-reinstall
13
+ rm -rf /miniconda3/lib/python3.7/site-packages/numpy-1.19.4.dist-info && \
13
14
pip install --no-cache /sagemaker_sklearn_container-2.0-py3-none-any.whl && \
14
- rm /sagemaker_sklearn_container-2.0-py3-none-any.whl
15
+ rm /sagemaker_sklearn_container-2.0-py3-none-any.whl && \
16
+ rm /miniconda3/lib/python3.8/site-packages/numpy-1.21.2.dist-info
15
17
16
18
ENV SAGEMAKER_TRAINING_MODULE sagemaker_sklearn_container.training:main
17
19
ENV SAGEMAKER_SERVING_MODULE sagemaker_sklearn_container.serving:main
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ itsdangerous==2.0.1
6
6
gunicorn == 20.0.4
7
7
model-archiver == 1.0.3
8
8
multi-model-server == 1.1.1
9
- numpy == 1.21.0
9
+ numpy == 1.19.2
10
10
pandas == 1.1.3
11
11
psutil == 5.7.2
12
12
python-dateutil == 2.8.1
Original file line number Diff line number Diff line change
1
+ import pandas as pd
2
+
3
+
1
4
def test_pandas_version ():
2
5
import pandas as pd
3
6
major , minor , patch = pd .__version__ .split ('.' )
4
7
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' )
13
+
You can’t perform that action at this time.
0 commit comments