← All tasks
pythoncrewAIInc/crewAI #4550Not a task: already works

1.9.3 cannot be installed because tokenizers 0.20.3

envgap__crewAIInc__crewAI-4550

01 / FAILURE SIGNATURE

As reported upstream

▶ TOML parse error at line 1, column 1
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
b3f8a4232113c18af4ee83deea4d50de36be58c0
Manifest
lib/crewai/pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

crewAIInc/crewAI #4550 · read the original issue
`tokenizers~=0.20.3` is missing the version in their `pyproject.toml`, but 1.9.3 depends on it. That means if you try `uv tool install "crewai==1.9.3"`, it would break with the following:

```shell
$ uv tool install crewai
Resolved 128 packages in 369ms
  × Failed to download and build `tokenizers==0.20.3`
  ├─▶ Failed to parse:
  │   `C:\Users\ztahi\AppData\Local\uv\cache\sdists-v9\pypi\tokenizers\0.20.3\FG5MpixO2GrV2GmCLXByU\src\pyproject.toml`
  ╰─▶ TOML parse error at line 1, column 1
        |
      1 | [project]
        | ^^^^^^^^^
      `pyproject.toml` is using the `[project]` table, but the required `project.version` field is neither set nor present in the   
      `project.dynamic` list

  help: `tokenizers` (v0.20.3) was included because `crewai` (v1.9.3) depends on `tokenizers`
```

* Affecting `tokenizers v0.20.3`: https://github.com/huggingface/tokenizers/blob/v0.20.3/bindings/python/pyproject.toml
* Fix was introduced in v0.23: https://github.com/huggingface/tokenizers/commit/3a6504d2740ef3892350ef074beffe4a1ac87a64#diff-bf903f17157a753e10c075d464383a2e36fc657641d17673f054239f8d1a3999R28
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]