Skip to content
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 python #813

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

update python #813

wants to merge 1 commit into from

Conversation

davidsiaw
Copy link
Contributor

@davidsiaw davidsiaw commented Jul 23, 2024

Update dependencies python for AWS lambda and remove glide and replace it with go modules

@degikko
Copy link

degikko commented Jul 23, 2024

@showwin can you help us review this PR, please?

@degikko degikko requested a review from showwin July 23, 2024 06:41
Copy link
Contributor

@showwin showwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears that the Python code for Lambda doesn't use any deprecated functions from Python 3.7 to 3.12 👍

ENV GOPATH /.go
ENV GOBIN $GOPATH/bin
ENV PATH=$GOBIN:$PATH
FROM alpine
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we pin the version to prevent it from being updated to 4.0 without us noticing?

Suggested change
FROM alpine
FROM alpine:3.20

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i pinned it once but i think its better to just keep it up to date.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to keep it up to date explicitly by creating PR. If we have many places that update versions automatically, it's hard to identify which new library version introduce a problem. (We will need to visit every release page to check the latest release or compare installed versions using old and new environments.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants