Skip to content

Commit

Permalink
Fix pip debug error in Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplants committed Mar 23, 2024
1 parent f5e4ee1 commit 5f28f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/commands/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def show_sys_implementation() -> None:


def create_vendor_txt_map() -> Dict[str, str]:
with importlib.resources.open_text("pip._vendor", "vendor.txt") as f:
with importlib.resources.files("pip._vendor").joinpath("vendor.txt").open("r") as f:
# Purge non version specifying lines.
# Also, remove any space prefix or suffixes (including comments).
lines = [
Expand Down

0 comments on commit 5f28f83

Please sign in to comment.