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

Better message in PackageNotFoundError #86255

Closed
jaraco opened this issue Oct 19, 2020 · 2 comments
Closed

Better message in PackageNotFoundError #86255

jaraco opened this issue Oct 19, 2020 · 2 comments
Assignees
Labels
3.10 only security fixes stdlib Python modules in the Lib dir

Comments

@jaraco
Copy link
Member

jaraco commented Oct 19, 2020

BPO 42089
Nosy @warsaw, @jaraco, @miss-islington
PRs
  • bpo-42089: Sync with current cpython branch of importlib_metadata #22775
  • 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 2020-10-20.13:18:07.303>
    created_at = <Date 2020-10-19.20:50:51.139>
    labels = ['library', '3.10']
    title = 'Better message in PackageNotFoundError'
    updated_at = <Date 2020-10-20.13:18:07.303>
    user = 'https://github.com/jaraco'

    bugs.python.org fields:

    activity = <Date 2020-10-20.13:18:07.303>
    actor = 'jaraco'
    assignee = 'jaraco'
    closed = True
    closed_date = <Date 2020-10-20.13:18:07.303>
    closer = 'jaraco'
    components = ['Library (Lib)']
    creation = <Date 2020-10-19.20:50:51.139>
    creator = 'jaraco'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42089
    keywords = ['patch']
    message_count = 2.0
    messages = ['379015', '379019']
    nosy_count = 3.0
    nosy_names = ['barry', 'jaraco', 'miss-islington']
    pr_nums = ['22775']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue42089'
    versions = ['Python 3.10']

    @jaraco
    Copy link
    Member Author

    jaraco commented Oct 19, 2020

    As reported in https://gitlab.com/python-devs/importlib_metadata/-/issues/124, it would be nice if the PackageNotFoundError gave some guidance to the user about the context of the error and how to investigate.

    @jaraco jaraco added the 3.10 only security fixes label Oct 19, 2020
    @jaraco jaraco self-assigned this Oct 19, 2020
    @jaraco jaraco added stdlib Python modules in the Lib dir 3.10 only security fixes labels Oct 19, 2020
    @jaraco jaraco self-assigned this Oct 19, 2020
    @jaraco jaraco added the stdlib Python modules in the Lib dir label Oct 19, 2020
    @miss-islington
    Copy link
    Contributor

    New changeset 96ddc58 by Barry Warsaw in branch 'master':
    bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775)
    96ddc58

    @jaraco jaraco closed this as completed Oct 20, 2020
    @jaraco jaraco closed this as completed Oct 20, 2020
    @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.10 only security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants