Skip to content

Commit 84dbd19

Browse files
authored
fix: Remove + signs from repo name to handle torch+cu112 version naming (#91)
1 parent 89f6412 commit 84dbd19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycross/private/bzlmod/lock_repos.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _lock_repos_impl(module_ctx):
4747
continue
4848

4949
# Use the key as our repo name, but replace its / with _
50-
remote_file_repo = "pypi_{}".format(key.replace("/", "_"))
50+
remote_file_repo = "pypi_{}".format(key.replace("/", "_").replace("+", "_"))
5151
remote_file_label = "@{}//file".format(remote_file_repo)
5252

5353
urls = file.get("urls", [])

0 commit comments

Comments
 (0)