Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change(pypi): use the python package version instead of sha in repo names #2366

Closed
wants to merge 2 commits into from

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Nov 1, 2024

Initially the repo name generate was very conservative and we had sha256
as the endings of the repo names. With this change we have more human
readable repository names. In order to still comply with the bazel label
rules, we are normalizing the versions to only have _ and .
characters.

This is an alternative fix to the error message seen in
#1837 (comment)

…ames

Initially the repo name generate was very conservative and we had sha256
as the endings of the repo names. With this change we have more human
readable repository names. In order to still comply with the bazel label
rules, we are normalizing the versions to only have `_` and `.`
characters.

This is an alternative fix to the error message seen in
bazelbuild#1837 (comment)
@aignas aignas marked this pull request as draft November 1, 2024 14:06
aignas added a commit to aignas/rules_python that referenced this pull request Nov 1, 2024
@aignas
Copy link
Collaborator Author

aignas commented Dec 3, 2024

Having dots in the filenames is preblematic and the current scheme is good enough.

@aignas aignas closed this Dec 3, 2024
@aignas aignas deleted the change/use-actual-whl-version branch December 3, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant