Skip to content

Commit b0de7a8

Browse files
authored
Release: 4.0.0 (#7673)
* release: 4.0.0 * min torch version for audio
1 parent c4bdfe8 commit b0de7a8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- In `transformers`, use `datasets @ git+https://github.com/huggingface/datasets@main#egg=datasets`
2020
Add a step to install `datasets@main` after `save_cache` in .circleci/create_circleci_config.py:
2121
```
22-
steps.append({"run": {"name": "Install `datasets@main`", "command": 'pip uninstall datasets -y && pip install "datasets @ git+https://github.com/huggingface/datasets@main#egg=datasets"'}})
22+
{"run": {"name": "Install `datasets@main`", "command": 'pip uninstall datasets -y && pip install "datasets @ git+https://github.com/huggingface/datasets@main#egg=datasets"'}}
2323
```
2424
- and then run the CI
2525
@@ -138,6 +138,7 @@
138138
AUDIO_REQUIRE = [
139139
"soundfile>=0.12.1",
140140
"torchcodec>=0.4.0",
141+
"torch>=2.7.0",
141142
]
142143

143144
VISION_REQUIRE = [
@@ -228,7 +229,7 @@
228229

229230
setup(
230231
name="datasets",
231-
version="4.0.0.dev0", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
232+
version="4.0.0", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
232233
description="HuggingFace community-driven open-source library of datasets",
233234
long_description=open("README.md", encoding="utf-8").read(),
234235
long_description_content_type="text/markdown",

src/datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "4.0.0.dev0"
15+
__version__ = "4.0.0"
1616

1717
from .arrow_dataset import Column, Dataset
1818
from .arrow_reader import ReadInstruction

0 commit comments

Comments
 (0)