KEMBAR78
pyopenssl types package corrected by srittau · Pull Request #10656 · python/mypy · GitHub
Skip to content

Conversation

srittau
Copy link
Contributor

@srittau srittau commented Jun 16, 2021

pyopenssl's types package name was corrected in typeshed. It's now also available for Python 3.

It's now also available for Python 3
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

scrapy (https://github.com/scrapy/scrapy.git)
+ scrapy/utils/ssl.py:1: error: Library stubs not installed for "OpenSSL" (or incompatible with Python 3.8)
+ scrapy/utils/ssl.py:2: error: Library stubs not installed for "OpenSSL._util" (or incompatible with Python 3.8)
+ scrapy/core/downloader/tls.py:3: error: Library stubs not installed for "OpenSSL" (or incompatible with Python 3.8)
+ scrapy/core/downloader/contextfactory.py:3: error: Library stubs not installed for "OpenSSL" (or incompatible with Python 3.8)
+ scrapy/core/downloader/contextfactory.py:3: note: Hint: "python3 -m pip install types-pyOpenSSL"
+ scrapy/core/downloader/contextfactory.py:3: note: (or run "mypy --install-types" to install all missing stub packages)
+ scrapy/core/downloader/contextfactory.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- scrapy/cmdline.py:6: note: (or run "mypy --install-types" to install all missing stub packages)
- scrapy/cmdline.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ tests/mockserver.py:12: error: Library stubs not installed for "OpenSSL" (or incompatible with Python 3.8)
+ tests/test_webclient.py:11: error: Library stubs not installed for "OpenSSL.SSL" (or incompatible with Python 3.8)
+ tests/test_webclient.py:11: error: Library stubs not installed for "OpenSSL" (or incompatible with Python 3.8)

@JelleZijlstra JelleZijlstra merged commit d87d468 into python:master Jun 16, 2021
@srittau srittau deleted the types-pyopenssl branch June 16, 2021 19:45
@JukkaL JukkaL mentioned this pull request Jun 17, 2021
JukkaL pushed a commit that referenced this pull request Jun 21, 2021
It's now also available for Python 3
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.

2 participants