From d0feffde7449255fac72e4042220a54901a56a8b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 16 Oct 2021 16:54:34 +1000 Subject: [PATCH] avoid pulling qt5 in unless requested --- qt/BUILD.bazel | 3 ++- qt/aqt/BUILD.bazel | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qt/BUILD.bazel b/qt/BUILD.bazel index c07d8cec7..467b04aae 100644 --- a/qt/BUILD.bazel +++ b/qt/BUILD.bazel @@ -81,7 +81,7 @@ py_test( "//pylib/anki", "//qt/aqt:aqt_without_data", requirement("pylint"), - "@pyqt5//:pkg", + "@pyqt6//:pkg", ], ) @@ -141,6 +141,7 @@ py_binary( ], imports = ["."], main = "runanki.py", + tags = ["manual"], deps = [ "//pylib/anki", "//qt/aqt:aqt_with_data_qt5", diff --git a/qt/aqt/BUILD.bazel b/qt/aqt/BUILD.bazel index caee02ddc..47718f8f4 100644 --- a/qt/aqt/BUILD.bazel +++ b/qt/aqt/BUILD.bazel @@ -84,6 +84,7 @@ py_library( name = "aqt_with_data_qt5", srcs = _py_srcs_and_forms, data = aqt_core_data + ["//qt/aqt/data"], + tags = ["manual"], visibility = ["//visibility:public"], deps = aqt_deps + [ "@pyqt5//:pkg",