Repository navigation
build: add pypackaging.bzl 0.4.0 as a dependency - #4559
Conversation
We have been maintaining our own Starlark implementations of PEP 440 versions and PEP 508 requirements and environment markers. `pypackaging.bzl` is a Starlark port of `packaging` that is tested against the upstream test-suite, so add it as a dependency in order to start using it instead. `WORKSPACE` users get the new dependency from `py_repositories`. Our own `WORKSPACE` file now calls it before the internal setup, which loads the repository rules that are going to use the new dependency.
It is aligned with packaging 26.3, is faster and officially supports WORKSPACE with Bazel 7 and 8.
1ccf5c6 to
910bc28
Compare
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
We have been maintaining our own Starlark implementations of PEP 440
versions and PEP 508 requirements and environment markers.
pypackaging.bzlis a Starlark port ofpackagingthat is testedagainst the upstream test-suite, so add it as a dependency in order to
start using it instead.
WORKSPACEusers get the new dependency frompy_repositories. Ourown
WORKSPACEfile now calls it before the internal setup, whichloads the repository rules that are going to use the new dependency.