Skip to content

Commit 914e0a8

Browse files
[1.3] fix: as_uri() can only be applied to an absolute path (#7272)
Co-authored-by: finswimmer <finswimmer77@gmail.com>
1 parent 7859b60 commit 914e0a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poetry/masonry/builders/editable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def _add_dist_info(self, added_files: list[Path]) -> None:
249249
json.dumps(
250250
{
251251
"dir_info": {"editable": True},
252-
"url": self._poetry.file.path.parent.as_uri(),
252+
"url": self._poetry.file.path.parent.absolute().as_uri(),
253253
}
254254
)
255255
)

0 commit comments

Comments
 (0)