From e21f382bb27c803bc95f52599cdb483bc83b5f7b Mon Sep 17 00:00:00 2001 From: zvxayr Date: Sun, 29 Sep 2024 13:42:29 +0800 Subject: [PATCH 1/2] Add umap-learn --- Dockerfile.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index 44100f7e..d902d404 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -498,6 +498,7 @@ RUN rm -rf /opt/conda/lib/python3.10/site-packages/numpy* && \ # pycrypto is used by competitions team. pycryptodome \ nbdev \ + umap-learn \ easyocr \ onnx \ tables \ From 2c632bdb87dcf91462afa731ee1edcc3c42640a4 Mon Sep 17 00:00:00 2001 From: zvxayr Date: Sun, 29 Sep 2024 13:48:28 +0800 Subject: [PATCH 2/2] Add test for umap-learn --- tests/test_umap_learn.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/test_umap_learn.py diff --git a/tests/test_umap_learn.py b/tests/test_umap_learn.py new file mode 100644 index 00000000..a49b40e6 --- /dev/null +++ b/tests/test_umap_learn.py @@ -0,0 +1,7 @@ +import unittest + +import umap + +class TestUmapLearn(unittest.TestCase): + def test(self): + self.assertGreater(len(umap.__version__), 0)