huggingface / huggingface/lighteval
[BUG] Installing lighteval breaks hydra-core
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 555
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 1
Description
## Describe the bug
Installing this package in same env as [hydra-core](https://hydra.cc/docs/intro/) seems to break hydra-core's upstream package called [antlr4](https://github.com/parrt/antlr4-python3). Since I use hydra and want to use lighteval as well, is there a way to reconcile these dependencies?
## To Reproduce
```bash
pip install hydra-core
pip install lighteval
```
```python
from latex2sympy2_extended.latex2sympy2 import NormalizationConfig
```
should give you:
File "your/conda/env/lib/python3.11/site-packages/antlr4/atn/ATNDeserializer.py", line 89, in adjust
v = ord(c)
^^^^^^
TypeError: ord() expected string of length 1, but int found
## Expected behavior
To be able to use lighteval + hydra-core functionality.
## Version info
python==3.11.12
lighteval==0.9.2
hydra-core==1.3.2
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.