From b2a8e6036627e320f88a3dfd81576f3d5112bde5 Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Fri, 31 May 2024 11:03:29 -0400 Subject: [PATCH] fix(deps): make this module compatible with typer 0.12 typer 0.12 no longer supports the [all] extras, they're now just part of the default dependencies. To get them for typer < 0.12 and yet be compatible with 0.12 too, all we need to do is add rich and shellingham explicitly ourselves. The version specification I chose for rich and shellingham are those in the current main branch of typer itself. These are very relaxed too, allowing pretty much any version in the last 3 or 4 years. --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index fa2fa2a..d609e27 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,6 @@ torch>=2.1.0 torchaudio>=2.1.0 g2p>=1.0.20230417 pympi-ling -typer[all]>=0.9.0 \ No newline at end of file +typer>=0.9.0 +rich>=10.11.0 +shellingham>=1.3.0