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

bpo-40637: Do not emit warnings for disabled builtin hashes #20937

Merged

Conversation

Copy link
Contributor

@stratakis stratakis commented Jun 17, 2020

test_hashlib emits some warnings when it cannot find some hashes
as it assumes they failed to compile. Since we can disable hashes
through configure, we emit the warnings only in the case that we
did not intentionaly disable them.

https://bugs.python.org/issue40637

Automerge-Triggered-By: @tiran

@stratakis
Copy link
Author

@stratakis stratakis commented Jun 17, 2020

That is a test fix, thus I don't think a news entry is required here.

test_hashlib emits some warnings when it cannot find some hashes
as it assumes they failed to compile. Since we can disable hashes
through configure, we emit the warnings only in the case that we
did not intentionaly disable them.
@stratakis stratakis force-pushed the builtin_hashes_test_warnings branch from 58418b9 to 55aec53 Compare Jun 17, 2020
Copy link
Member

@tiran tiran left a comment

LGTM, thanks!

@tiran tiran added needs backport to 3.9 skip news 🤖 automerge labels Jun 17, 2020
@miss-islington
Copy link

@miss-islington miss-islington commented Jun 17, 2020

@stratakis: Status check is done, and it's a success .

@miss-islington miss-islington merged commit 236a0f5 into python:master Jun 17, 2020
9 checks passed
@miss-islington
Copy link

@miss-islington miss-islington commented Jun 17, 2020

Thanks @stratakis for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒🤖

@miss-islington
Copy link

@miss-islington miss-islington commented Jun 17, 2020

Sorry @stratakis, I had trouble checking out the 3.9 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 236a0f5cf022b59dbb6ea17a8e7a677c573d39b9 3.9

@miss-islington miss-islington self-assigned this Jun 17, 2020
stratakis added a commit to stratakis/cpython that referenced this issue Jun 17, 2020
…thonGH-20937)

test_hashlib emits some warnings when it cannot find some hashes
as it assumes they failed to compile. Since we can disable hashes
through configure, we emit the warnings only in the case that we
did not intentionaly disable them.

Automerge-Triggered-By: @tiran
(cherry picked from commit 236a0f5)

Co-authored-by: stratakis <cstratak@redhat.com>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 17, 2020

GH-20951 is a backport of this pull request to the 3.9 branch.

@stratakis stratakis deleted the builtin_hashes_test_warnings branch Jun 17, 2020
J-Arun-Mani pushed a commit to J-Arun-Mani/cpython that referenced this issue Jul 21, 2020
…-20937)

test_hashlib emits some warnings when it cannot find some hashes
as it assumes they failed to compile. Since we can disable hashes
through configure, we emit the warnings only in the case that we
did not intentionaly disable them.

Automerge-Triggered-By: @tiran
chrisburr pushed a commit to chrisburr/cpython that referenced this issue Dec 9, 2020
…-20937)

test_hashlib emits some warnings when it cannot find some hashes
as it assumes they failed to compile. Since we can disable hashes
through configure, we emit the warnings only in the case that we
did not intentionaly disable them.

Automerge-Triggered-By: @tiran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA signed 🤖 automerge skip news tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants