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

Support missing SNIMissingWarning in tests #6336

Merged
merged 2 commits into from
Jan 21, 2023

Conversation

pquentin
Copy link
Contributor

urllib3 2.0 only supports OpenSSL 1.1.1+ which means SNI is mandatory, and removed the warning altogether.

urllib3 2.0 only supports OpenSSL 1.1.1+ which means SNI is mandatory,
and removed the warning altogether.
Copy link
Member

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, this looks good. Thanks @pquentin!

@nateprewitt
Copy link
Member

nateprewitt commented Jan 20, 2023

Looks like there's a small linting issue. Could you update the PR using our pre-commit hooks?

Although where it's moving the test import doesn't look right to me 👀. I'll investigate that separately.

@pquentin pquentin changed the title Support missing SNIMisingWarning in tests Support missing SNIMissingWarning in tests Jan 20, 2023
@pquentin
Copy link
Contributor Author

Oops, sorry about that. Fixed the lint.

Although where it's moving the test import doesn't look right to me 👀. I'll investigate that separately.

This is because I used from tests import X instead of from . import X and isort does not know that tests is a known first party. I switched back to from . import X.

@nateprewitt nateprewitt merged commit 1558590 into psf:main Jan 21, 2023
abrBullyz pushed a commit to abrBullyz/requests that referenced this pull request Feb 23, 2023
matthewarmand pushed a commit to matthewarmand/requests that referenced this pull request May 10, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants