Skip to content

Commit cfd70f5

Browse files
committed
change(pypi): use the python package version instead of sha in repo names
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 bazel-contrib#1837 (comment)
1 parent b6fc2a0 commit cfd70f5

File tree

5 files changed

+1896
-1902
lines changed

5 files changed

+1896
-1902
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ A brief description of the categories of changes:
3737
by default. Users wishing to keep this argument and to enforce more hermetic
3838
builds can do so by passing the argument in
3939
[`pip.parse#extra_pip_args`](https://rules-python.readthedocs.io/en/latest/api/rules_python/python/extensions/pip.html#pip.parse.extra_pip_args)
40+
* (pypi, bzlmod) Change the repo naming when `experimental_index_url` is enabled
41+
to include the version number in the external repository names.
4042

4143
{#v0-0-0-fixed}
4244
### Fixed

0 commit comments

Comments
 (0)