Skip to content

Commit

Permalink
Supply Distribution.locate_file, honoring the abstract method. Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 1, 2023
1 parent f3ed2e2 commit a59ffc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pip/_internal/metadata/importlib/_dists.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ def read_text(self, filename: str) -> Optional[str]:
raise UnsupportedWheel(error)
return text

def locate_file(self, path):
raise NotImplementedError()


class Distribution(BaseDistribution):
def __init__(
Expand Down

0 comments on commit a59ffc6

Please sign in to comment.