Commit ef06eec
Fix mxeval installation in mbxp_evaluation setup (#2367)
The mxeval package was failing to install due to two issues with
newer pip/setuptools versions:
1. pkg_resources has been removed from setuptools>=82. When pip
uses build isolation (default), it installs latest setuptools
which no longer includes pkg_resources, causing mxeval setup.py
to fail.
2. The entry_point in mxeval setup.py is missing the required
callable suffix (:main), which newer pip versions enforce.
Fix by:
- Pinning mxeval to a known-good commit (e09974f)
- Patching the broken entry_point after cloning
- Using --no-build-isolation to use existing setuptools
Co-authored-by: Adam Stachowicz <astachow@habana.ai>1 parent 80ee567 commit ef06eec
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
0 commit comments