From 81effb950f4717f9fe19d1da0d61a64463b323bb Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Thu, 1 Feb 2024 02:29:24 +0000 Subject: [PATCH] fix: work around missing/broken editdistance on python 3.12 --- requirements.min.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.min.txt b/requirements.min.txt index 6e548297..56b67dca 100644 --- a/requirements.min.txt +++ b/requirements.min.txt @@ -3,6 +3,8 @@ anyio<4.0.0 chevron==0.14.0 click>=8.0.4 coloredlogs>=10.0 +# Need to install this specifically from git as the sdist is broken +editdistance @ git+https://github.com/roy-ht/editdistance.git@v0.6.2 ; python_version == '3.12' fastapi>=0.78.0 # Note: when we move g2p to >=2, we will need fastapi>=0.100.0 which requires httpx g2p>=1.1.20230822, <2.1