Skip to content

Commit

Permalink
Pass through pathlib to ensure it is a uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloisius committed Feb 26, 2021
1 parent 03e1024 commit aeb8d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/installation/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def _install(self, operation: Union[Install, Update]) -> int:

archive_path = str(archive)
if not archive_path.startswith("file://"):
archive_path = "file://{}".format(archive_path)
archive_path = Path(archive_path).resolve().as_uri()

# Build requirements.txt so pip will check for a previous built wheel
req = "{} @ {}".format(package.name, archive_path)
Expand Down

0 comments on commit aeb8d63

Please sign in to comment.