Skip to content

Commit

Permalink
feat(datasets) Bump up datasets version (#4340)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak authored Oct 18, 2024
1 parent e827ded commit f75a039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion datasets/flwr_datasets/mock_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,11 @@ def _load_mocked_dataset_by_partial_download(
The dataset with the requested samples.
"""
dataset = datasets.load_dataset(
dataset_name, name=subset_name, split=split_name, streaming=True
dataset_name,
name=subset_name,
split=split_name,
streaming=True,
trust_remote_code=True,
)
dataset_list = []
# It's a list of dict such that each dict represent a single sample of the dataset
Expand Down
2 changes: 1 addition & 1 deletion datasets/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ exclude = [
[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.21.0"
datasets = ">=2.14.6 <2.20.0"
datasets = ">=2.14.6 <=3.1.0"
pillow = { version = ">=6.2.1", optional = true }
soundfile = { version = ">=0.12.1", optional = true }
librosa = { version = ">=0.10.0.post2", optional = true }
Expand Down

0 comments on commit f75a039

Please sign in to comment.