Skip to content

Commit

Permalink
fix: replace %2b during wheel-name sanitation
Browse files Browse the repository at this point in the history
  • Loading branch information
betaboon authored and jvolkman committed Oct 16, 2023
1 parent 0d4c4e5 commit c692333
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pycross/private/tools/bzl_lock_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,13 @@ def sdist_label(self, file: PackageFile) -> str:

def wheel_repo(self, file: PackageFile) -> str:
assert file.is_wheel
normalized_name = file.name[:-4].lower().replace("-", "_").replace("+", "_")
normalized_name = (
file.name[:-4]
.lower()
.replace("-", "_")
.replace("+", "_")
.replace("%2b", "_")
)
return f"{self.repo_prefix}_wheel_{normalized_name}"

def wheel_label(self, file: PackageFile):
Expand Down

0 comments on commit c692333

Please sign in to comment.