bpo-37759: Second round of edits to Whatsnew 3.8#15204
bpo-37759: Second round of edits to Whatsnew 3.8#15204rhettinger merged 12 commits intopython:masterfrom
Conversation
willingc
left a comment
There was a problem hiding this comment.
LGTM with one small nit. Thanks @rhettinger.
|
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Sorry, @rhettinger, I could not cleanly backport this to |
|
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Sorry @rhettinger, I had trouble checking out the |
|
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Sorry, @rhettinger, I could not cleanly backport this to |
|
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Sorry @rhettinger, I had trouble checking out the |
(cherry picked from commit 66a34d3)
|
GH-15240 is a backport of this pull request to the 3.8 branch. |
| >>> version('requests') | ||
| '2.22.0' | ||
| >>> list(requires('requests')) | ||
| ['chardet (<3.1.0,>=3.0.2)'] |
There was a problem hiding this comment.
There was a bug in importlib_metadata 0.19 and earlier (CPython 3.8b3 and earlier) where only the first requirement would be listed. In the latest codebase, backport to 3.8 just rolling out now, the full list appears:
>>> importlib_metadata.requires('requests')
['chardet (<3.1.0,>=3.0.2)',
'idna (<2.9,>=2.5)',
'urllib3 (!=1.25.0,!=1.25.1,<1.26,>=1.21.1)',
'certifi (>=2017.4.17)',
"pyOpenSSL (>=0.14) ; extra == 'security'",
"cryptography (>=1.3.4) ; extra == 'security'",
"idna (>=2.0.0) ; extra == 'security'",
"PySocks (!=1.5.7,>=1.5.6) ; extra == 'socks'",
'win-inet-pton ; (sys_platform == "win32" and python_version == "2.7") and extra == \'socks\'']
Work in progress. Please add suggestions here as you find them.
https://bugs.python.org/issue37759
https://bugs.python.org/issue37759