-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use pyOpenSSL unless no SNI is detected
- Loading branch information
1 parent
bfb93d4
commit db47b9b
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
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
db47b9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This particular commit creates an issue with modules that use requests namespace, when compiled with Nuitka.
This may also happen when frozen with PyInstaller or else.
Example when using requests-pkcs12
When adding
from urllib3.contrib import pyopenssl
manually to the above file (requests/__init__.py
) again, the error gets resolved.Adding the above import statement to my project instead doesn't resolve the issue, since I cannot modifiy the requests namespace.
Is there any chance this commit may be reverted ?
If not, all packages that depend on requests namespace must be updated.
Example for requests-pkcs12:
db47b9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please open an issue with further information like Python version, OS, etc and reference this commit instead of a commit comment?
db47b9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done ;) #5561