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

Updated to protobuf==3.15.0 in src/emailservices/requirements.in & src/recommendation/requirements.in #723

Merged
merged 4 commits into from
Feb 23, 2022

Conversation

xtineskim
Copy link
Contributor

@xtineskim xtineskim commented Feb 15, 2022

Background

Related to #717, where a dependabot alert was generated for protobuf. There is also an alert generated for recommendationservice, which was captured in this PR

Fixes

The dependabot didn't update requirements.in file. The PR generated was only for the auto-generated requirements.txt. If a pip-compile was ran, it will return protobuf to 3.13.0 (I checked the libs that it depends on, and the minimum requirement by any of them was 3.13.0)

Change Summary

Pinned protobuf in emailservice and recommendationservice to 3.15.0

Additional Notes

n/a

Testing Procedure

n/a

Related PRs or Issues

#717

@xtineskim xtineskim requested a review from a team as a code owner February 15, 2022 14:02
@xtineskim xtineskim changed the title Updated to requirements.in Updated to protobuf==3.15.0 in src/emailservices /requirements.in Feb 15, 2022
@github-actions
Copy link

🚲 PR staged at http://104.155.159.186

@xtineskim
Copy link
Contributor Author

xtineskim commented Feb 15, 2022

I'll capture the recommendationservice bump in this PR as well
done!

@github-actions
Copy link

🚲 PR staged at http://104.155.159.186

1 similar comment
@github-actions
Copy link

🚲 PR staged at http://104.155.159.186

@xtineskim xtineskim changed the title Updated to protobuf==3.15.0 in src/emailservices /requirements.in Updated to protobuf==3.15.0 in src/emailservices/requirements.in & src/recommendation/requirements.in Feb 15, 2022
Copy link
Member

@bourgeoisor bourgeoisor left a comment

Choose a reason for hiding this comment

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

re: dependabot not working with pip-compile by default, it seems possible to enable that: https://github.blog/changelog/2021-01-19-dependabot-pip-compile-5-5-0-support/

Changes look good! I played around with the staging deployment and all looks well.

Before we merge, could we add a little comment besides the protobuf bump in the .in files that we should remove that line once we bump to a version of the Google APIs that makes use of those newer protobuf?

Since protobuf is a transitive dep, we ideally wouldn't have it in the .in and would keep it as slim as possible (bumping the direct dep which depends on it, instead)

@xtineskim
Copy link
Contributor Author

re: dependabot not working with pip-compile by default, it seems possible to enable that: https://github.blog/changelog/2021-01-19-dependabot-pip-compile-5-5-0-support/

Changes look good! I played around with the staging deployment and all looks well.

Before we merge, could we add a little comment besides the protobuf bump in the .in files that we should remove that line once we bump to a version of the Google APIs that makes use of those newer protobuf?

Since protobuf is a transitive dep, we ideally wouldn't have it in the .in and would keep it as slim as possible (bumping the direct dep which depends on it, instead)

Good idea - I'll make the changes and push it 👍

@github-actions
Copy link

🚲 PR staged at http://104.155.159.186

@xtineskim xtineskim merged commit 321fb51 into main Feb 23, 2022
@bourgeoisor bourgeoisor deleted the protobuf-bump branch February 23, 2022 18:17
sitaramkm pushed a commit to sitaramkm/microservices-demo that referenced this pull request Mar 27, 2022
…c/recommendation/requirements.in (GoogleCloudPlatform#723)

* Updated to requirements.in

* Bump to recommendationservice requirements.in and txt

* Added comment to req.in
D-Mwanth pushed a commit to D-Mwanth/microservices-demo that referenced this pull request Mar 6, 2024
…c/recommendation/requirements.in (GoogleCloudPlatform#723)

* Updated to requirements.in

* Bump to recommendationservice requirements.in and txt

* Added comment to req.in
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.

None yet

2 participants