-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-37759: Second round of edits to Whatsnew 3.8 #15204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-37759: Second round of edits to Whatsnew 3.8 #15204
Conversation
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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