Skip to content

Commit

Permalink
Ensure local_sdist recipes use a valid URI for the source URL. (#578)
Browse files Browse the repository at this point in the history
Fixes #448
  • Loading branch information
dihm authored Nov 13, 2024
1 parent c3ceb8e commit e1292cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grayskull/strategy/py_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ def get_sdist_metadata(
metadata["source"] = {"url": sdist_url, "sha256": sha256_checksum(path_pkg)}
if config.from_local_sdist:
metadata["source"] = {
"url": f"file://{path_pkg}",
"url": Path(path_pkg).as_uri(),
"sha256": sha256_checksum(path_pkg),
}

Expand Down

0 comments on commit e1292cb

Please sign in to comment.