Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ pip.parse(
"//tools/publish:requirements_linux.txt": "linux_*",
"//tools/publish:requirements_windows.txt": "windows_*",
},
target_platforms = [
"linux_aarch64",
"linux_x86_64",
"osx_aarch64",
"osx_x86_64",
"windows_aarch64",
"windows_x86_64",
],
)
use_repo(pip, "rules_python_publish_deps")

Expand Down
1 change: 1 addition & 0 deletions news/4007.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(publish): The twine packages are now configured for three major platforms.
5 changes: 5 additions & 0 deletions tests/integration/bzlmod_lockfile/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ load("@rules_python//python:py_test.bzl", "py_test")
py_test(
name = "test_dummy",
srcs = ["test_dummy.py"],
data = [
# Add the twine binary to ensure that the lock file
# stays the same if users use this in their tree.
"@rules_python//tools/publish:twine",
],
deps = [
"@pypi//pycparser",
"@pypi//six",
Expand Down
Loading
Loading