Migrate everything to upstream pip packages
This patch migrates all the Python packages I could find to the
packages provided by rules_python. It's possible that there are some
that I missed. In that case, the finder will have to migrate it on
their own.
A future patch will remove the remaining references to the
Debian-packaged Python packages in future patches. This patch here is
solely focused on migrating the existing users.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: Ic7a8ba6110516aa2446ad2ad4e2495fab62d824c
diff --git a/build_tests/BUILD b/build_tests/BUILD
index 718e817..ea05c0b 100644
--- a/build_tests/BUILD
+++ b/build_tests/BUILD
@@ -100,15 +100,14 @@
srcs = ["python_opencv.py"],
main = "python_opencv.py",
target_compatible_with = ["@platforms//os:linux"],
- deps = ["@opencv_contrib_nonfree_amd64//:python_opencv"],
+ deps = ["@pip//opencv_python"],
)
py_test(
name = "python_jinja2",
srcs = ["python_jinja2.py"],
- srcs_version = "PY2AND3",
target_compatible_with = ["@platforms//os:linux"],
- deps = ["@python_jinja2"],
+ deps = ["@pip//jinja2"],
)
go_binary(