@aws-cdk/aws-lambda-python: require-hashes error because of pipenv==2022.4.8 #21713
Labels
@aws-cdk/aws-lambda-python
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Bundling of poetry packages fails, since some packages do not receive hashes. Also referenced in #19232
Expected Behavior
Current Behavior
Error notification:
Reproduction Steps
Poetry package generation in folder
src
relative to CDK project:File index.py in top level of Poetry package:
Usage in CDK:
Possible Solution
Overwrite the bundling Dockerfile to unpin the pipenv version solves the problem:
With Dockerfile found here
Additional Information/Context
No response
CDK CLI Version
2.37.1
Framework Version
No response
Node.js Version
v16.13.0
OS
Fedora release 35 (Thirty Five)
Language
Typescript
Language Version
TypeScript (3.9.7) | Python (3.9.5)
Other information
No response
The text was updated successfully, but these errors were encountered: