1load("@bazel_skylib//rules:diff_test.bzl", "diff_test") 2load(":requirements_parser_tests.bzl", parse_requirements_tests = "parse_tests") 3 4diff_test( 5 name = "srcs_diff_test", 6 failure_message = ( 7 "Please run 'bazel run //python/pip_install/private:srcs_module.update' " + 8 "to update the 'srcs.bzl' module found in the same package." 9 ), 10 file1 = "//python/pip_install/private:srcs_module", 11 file2 = "//python/pip_install/private:srcs.bzl", 12 # TODO: The diff_test here fails on Windows. As does the 13 # install script. This should be fixed. 14 target_compatible_with = select({ 15 "@platforms//os:windows": ["@platforms//:incompatible"], 16 "//conditions:default": [], 17 }), 18) 19 20parse_requirements_tests(name = "test_parse_requirements") 21