Title: Make importlib.metadata non-provisional in Python 3.10
Type: Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: barry, jaraco, miss-islington, pablogsal
Priority: normal Keywords: patch

Created on 2021-07-12 18:38 by barry, last changed 2021-07-13 00:42 by barry. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 27101 merged barry, 2021-07-12 18:43
PR 27106 merged miss-islington, 2021-07-12 23:56
Messages (5)
msg397344 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2021-07-12 18:38
As discussed with Jason, importlib.metadata will be made non-provisional in 3.10.  I have a PR in the works for this.
msg397359 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2021-07-12 22:08
Thanks Barry for filing this. I was planning to do it but happy for you to beat me to it.

I had one question I'd been meaning to ask - with this change, can the code paths that were deprecated in 3.10 be removed in 3.11 (SelectableGroups and cast to dict of sequence of EntryPoint objects)? I was planning a slightly accelerated removal of the compatibility support because:

(a) The backport presented the deprecation for older Pythons already and so users will likely have migrated off the deprecated behaviors prior to the release of 3.10.
(b) It will be substantially harder to maintain the backport while the backport drops that support.
(c) In extreme cases, the backport is available to provide backward compatibility even for Python 3.11.

Let me know if you would rather I pose this question elsewhere or elaborate on the proposition. It doesn't affect the PR or move out of provisional.
msg397367 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2021-07-12 23:56
New changeset f6954cdfc50060a54318fb2aea4d80408381243a by Barry Warsaw in branch 'main':
bpo-44613: Make importlib.metadata non-provisional (#27101)
msg397369 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2021-07-13 00:40
New changeset 7223ce3b3f50ec8a825e317437ea0359b6ad6856 by Miss Islington (bot) in branch '3.10':
bpo-44613: Make importlib.metadata non-provisional (GH-27101) (#27106)
msg397370 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2021-07-13 00:42
Jason, I think the question you raise re: accelerated deprecation, is probably a RM or SC question.  I'll nosy in Pablo and see if he has a strong opinion.
Date User Action Args
2021-07-13 00:42:56barrysetnosy: + pablogsal
messages: + msg397370
2021-07-13 00:41:12barrysetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-07-13 00:40:59barrysetmessages: + msg397369
2021-07-12 23:56:50miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request25651
2021-07-12 23:56:46barrysetmessages: + msg397367
2021-07-12 22:08:40jaracosetmessages: + msg397359
2021-07-12 18:43:08barrysetkeywords: + patch
stage: patch review
pull_requests: + pull_request25649
2021-07-12 18:38:10barrycreate