Skip to content
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

Make importlib.metadata non-provisional in Python 3.10 #88779

Closed
warsaw opened this issue Jul 12, 2021 · 5 comments
Closed

Make importlib.metadata non-provisional in Python 3.10 #88779

warsaw opened this issue Jul 12, 2021 · 5 comments
Assignees
Labels
3.10 only security fixes 3.11 only security fixes docs Documentation in the Doc dir

Comments

@warsaw
Copy link
Member

warsaw commented Jul 12, 2021

BPO 44613
Nosy @warsaw, @jaraco, @pablogsal, @miss-islington
PRs
  • bpo-44613: Make importlib.metadata non-provisional #27101
  • [3.10] bpo-44613: Make importlib.metadata non-provisional (GH-27101) #27106
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/warsaw'
    closed_at = <Date 2021-07-13.00:41:12.533>
    created_at = <Date 2021-07-12.18:38:10.304>
    labels = ['3.11', '3.10', 'docs']
    title = 'Make importlib.metadata non-provisional in Python 3.10'
    updated_at = <Date 2021-07-13.00:42:56.609>
    user = 'https://github.com/warsaw'

    bugs.python.org fields:

    activity = <Date 2021-07-13.00:42:56.609>
    actor = 'barry'
    assignee = 'barry'
    closed = True
    closed_date = <Date 2021-07-13.00:41:12.533>
    closer = 'barry'
    components = ['Documentation']
    creation = <Date 2021-07-12.18:38:10.304>
    creator = 'barry'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44613
    keywords = ['patch']
    message_count = 5.0
    messages = ['397344', '397359', '397367', '397369', '397370']
    nosy_count = 4.0
    nosy_names = ['barry', 'jaraco', 'pablogsal', 'miss-islington']
    pr_nums = ['27101', '27106']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue44613'
    versions = ['Python 3.10', 'Python 3.11']

    @warsaw
    Copy link
    Member Author

    warsaw commented Jul 12, 2021

    As discussed with Jason, importlib.metadata will be made non-provisional in 3.10. I have a PR in the works for this.

    @warsaw warsaw added 3.10 only security fixes 3.11 only security fixes labels Jul 12, 2021
    @warsaw warsaw self-assigned this Jul 12, 2021
    @warsaw warsaw added docs Documentation in the Doc dir 3.10 only security fixes 3.11 only security fixes labels Jul 12, 2021
    @warsaw warsaw self-assigned this Jul 12, 2021
    @warsaw warsaw added the docs Documentation in the Doc dir label Jul 12, 2021
    @jaraco
    Copy link
    Member

    jaraco commented Jul 12, 2021

    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.

    @warsaw
    Copy link
    Member Author

    warsaw commented Jul 12, 2021

    New changeset f6954cd by Barry Warsaw in branch 'main':
    bpo-44613: Make importlib.metadata non-provisional (bpo-27101)
    f6954cd

    @warsaw
    Copy link
    Member Author

    warsaw commented Jul 13, 2021

    New changeset 7223ce3 by Miss Islington (bot) in branch '3.10':
    bpo-44613: Make importlib.metadata non-provisional (GH-27101) (bpo-27106)
    7223ce3

    @warsaw warsaw closed this as completed Jul 13, 2021
    @warsaw warsaw closed this as completed Jul 13, 2021
    @warsaw
    Copy link
    Member Author

    warsaw commented Jul 13, 2021

    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.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes 3.11 only security fixes docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants