classification
Title: Better message in PackageNotFoundError
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jaraco Nosy List: barry, jaraco, miss-islington
Priority: normal Keywords: patch

Created on 2020-10-19 20:50 by jaraco, last changed 2020-10-20 13:18 by jaraco. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 22775 merged barry, 2020-10-19 20:53
Messages (2)
msg379015 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2020-10-19 20:50
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.
msg379019 - (view) Author: miss-islington (miss-islington) Date: 2020-10-19 21:14
New changeset 96ddc58281d2b6b2258b1a628bccf252090d5611 by Barry Warsaw in branch 'master':
bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775)
https://github.com/python/cpython/commit/96ddc58281d2b6b2258b1a628bccf252090d5611
History
Date User Action Args
2020-10-20 13:18:07jaracosetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-10-19 21:14:31miss-islingtonsetnosy: + miss-islington
messages: + msg379019
2020-10-19 20:53:55barrysetkeywords: + patch
nosy: + barry

pull_requests: + pull_request21740
stage: patch review
2020-10-19 20:50:51jaracocreate