From 8056ff00141c95cab3142d27748c2179d17ad8e8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 22 Nov 2020 16:20:21 +1000 Subject: [PATCH] fluent-syntax depends on six --- ftl/BUILD.bazel | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ftl/BUILD.bazel b/ftl/BUILD.bazel index d1448bca0..9b9c13fac 100644 --- a/ftl/BUILD.bazel +++ b/ftl/BUILD.bazel @@ -1,5 +1,11 @@ load("@py_deps//:requirements.bzl", "requirement") +fluent_syntax = [ + requirement("fluent-syntax"), + # undeclared runtime dependency + requirement("six"), +] + filegroup( name = "ftl", srcs = [ @@ -12,7 +18,7 @@ filegroup( py_binary( name = "format", srcs = ["format.py"], - deps = [requirement("fluent-syntax")], + deps = fluent_syntax, ) py_test( @@ -24,7 +30,7 @@ py_test( # so we can locate data files args = ["$(location BUILD.bazel)"], data = glob(["**/*.ftl"]) + ["BUILD.bazel"], - deps = [requirement("fluent-syntax")], + deps = fluent_syntax, ) py_binary( @@ -37,14 +43,14 @@ py_binary( name = "extract-strings", srcs = ["extract-strings.py"], tags = ["manual"], - deps = [requirement("fluent-syntax")], + deps = fluent_syntax, ) py_binary( name = "transform-string", srcs = ["transform-string.py"], tags = ["manual"], - deps = [requirement("fluent-syntax")], + deps = fluent_syntax, ) # export this file as a way of locating the top level folder in $(location ...)