-
-
Notifications
You must be signed in to change notification settings - Fork 747
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
Fix misc DeprecationWarnings #6188
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pull-request-size
bot
added
the
size/M
PR that changes 30-99 lines. Good size to review.
label
Apr 24, 2024
nzlosh
approved these changes
Apr 24, 2024
cognifloyd
force-pushed
the
fix_deprecation_warnings
branch
from
April 25, 2024 05:16
9b9944a
to
d73b79f
Compare
I found the commit I missed cherry-picking, so I re-added the |
cognifloyd
force-pushed
the
fix_deprecation_warnings
branch
from
April 25, 2024 22:11
d73b79f
to
b56c87e
Compare
pull-request-size
bot
added
size/L
PR that changes 100-499 lines. Requires some effort to review.
and removed
size/M
PR that changes 30-99 lines. Good size to review.
labels
Apr 25, 2024
…2. Use 'parser.read_file()' instead.
…d other semver warnings
…msEqual with assert.
cognifloyd
force-pushed
the
fix_deprecation_warnings
branch
from
April 26, 2024 00:17
6d1bf18
to
abb2241
Compare
rebased on master |
amanda11
approved these changes
Apr 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This extracts @nzlosh's DeprecationWarning fixes from #6157.
Fix for DeprecationWarning: the imp module is deprecated in favour of importlib
Fix for DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
Fix semver DeprecationWarning: Function semver.match is deprecated and other semver warnings
Fix semver patch strip function and replace deprecated self.assertItemsEqual with assert.
Fix DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
Fixed more DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
Replace 'warn' with 'warning' method
Skip test_warn_on_bad_config_permissions when run as root user.
Skip test_get_cached_auth_token_invalid_permissions if run as root
Skip test_cache_auth_token_invalid_permissions if run as root