Skip to content

Commit 72ec6e0

Browse files
fineguyThe TensorFlow Datasets Authors
authored andcommitted
Update to tensorflow=2.12
This is basically reverting #4828 because a new release is available: https://pypi.org/project/tensorflow-io/0.32.0/ PiperOrigin-RevId: 520590226
1 parent 759c2b1 commit 72ec6e0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ runs:
4949
# Install Python deps.
5050
# If Python cache is restored then we don't need to install dependencies again.
5151
- if: ${{ steps.python-cache.outputs.cache-hit != 'true' && inputs.tf-version != 'skip' }}
52-
run: if [[ "${{ inputs.tf-version }}" == "tf-nightly" ]]; then pip install tf-nightly; else pip install .[tensorflow]; fi
52+
run: pip install ${{ inputs.tf-version }}
5353
shell: bash
5454
- if: ${{ steps.python-cache.outputs.cache-hit != 'true' }}
5555
run: pip install .[${{ inputs.extras }}]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216

217217
EXTRAS = {
218218
'matplotlib': ['matplotlib'],
219-
'tensorflow': ['tensorflow>=2.1,<2.12.0'],
219+
'tensorflow': ['tensorflow>=2.1'],
220220
'tensorflow-data-validation': ['tensorflow-data-validation'],
221221
'tests-all': TESTS_ALL_DEPENDENCIES,
222222
'dev': TESTS_DEPENDENCIES + DEV_DEPENDENCIES,

tensorflow_datasets/core/community/register_package_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_builder_cls(dummy_register): # pylint: disable=redefined-outer-name
108108
builder_cls = dummy_register.builder_cls(ds_name)
109109
assert builder_cls.name == 'dummy_dataset'
110110

111-
clshash = '7e99279671c2fcaad6c99d5fcae88619befeb854196f0d858b24246bf8b06ac9'
111+
clshash = 'd183643ab2f6544350b6871f6cc2b0fba07297d8d30f4c04649a7717e44e531b'
112112
assert installed_path / f'{clshash}/dummy_dataset.py' == builder_cls.code_path
113113
assert 'kaggle' in builder_cls.code_path.parts
114114
assert issubclass(builder_cls, dataset_builder.DatasetBuilder)

0 commit comments

Comments
 (0)