Repository navigation
Commit e5ab29e
Fix PyPI wheel deps: add math-verify, cap transformers <5.13 (bump 0.3.21) (#318)
The published wheel is built from pyproject.toml [project.dependencies], which
had drifted from requirements.txt. As a result `pip install optillm` shipped a
broken package:
- math-verify was missing entirely, so `import optillm` failed with
ModuleNotFoundError (optillm.cepo imports math_verify at import time) -- the
package would not even start.
- transformers was unpinned, so the mlx-lm cap added in 0.3.19 (requirements.txt
only) never reached PyPI; installs pulled transformers 5.13.0 and broke mlx-lm
on Apple silicon.
Sync the runtime deps into pyproject.toml:
- add math-verify
- transformers>=5.0.0,<5.13.0
- outlines[transformers]>=1.2.3
Verified by building the wheel and installing it into a clean venv (only its
declared deps) and importing optillm successfully.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 205a037 commit e5ab29e
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
0 commit comments