We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd1d0ae commit 415640eCopy full SHA for 415640e
pip/private/extension.bzl
@@ -227,7 +227,9 @@ def _raw_sdist_repos(module_ctx, lock_specs):
227
if sdist == None:
228
continue
229
230
- url = sdist["url"]
+ # Note that for source=url=... packages, the URL may not be
231
+ # repeated in the sdist spec so we have to replicate it down.
232
+ url = sdist.get("url", package["source"].get("url"))
233
shasum = sdist["hash"][len("sha256:"):]
234
235
# FIXME: Do we need to factor in the shasum or source her? Could
0 commit comments