Skip to content

Commit

Permalink
fix: as_uri() can only be applied to an absolute path (#7266)
Browse files Browse the repository at this point in the history
(cherry picked from commit d222411)
  • Loading branch information
finswimmer authored and github-actions[bot] committed Jan 1, 2023
1 parent 7859b60 commit 9d55c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/masonry/builders/editable.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _add_dist_info(self, added_files: list[Path]) -> None:
json.dumps(
{
"dir_info": {"editable": True},
"url": self._poetry.file.path.parent.as_uri(),
"url": self._poetry.file.path.parent.absolute().as_uri(),
}
)
)
Expand Down

0 comments on commit 9d55c4f

Please sign in to comment.