-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Update cloudformation config to use pdm export instead of venv #6478
Conversation
@dakotabenjamin I was going to also update Python 3.9 --> 3.10 in this script, as we use 3.10 in other places without issues (in the dockerfile for instance). However I think this config runs on Ubuntu 20.04, where the |
I replicated the exact PROD EC2 instance with the same AMI & Conf and landed at:
This is where the I downgraded with |
I did try the fix by @spwoodcock, i believe this should have also fixed the issue alternatively. But i ran to
I think this could be due to existing python dependencies existing in the host. I have yet to figure this one out. |
Since we have python version differences & different use of
Then we can borrow time to decide on upgrading AMI to |
@mahesh-naxa to fix the conflict with PyYaml use the |
Nice debugging to find the importlib error π I would favour the |
Yeah i agree. |
The install works but I am getting a "Command not found" for the flask command. On the server the bin is |
71f3cc8
to
786fd37
Compare
Would adding this be ok?
|
Superseded by #6481 |
What type of PR is this? (check all applicable)
Describe this PR
pdm export
we can get the requirements in a txt file, thenpip install
the requirements.Checklist before requesting a review
[optional] What gif best describes this PR or how it makes you feel?