Skip to content

Commit

Permalink
Consolidate Cython
Browse files Browse the repository at this point in the history
  • Loading branch information
akarve committed Apr 16, 2020
1 parent 7abb9ab commit 69abfab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ RUN ulimit -n 1024 && yum -y update && yum -y install \

RUN python3 -m pip install pip==18.1

# Requirements copied form lambda Python 3.6, but not in base image
# Requirements copied from lambda Python 3.6, but not in base image
# (Plus Cython which is a build-time requirement for numpy)
RUN pip install -r quilt/requirements.txt

# Required to build numpy, but not listed as a dependency.
RUN python3 -m pip install Cython

# Make it possible to build numpy:
# https://github.com/numpy/numpy/issues/14147
ENV CFLAGS=-std=c99
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# from `pip freeze` under Python 3.6 lambda image 16-Apr-2020
boto3==1.12.22
botocore==1.15.22
Cython==0.29.16
docutils==0.15.2
jmespath==0.9.5
python-dateutil==2.8.1
Expand Down

0 comments on commit 69abfab

Please sign in to comment.