Skip to content

Commit

Permalink
Fixed replacement of - to . in sdist package name
Browse files Browse the repository at this point in the history
Follow up after #37406 - we could not test this change as there
was no way to test canary builds but as the capability has been
added in #37408 we can fix the failure and actually test it in
a "canary" PR.
  • Loading branch information
potiuk committed Feb 14, 2024
1 parent 326a77a commit e93b835
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ def _get_all_providers_in_dist(
matched = filename_pattern.match(file.name)
if not matched:
raise Exception(f"Cannot parse provider package name from {file.name}")
provider_package_id = matched.group(1).replace("-", ".")
provider_package_id = matched.group(1).replace("_", ".")
yield provider_package_id


Expand Down

0 comments on commit e93b835

Please sign in to comment.