From a58527e407144a2e29c8b040dd6bc1131a78b061 Mon Sep 17 00:00:00 2001 From: andrusha Date: Wed, 29 Jan 2025 22:09:40 +0100 Subject: [PATCH] Bump SentencePiece to 0.2.0 This version has binary wheels for arm64 macOS. Otherwise building SentencePiece wheel on Catalina is problematic due to them using implicit conversions disallowed in safemode libc++: ``` src/sentencepiece/sentencepiece_wrap.cxx:3658:38: error: no viable conversion from 'const vector' to 'const vector ``` --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 382f829..1701179 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ gradio = [ "colorama==0.4.5", "Pygments==2.12.0", "markdown==3.4.1", - "SentencePiece==0.1.96" + "SentencePiece==0.2.0" ] lint = [ "isort",