-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Upgrade pip to fix installation issues in AMI #5514
Conversation
@webvictim what errors are you seeing with the |
It looks legit - see recent changes to the FAQ file and its history. I think they added Rust as a requirement to compile We could also pin |
Something appears to have changed with the
cryptography
pip package which results in an error message when trying to install it using the version ofpip
that comes out of the box with Amazon Linux 2. This breaks AMI builds.The advice to fix it is to upgrade pip to a newer version. The newer version of pip installs to
/usr/local/bin
rather than/usr/bin
by default (which isn't on the defaultPATH
) so we add that temporarily to finish the install, and upgrade the paths tocertbot
in the systemd unit files.Tested with
TELEPORT_VERSION=5.1.2 make -C assets/aws oss