Skip to content

Commit 6e557b8

Browse files
benjibcxzrderek
andauthored
update dataset version requirement (#104)
* update dataset version requirement * uv lock * move pytest-asyncio to dep --------- Co-authored-by: Derek Xu <[email protected]>
1 parent 3f7b4c3 commit 6e557b8

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

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: 7 additions & 4 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",
@@ -49,6 +50,7 @@ dependencies = [
4950
"websockets>=15.0.1",
5051
"fastapi>=0.116.1",
5152
"pytest>=6.0.0",
53+
"pytest-asyncio>=0.21.0",
5254
"peewee>=3.18.2",
5355
]
5456

@@ -59,7 +61,6 @@ Homepage = "https://github.com/fireworks-ai/eval-protocol"
5961
dev = [
6062
"build",
6163
"twine",
62-
"pytest-asyncio",
6364
"pytest-httpserver",
6465
"werkzeug>=2.0.0",
6566
"ruff>=0.5.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 = [

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)