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

Deprecate legacy functions from importlib.resources (importlib_resources 5.3) #89677

Closed
jaraco opened this issue Oct 18, 2021 · 3 comments
Closed
Assignees
Labels
3.11 bug and security fixes stdlib Python modules in the Lib dir

Comments

@jaraco
Copy link
Member

jaraco commented Oct 18, 2021

BPO 45514
Nosy @jaraco, @FFY00
PRs
  • bpo-45514: Deprecate importlib resources legacy functions. #29036
  • 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/jaraco'
    closed_at = <Date 2021-11-24.07:53:22.408>
    created_at = <Date 2021-10-18.18:03:23.861>
    labels = ['library', '3.11']
    title = 'Deprecate legacy functions from importlib.resources (importlib_resources 5.3)'
    updated_at = <Date 2021-11-24.07:53:22.407>
    user = 'https://github.com/jaraco'

    bugs.python.org fields:

    activity = <Date 2021-11-24.07:53:22.407>
    actor = 'jaraco'
    assignee = 'jaraco'
    closed = True
    closed_date = <Date 2021-11-24.07:53:22.408>
    closer = 'jaraco'
    components = ['Library (Lib)']
    creation = <Date 2021-10-18.18:03:23.861>
    creator = 'jaraco'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45514
    keywords = ['patch']
    message_count = 3.0
    messages = ['404205', '406908', '406909']
    nosy_count = 2.0
    nosy_names = ['jaraco', 'FFY00']
    pr_nums = ['29036']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45514'
    versions = ['Python 3.11']

    @jaraco
    Copy link
    Member Author

    jaraco commented Oct 18, 2021

    importlib_resources 5.3, deprecates the functions in _legacy. Let's introduce that deprecation in CPython also.

    In addition to merging the changes from importlib_resources, this change will require some updates to documentation.

    @jaraco jaraco added the 3.11 bug and security fixes label Oct 18, 2021
    @jaraco jaraco self-assigned this Oct 18, 2021
    @jaraco jaraco added stdlib Python modules in the Lib dir 3.11 bug and security fixes labels Oct 18, 2021
    @jaraco jaraco self-assigned this Oct 18, 2021
    @jaraco jaraco added the stdlib Python modules in the Lib dir label Oct 18, 2021
    @jaraco
    Copy link
    Member Author

    jaraco commented Nov 24, 2021

    New changeset d5cd2ef by Jason R. Coombs in branch 'main':
    bpo-45514: Deprecate importlib resources legacy functions. (GH-29036)
    d5cd2ef

    @jaraco
    Copy link
    Member Author

    jaraco commented Nov 24, 2021

    See https://discuss.python.org/t/deprecating-importlib-resources-legacy-api/11386 for some lively discussion on this deprecation.

    @jaraco jaraco closed this as completed Nov 24, 2021
    @jaraco jaraco closed this as completed Nov 24, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 bug and security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant