Skip to content

fix: bump tiktoken to 0.8.0 for litellm 1.84.8 - #1430

Open
sufubao wants to merge 1 commit into
ModelTC:mainfrom
sufubao:fix/tiktoken-0.8.0-for-litellm-1.84.8
Open

fix: bump tiktoken to 0.8.0 for litellm 1.84.8#1430
sufubao wants to merge 1 commit into
ModelTC:mainfrom
sufubao:fix/tiktoken-0.8.0-for-litellm-1.84.8

Conversation

@sufubao

@sufubao sufubao commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

问题

#1427 把 litellm 下界提到了 1.84.8,但 requirements.txt 里的 tiktoken==0.7.0 没跟着改。

litellm 1.84.8 要求 tiktoken>=0.8.0,<1.0,与钉死的 0.7.0 直接冲突,导致从干净索引安装 requirements.txt 时 pip 报 ResolutionImpossible,镜像构建失败。

修复

-tiktoken==0.7.0
+tiktoken==0.8.0

提到 0.8.0,刚好满足 litellm 1.84.8 的下界,最小改动。

litellm 1.84.8 requires tiktoken>=0.8.0,<1.0, but requirements.txt
still pinned tiktoken==0.7.0 from before the litellm floor was raised
in ModelTC#1427. This makes pip resolution fail with ResolutionImpossible
when building images that install requirements.txt from a clean index.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant