Skip to content

Support missing SNIMissingWarning in tests#6336

Merged
nateprewitt merged 2 commits intopsf:mainfrom
pquentin:no-snimissingwarning
Jan 21, 2023
Merged

Support missing SNIMissingWarning in tests#6336
nateprewitt merged 2 commits intopsf:mainfrom
pquentin:no-snimissingwarning

Conversation

@pquentin
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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