From 9fb33318f5b1923877e08c02ca89684ce6a32134 Mon Sep 17 00:00:00 2001 From: himkt Date: Sat, 10 Feb 2024 01:44:09 +0900 Subject: [PATCH 1/4] deps: make janome optional --- requirements-dev.txt | 1 + requirements.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 8ecaf431e..6707ef70c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,5 @@ black[jupyter]>=23.3.0 +janome>=0.4.2 konoha<6.0.0 mypy>=1.2.0 pytest>=7.3.1 diff --git a/requirements.txt b/requirements.txt index 87c8face9..1186efb44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,6 @@ ftfy>=6.1.0 gdown>=4.4.0 gensim>=4.2.0 huggingface-hub>=0.10.0 -janome>=0.4.2 langdetect>=1.0.9 lxml>=4.8.0 matplotlib>=2.2.3 From eb4f64e9a27d8f8f798f86bc67d6360efb7e65e2 Mon Sep 17 00:00:00 2001 From: himkt Date: Sat, 10 Feb 2024 14:07:29 +0900 Subject: [PATCH 2/4] deps: install janome with konoha --- requirements-dev.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 6707ef70c..bafbb8867 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,5 @@ black[jupyter]>=23.3.0 -janome>=0.4.2 -konoha<6.0.0 +konoha[janome]<6.0.0 mypy>=1.2.0 pytest>=7.3.1 pytest-black-ng>=0.4.1 From 533da585a6e7963c8814480d81e43aba5e4d5f77 Mon Sep 17 00:00:00 2001 From: himkt Date: Sat, 10 Feb 2024 22:03:08 +0900 Subject: [PATCH 3/4] debug: run CI without janome and konoha --- requirements-dev.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index bafbb8867..cff194d26 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,4 @@ black[jupyter]>=23.3.0 -konoha[janome]<6.0.0 mypy>=1.2.0 pytest>=7.3.1 pytest-black-ng>=0.4.1 From d99df7de4a2ed1121b763aa009fa95c698ec58a1 Mon Sep 17 00:00:00 2001 From: himkt Date: Sun, 11 Feb 2024 14:04:14 +0900 Subject: [PATCH 4/4] Revert "debug: run CI without janome and konoha" This reverts commit 533da585a6e7963c8814480d81e43aba5e4d5f77. --- requirements-dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index cff194d26..bafbb8867 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,5 @@ black[jupyter]>=23.3.0 +konoha[janome]<6.0.0 mypy>=1.2.0 pytest>=7.3.1 pytest-black-ng>=0.4.1