-
Notifications
You must be signed in to change notification settings - Fork 46
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
Bump urllib3 from 1.24.1 to 1.25.3 #318
Conversation
@emkll had a good suggestion to switch over to using a requirements.txt file and use pip instead of pipenv to make it easier to only upgrade a single package so that we can make sure all code changes that land on dom0 are indeed reviewed. It also came up that it might make sense to move the code that uploads signed RPMs outside of this repo. I think this warrants a team-wide discussion (perhaps tomorrow). |
Let's move to requirements.txt (this is one of the few places we have Pipenv left) - want to do that as part of this PR (since a bunch of the hashes are changing)? |
this required bumping awscli, botocore, s3transfer due to previous versions requiring urllib3 versions prior to 1.25
In order to bump urllib3 up to the 1.25.x series, we do need to also bump up awscli, botocore, and s3transfer as they previously required urllib3 less than 1.25. I think since we're using these dependencies to upload signed packages and since they are widely used dependencies, I think we should include these with dev/test and focus our review efforts on dependencies that are running in production. |
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.
LGTM, thanks for the changes.
I agree, since these are requirements that are used in dev/ops-only context, and never used by production workstations themselves, we can forgo an extensive diff review.
Tested as follows:
- ran the pip install in a virtual env, installs and publish-rpm/aws cli works as expected
- ran pip freeze and ran the (unhashed) requirements through safety to make sure none had cves associated to them
- Requirements introduced are the same as those that were previously in the pip files (including version lock)
I opened #342 to discuss/track the removal/move of this tooling elsewhere, but this shouldn't block merge for this change
Bumps urllib3 from 1.24.1 to 1.25.3.
Changelog
Sourced from urllib3's changelog.
See full diff
Dependaallie will resolve any conflicts with this PR as long as you don't alter it yourself.