On further checks, I saw that our zip file (when i...
# general
c
On further checks, I saw that our zip file (when it was working) contained "pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl". But now (bad package) it is "wrapt-1.15.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
b
Hm, sorry for the trouble; those specific wheels don’t seem to be connected to the error message so it’s a bit hard to say right now. Some background questions: 1. Are there other changes too? (Eg what’s the diff of the
unzip -l
output?) 2. Do you use lock files with pants? 3. did anything change with how or what you’re building between working and not working?
Ah, looking at the message more closely, the original message says "Needed manylinux_2_26_x86_64-cp-38-cp38 compatible dependencies for", which suggests the Lambda environment is Python 3.8, while these wheels "cp39" = Python 3.9. That suggests to me that the platform being used to build the lambda artifacts doesn't match the runtime used in AWS.