Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add non-functional WheelDistribution.locate_file() method (#11685)
importlib.metadata.Distribution was always meant to be a proper ABC with API enforcement, but this enforcement was never added (probably due to Python 2.7 compatibility concerns). Upstream would like to fix this wart, so let's define a locate_file() method that simply raises NotImplementedError as permitted. Co-authored-by: Stéphane Bidoul <[email protected]> Co-authored-by: Richard Si <[email protected]>
- Loading branch information