Skip to content

Commit

Permalink
Point numpy version to <1.20.3 (aws#2868)
Browse files Browse the repository at this point in the history
* Point numpy version to <1.19 to avoid PEP 317 failure

* Update integ test python requirements which contain numpy

* Fixing to numpy 1.20.2

* Revert "Fixing to numpy 1.20.2"

This reverts commit a03f4d7.

* Fixing numpy version to <1.20.3
  • Loading branch information
hawflau authored and moelasmar committed Aug 4, 2021
1 parent 5547d6e commit 98cace1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/integration/testdata/buildcmd/PyLayer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# These are some hard packages to build. Using them here helps us verify that building works on various platforms

numpy~=1.15
# NOTE: Fixing to <1.20.3 as numpy1.20.3 started to use a new wheel naming convention (PEP 600)
numpy<1.20.3
# `cryptography` has a dependency on `pycparser` which, for some reason doesn't build inside a Docker container.
# Turning this off until we resolve this issue: https://github.com/awslabs/aws-lambda-builders/issues/29
# cryptography~=2.4
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# These are some hard packages to build. Using them here helps us verify that building works on various platforms

numpy~=1.15
# NOTE: Fixing to <1.20.3 as numpy1.20.3 started to use a new wheel naming convention (PEP 600)
numpy<1.20.3
# `cryptography` has a dependency on `pycparser` which, for some reason doesn't build inside a Docker container.
# Turning this off until we resolve this issue: https://github.com/awslabs/aws-lambda-builders/issues/29
# cryptography~=2.4
3 changes: 2 additions & 1 deletion tests/integration/testdata/buildcmd/Python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# These are some hard packages to build. Using them here helps us verify that building works on various platforms

numpy~=1.15
# NOTE: Fixing to <1.20.3 as numpy1.20.3 started to use a new wheel naming convention (PEP 600)
numpy<1.20.3
# `cryptography` has a dependency on `pycparser` which, for some reason doesn't build inside a Docker container.
# Turning this off until we resolve this issue: https://github.com/awslabs/aws-lambda-builders/issues/29
# cryptography~=2.4
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# These are some hard packages to build. Using them here helps us verify that building works on various platforms

numpy~=1.15
# NOTE: Fixing to <1.20.3 as numpy1.20.3 started to use a new wheel naming convention (PEP 600)
numpy<1.20.3
# `cryptography` has a dependency on `pycparser` which, for some reason doesn't build inside a Docker container.
# Turning this off until we resolve this issue: https://github.com/awslabs/aws-lambda-builders/issues/29
# cryptography~=2.4

0 comments on commit 98cace1

Please sign in to comment.