-
Notifications
You must be signed in to change notification settings - Fork 8
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
Get rid of deprecation warnings #82
Conversation
The latter is deprecated. Note that we also remove the import of pytz from sslyze_csv2mongo.py, since it is not being used and conflicts with the import of datetime.timezone.
This package is no longer being used, and in current versions of Python its functionality resides in datetime.timezone.
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.
@jsf9k LGTM but I was curious do version bumps normally happen prior to PR approval?
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.
👍
Ignore this, I confused the minor bumps with finalizing bump versions |
🗣 Description
This pull request makes a few modifications to Python code to get rid of some deprecation warnings. It also removes a
pip
package from theDockerfile
that no longer needs to be installed.💭 Motivation and context
Getting rid of deprecation warnings means that we won't get the rug pulled out from under us later. Getting rid of unused packages leads to smaller Docker images.
🧪 Testing
All automated tests pass.
✅ Pre-approval checklist
✅ Post-merge checklist