Skip to content

Commit

Permalink
[1.3] fix: as_uri() can only be applied to an absolute path (#7272)
Browse files Browse the repository at this point in the history
Co-authored-by: finswimmer <finswimmer77@gmail.com>
  • Loading branch information
poetry-bot[bot] and finswimmer authored Jan 1, 2023
1 parent 7859b60 commit 914e0a8
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 914e0a8

Please sign in to comment.