You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Therefore we ought to fetch that tool. We'd have to decide whether we always do that under pip_install_dependencies along with the others, even though install and publish are really separate concerns. OR, users who want to publish would need to be told to add another incantation to WORKSPACE to fetch the twine tool. We also have to update the bzlmod example to match whatever we do.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_python!
This is a minor quality-of-life improvement for some cases, like
bazel-contrib/rules_python#1016 where you just
need a requirements file for the `twine` package so it's nice to write
it as
```
uv_pip_compile(
name = "twine_requirements",
requirements_in = ["twine"],
requirements_txt = "requirements.twine",
)
```
We fetch some packages to support the
pip_parse
rulehttps://github.com/bazelbuild/rules_python/blob/996025317896846267c40ef1934b9e71e3445e8b/python/pip_install/repositories.bzl#L7-L78
which users have to install for us in their WORKSPACE, either with
or just by calling
pip_parse
from their WORKSPACE which also does this.Now I'm adding support under #99 for publishing packages, and per the official documentation https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives the
twine
utility is recommended for doing this.Therefore we ought to fetch that tool. We'd have to decide whether we always do that under
pip_install_dependencies
along with the others, even though install and publish are really separate concerns. OR, users who want to publish would need to be told to add another incantation to WORKSPACE to fetch thetwine
tool. We also have to update the bzlmod example to match whatever we do.The text was updated successfully, but these errors were encountered: