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

addons.net: suppress urllib3 import warnings #661

Closed
wants to merge 1 commit into from

Conversation

CyberTailor
Copy link
Contributor

Most notably, this includes NotOpenSSLWarning:
urllib3/urllib3#3020 (comment)

Most notably, this includes NotOpenSSLWarning:
urllib3/urllib3#3020 (comment)

Signed-off-by: Anna “CyberTailor” <[email protected]>
@thesamesam
Copy link
Member

Why not limit this to the OpenSSL warning, with a comment mentioning LibreSSL?

@CyberTailor
Copy link
Contributor Author

Why not limit this to the OpenSSL warning, with a comment mentioning LibreSSL?

Because this code:

from urllib3.exceptions import NotOpenSSLWarning

throws a warning by itself

@arthurzam
Copy link
Member

I want some extra background for that. You just want me to hide the warning, I understand, and am fine. But I wanted to test it and failed, including with live urllib3. In my partial understanding, this is triggered when not openssl is used for ssl, but where can this happen? Gentoo supports only openssl from what I know?

@gentoo-bot gentoo-bot closed this in 043cbef Feb 9, 2024
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.

3 participants