Skip to content

Commit

Permalink
Fixed replacement of - to . in sdist package name (apache#37410)
Browse files Browse the repository at this point in the history
Follow up after apache#37406 - we could not test this change as there
was no way to test canary builds but as the capability has been
added in apache#37408 we can fix the failure and actually test it in
a "canary" PR.
  • Loading branch information
potiuk authored and abhishekbhakat committed Mar 5, 2024
1 parent b431916 commit 7564330
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 7564330

Please sign in to comment.