Skip to content

Commit 3ad03c3

Browse files
pin tokenizers
1 parent cdd292f commit 3ad03c3

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

scripts/populate_tox/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"deps": {
1919
"*": ["pytest-asyncio"],
2020
"<0.50": ["httpx<0.28.0"],
21+
# tokenizers dropped Python 3.8 support, but didn't update package metadata.
22+
# https://github.com/huggingface/tokenizers/commit/f4c9fd7f402fc794df8f1b547a95ee5305f9fe62
23+
"py3.8": ["tokenizors<0.20.4"],
2124
},
2225
"python": ">=3.8",
2326
},

tox.ini

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ envlist =
102102

103103
# ~~~ AI ~~~
104104
{py3.8,py3.11,py3.12}-anthropic-v0.16.0
105-
{py3.8,py3.11,py3.12}-anthropic-v0.39.0
106-
{py3.8,py3.12,py3.13}-anthropic-v0.62.0
107-
{py3.9,py3.13,py3.14,py3.14t}-anthropic-v0.86.0
105+
{py3.8,py3.11,py3.12}-anthropic-v0.42.0
106+
{py3.8,py3.12,py3.13}-anthropic-v0.68.2
107+
{py3.9,py3.13,py3.14,py3.14t}-anthropic-v0.93.0
108108
{py3.9,py3.13,py3.14,py3.14t}-anthropic-latest
109109

110110
{py3.9,py3.10,py3.11}-cohere-v5.4.0
@@ -515,13 +515,14 @@ deps =
515515

516516
# ~~~ AI ~~~
517517
anthropic-v0.16.0: anthropic==0.16.0
518-
anthropic-v0.39.0: anthropic==0.39.0
519-
anthropic-v0.62.0: anthropic==0.62.0
520-
anthropic-v0.86.0: anthropic==0.86.0
521-
anthropic-latest: anthropic==0.86.0
518+
anthropic-v0.42.0: anthropic==0.42.0
519+
anthropic-v0.68.2: anthropic==0.68.2
520+
anthropic-v0.93.0: anthropic==0.93.0
521+
anthropic-latest: anthropic==0.93.0
522522
anthropic: pytest-asyncio
523523
anthropic-v0.16.0: httpx<0.28.0
524-
anthropic-v0.39.0: httpx<0.28.0
524+
anthropic-v0.42.0: httpx<0.28.0
525+
{py3.8}-anthropic: tokenizors<0.20.4
525526

526527
cohere-v5.4.0: cohere==5.4.0
527528
cohere-v5.10.0: cohere==5.10.0

0 commit comments

Comments
 (0)