Skip to content

Commit c32387a

Browse files
committed
update dataset version requirement
1 parent 3f7b4c3 commit c32387a

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
- (Your now removed features here)
2121

2222
### Fixed
23-
- (Your bug fixes here)
23+
- Pin minimum `datasets` version to `>=3.0.0` to avoid import failures with `pyarrow>=21` (AttributeError: `pyarrow.PyExtensionType`). This ensures compatibility when installing via pip/uv in clean CI environments.
2424

2525
### Security
2626
- (Your vulnerabilities patched here)

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ dependencies = [
2727
"aiohttp",
2828
"mcp>=1.9.2",
2929
"PyYAML>=5.0",
30-
"datasets",
30+
# Pin minimum datasets to avoid pyarrow API mismatch (PyExtensionType removal in pyarrow>=21)
31+
"datasets>=3.0.0",
3132
"fsspec",
3233
"hydra-core>=1.3.2",
3334
"omegaconf>=2.3.0",
@@ -103,12 +104,14 @@ langfuse = [
103104
"langfuse>=2.0.0",
104105
]
105106
huggingface = [
106-
"datasets>=2.0.0",
107+
# Keep in sync with core dependency to ensure compatibility with latest pyarrow
108+
"datasets>=3.0.0",
107109
"transformers>=4.0.0",
108110
]
109111
adapters = [
110112
"langfuse>=2.0.0",
111-
"datasets>=2.0.0",
113+
# Keep in sync with core dependency to ensure compatibility with latest pyarrow
114+
"datasets>=3.0.0",
112115
"transformers>=4.0.0",
113116
]
114117
bigquery = [

0 commit comments

Comments
 (0)