Skip to content

Commit 055f410

Browse files
committed
fixup the tests
1 parent 0dd4bce commit 055f410

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

python/private/internal_dev_deps.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def _internal_dev_deps_impl(mctx):
4040
name = "somepkg_with_build_files",
4141
whl_file = "@whl_with_build_files//:somepkg-1.0-any-none-any.whl",
4242
requirement = "somepkg",
43+
dep_template = "@rules_python//tests/support:support.bzl",
4344
)
4445

4546
# Setup for //tests/implicit_namespace_packages
@@ -53,6 +54,7 @@ def _internal_dev_deps_impl(mctx):
5354
whl_file = "@implicit_namespace_ns_sub1_whl//:ns_sub1-1.0-any-none-any.whl",
5455
requirement = "ns-sub1",
5556
enable_implicit_namespace_pkgs = False,
57+
dep_template = "@rules_python//tests/support:support.bzl",
5658
)
5759

5860
whl_from_dir_repo(
@@ -65,6 +67,7 @@ def _internal_dev_deps_impl(mctx):
6567
whl_file = "@implicit_namespace_ns_sub2_whl//:ns_sub2-1.0-any-none-any.whl",
6668
requirement = "ns-sub2",
6769
enable_implicit_namespace_pkgs = False,
70+
dep_template = "@rules_python//tests/support:support.bzl",
6871
)
6972

7073
internal_dev_deps = module_extension(

tests/support/support.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
load("//python/private:bzlmod_enabled.bzl", "BZLMOD_ENABLED") # buildifier: disable=bzl-visibility
2323
load("//python/private:util.bzl", "IS_BAZEL_7_OR_HIGHER") # buildifier: disable=bzl-visibility
2424

25+
# this is used in integration tests with `whl_library`
26+
whl_map = []
27+
2528
MAC = Label("//tests/support:mac")
2629
MAC_X86_64 = Label("//tests/support:mac_x86_64")
2730
LINUX = Label("//tests/support:linux")

0 commit comments

Comments
 (0)