question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add deprecation warnings for urllib3.contrib.pyopenssl

See original GitHub issue

Minimum requirements

  • Create a newsfragment about the deprecation
  • Add deprecation warning section to the pyOpenSSL docs
  • Emit a DeprecationWarning for urllib3’s pyOpenSSL support when importing the urllib3.contrib.pyopenssl module. The deprecation should point to the new docs.
  • Add the urllib3-secure-extra dependency to the secure extra
  • Emit a DeprecationWarning for urllib3[secure] when it’s detected that the urllib3-secure-extra package is importable. The deprecation should point to the new docs.
  • Find all issues in the issue tracker about pyOpenSSL and put them in this issue to be closed.

Part of: https://github.com/urllib3/urllib3/issues/2680

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
graingertcommented, Aug 11, 2022

Ah I see, I hadn’t thought about it that way. I still think you should yank it one day

looking at pypistats will inform what to do, eg you could yank it on Fridays and unyank it on Mondays

1reaction
IvanLauLinTiongcommented, Aug 11, 2022

All issues in the issue tracker about pyOpenSSL:

Read more comments on GitHub >

github_iconTop Results From Across the Web

v2.0 Migration Guide - urllib3 2.0.0a1 documentation
urllib3 v2.0.0-alpha1 will be released in November 2022. This release contains minor breaking changes and deprecation warnings for other breaking changes.
Read more >
urllib Deprecation Warning : r/Python - Reddit
urllib Deprecation Warning. I was getting an SSL error so I did pip install requests[security] but now I am getting this error
Read more >
Commcare-cloud monolith deployment - Developers
[DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on ... File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", ...
Read more >
CryptographyDeprecationWarning: Python 2 is no longer ...
WARNING : Python 2.7 is not recommended. ... this includes cryptography , which also deprecated Python 2 support and began raising warnings ......
Read more >
Tweets with replies by urllib3 (@urllib3) / Twitter
Added Added type hints to the urllib3 module (#1897). ... Deprecated the urllib3[secure] extra and the urllib3.contrib.pyopenssl module.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found