-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AP-1351: Updating python to 3.9, moving to using wkhtmltopdf from a layer #6
Conversation
Signed-off-by: Jason Myers <[email protected]>
Signed-off-by: Jason Myers <[email protected]>
Signed-off-by: Jason Myers <[email protected]>
@@ -102,3 +102,7 @@ venv.bak/ | |||
|
|||
*.zip | |||
volume | |||
.DS_Store |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bad Mac! bad!
@@ -1,19 +1,35 @@ | |||
install: | |||
if [ ! -d dist ]; then virtualenv dist; fi | |||
if [ ! -d dist ]; then python -m venv dist; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to get your thoughts on venvs at some point - i.e. why python -m venv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I came close to flipping this to poetry. But I use python -m venv since it's shipped in every python distribution while the virtualenv package is going to be deprecated.
Signed-off-by: Jason Myers <[email protected]>
@@ -1,2 +1,50 @@ | |||
# strataworker-pdf | |||
Queue based worker for generating PDFs from the Stratasan app into S3 | |||
Queue based worker for generating PDFs from the Stratasan app into S3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Description
This upgrades python to version 3.9 (max supported for lambda by AWS) and adding a lambda layer for wkhtmltopdf.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Related PRs
Signed-off-by: Jason Myers [email protected]