Fix overflow error on windows, go back to allow python 3.12
Fix overflow error on windows seen with versions of python (3.10, 3.11, 3.12), issue https://github.com/SapienzaNLP/relik/issues/15
relik/retriever/indexers/document.py
csv.field_size_limit(sys.maxsize) changed to
csv.field_size_limit(min(sys.maxsize, 2147483646))
(only able to build from source on linux not windows, did test line in windows with python 3.12 cli interpreter)
Should put back allowing python 3.12 that relik 1.0.7 prevents.
Retesting on ubuntu with fresh python 3.12 install, relik 1.0.6 was fine (and build from source with python 3.12 was fine too)
Issue https://github.com/SapienzaNLP/relik/issues/14 on linux was just messed up python 3.12 env.
setup.py
python_requires=">=3.10,<3.12",
change back to:
python_requires=">=3.10",
合并状态:已合并 合并于 2024-09-18 关闭于 2024-09-18 1 条评论