davanstrien HF Staff Claude Opus 4.5 commited on
Commit
13506fd
·
1 Parent(s): 0b3448a

Fix pyarrow compatibility for datasets library

Browse files

Pin pyarrow>=17.0.0,<18.0.0 to avoid PyExtensionType issue.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. lighton-ocr2.py +2 -1
lighton-ocr2.py CHANGED
@@ -1,7 +1,8 @@
1
  # /// script
2
  # requires-python = ">=3.11"
3
  # dependencies = [
4
- # "datasets",
 
5
  # "huggingface-hub[hf_transfer]",
6
  # "pillow",
7
  # "vllm",
 
1
  # /// script
2
  # requires-python = ">=3.11"
3
  # dependencies = [
4
+ # "datasets>=3.1.0",
5
+ # "pyarrow>=17.0.0,<18.0.0",
6
  # "huggingface-hub[hf_transfer]",
7
  # "pillow",
8
  # "vllm",