From 762f9221a6d329c04e1abde57b7644a3f83071e2 Mon Sep 17 00:00:00 2001 From: Clara Petrescu-Stompor Date: Thu, 30 May 2024 16:42:30 +0200 Subject: [PATCH 1/3] MAINT: add hf-utils to docs features --- pyproject.toml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 720a8f52..65c101fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -164,6 +164,7 @@ all = [ webrtc-voice-detector]""", ] docs = [ + "hf-utils", "myst-nb", "numpydoc", "pandas", @@ -207,18 +208,8 @@ cov = [ ] [tool.hatch.envs.docs] -dependencies = [ - "myst-nb", - "numpydoc", - "pandas", - "sphinx", - "sphinx-autoapi", - "sphinx-autobuild", - "sphinx-book-theme", - "sphinx-design", - "sphinxcontrib-mermaid", -] features = [ + "docs", "spacy", ] python = "3.12" From e280caba22ed1475d4913611a16e24a5208e660a Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Thu, 30 May 2024 17:11:51 +0200 Subject: [PATCH 2/3] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 65c101fd..92b8d89b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -164,7 +164,6 @@ all = [ webrtc-voice-detector]""", ] docs = [ - "hf-utils", "myst-nb", "numpydoc", "pandas", @@ -210,6 +209,7 @@ cov = [ [tool.hatch.envs.docs] features = [ "docs", + "hf-utils", "spacy", ] python = "3.12" From 1e1021d4485fbb0ce1733c4e292747f9310aaaf2 Mon Sep 17 00:00:00 2001 From: Clara Petrescu-Stompor Date: Thu, 30 May 2024 16:42:30 +0200 Subject: [PATCH 3/3] MAINT: add hf-utils to docs features --- .readthedocs.yaml | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9d42c9d3..3511f15e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,6 +6,8 @@ python: path: . extra_requirements: - docs + - hf-entity-matcher + - spacy build: os: ubuntu-22.04 diff --git a/pyproject.toml b/pyproject.toml index 92b8d89b..a0b2558c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -209,7 +209,7 @@ cov = [ [tool.hatch.envs.docs] features = [ "docs", - "hf-utils", + "hf-entity-matcher", "spacy", ] python = "3.12"