Skip to content

Fix missing importlib_resources dependency#11227

Open
ArS377 wants to merge 1 commit into
tensorflow:masterfrom
ArS377:fix/importlib-resources-dependency
Open

Fix missing importlib_resources dependency#11227
ArS377 wants to merge 1 commit into
tensorflow:masterfrom
ArS377:fix/importlib-resources-dependency

Conversation

@ArS377

@ArS377 ArS377 commented Jul 24, 2026

Copy link
Copy Markdown

Fixes #11212.

tensorflow_datasets imports importlib_resources on Python 3.12+, but setup.py only declared the dependency for Python versions below 3.9. Declare the dependency for all supported Python versions so it is installed with TFDS.

Tests:

  • pytest -q tensorflow_datasets/core/dataset_builder_test.py
  • 54 passed, 17 skipped, 24 subtests passed in 12.49s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

required dependency on importlib_resources missing

1 participant