From 4b5944f1817f45cee312b016749547411526d438 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 24 Mar 2021 22:19:14 +1000 Subject: [PATCH] move markdown dep into pylib --- pylib/anki/BUILD.bazel | 2 ++ qt/aqt/BUILD.bazel | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pylib/anki/BUILD.bazel b/pylib/anki/BUILD.bazel index a56a120ac..03c81721c 100644 --- a/pylib/anki/BUILD.bazel +++ b/pylib/anki/BUILD.bazel @@ -46,6 +46,7 @@ py_library( requirement("requests"), requirement("flask"), requirement("waitress"), + requirement("markdown"), ] + orjson_if_available(), ) @@ -79,6 +80,7 @@ py_wheel( "requests[socks]", "decorator", "protobuf", + "markdown", 'orjson; platform_machine == "x86_64"', 'psutil; sys_platform == "win32"', 'distro; sys_platform != "darwin" and sys_platform != "win32"', diff --git a/qt/aqt/BUILD.bazel b/qt/aqt/BUILD.bazel index 7bfa5f261..872b8b896 100644 --- a/qt/aqt/BUILD.bazel +++ b/qt/aqt/BUILD.bazel @@ -50,7 +50,6 @@ aqt_deps = [ requirement("flask-cors"), requirement("waitress"), requirement("send2trash"), - requirement("markdown"), requirement("jsonschema"), "@pyqt5//:pkg", ] + select({ @@ -104,7 +103,6 @@ py_wheel( "beautifulsoup4", "requests", "send2trash", - "markdown", "jsonschema", "flask", "flask_cors",