Merge pull request #227127 from dmayle/patch-1
python310Packages.tensorflow-datasets: fix build
This commit is contained in:
commit
a60ff1bff7
|
@ -2,6 +2,8 @@
|
||||||
, attrs
|
, attrs
|
||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, click
|
||||||
|
, datasets
|
||||||
, dill
|
, dill
|
||||||
, dm-tree
|
, dm-tree
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
@ -14,6 +16,7 @@
|
||||||
, jinja2
|
, jinja2
|
||||||
, langdetect
|
, langdetect
|
||||||
, lib
|
, lib
|
||||||
|
, lxml
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, mwparserfromhell
|
, mwparserfromhell
|
||||||
, networkx
|
, networkx
|
||||||
|
@ -24,6 +27,7 @@
|
||||||
, pillow
|
, pillow
|
||||||
, promise
|
, promise
|
||||||
, protobuf
|
, protobuf
|
||||||
|
, psutil
|
||||||
, pycocotools
|
, pycocotools
|
||||||
, pydub
|
, pydub
|
||||||
, pytest-xdist
|
, pytest-xdist
|
||||||
|
@ -65,6 +69,7 @@ buildPythonPackage rec {
|
||||||
numpy
|
numpy
|
||||||
promise
|
promise
|
||||||
protobuf
|
protobuf
|
||||||
|
psutil
|
||||||
requests
|
requests
|
||||||
six
|
six
|
||||||
tensorflow-metadata
|
tensorflow-metadata
|
||||||
|
@ -79,12 +84,15 @@ buildPythonPackage rec {
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
apache-beam
|
apache-beam
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
|
click
|
||||||
|
datasets
|
||||||
ffmpeg
|
ffmpeg
|
||||||
imagemagick
|
imagemagick
|
||||||
jax
|
jax
|
||||||
jaxlib
|
jaxlib
|
||||||
jinja2
|
jinja2
|
||||||
langdetect
|
langdetect
|
||||||
|
lxml
|
||||||
matplotlib
|
matplotlib
|
||||||
mwparserfromhell
|
mwparserfromhell
|
||||||
networkx
|
networkx
|
||||||
|
@ -109,19 +117,29 @@ buildPythonPackage rec {
|
||||||
"tensorflow_datasets/core/dataset_info_test.py"
|
"tensorflow_datasets/core/dataset_info_test.py"
|
||||||
"tensorflow_datasets/core/features/features_test.py"
|
"tensorflow_datasets/core/features/features_test.py"
|
||||||
"tensorflow_datasets/core/github_api/github_path_test.py"
|
"tensorflow_datasets/core/github_api/github_path_test.py"
|
||||||
|
"tensorflow_datasets/core/registered_test.py"
|
||||||
"tensorflow_datasets/core/utils/gcs_utils_test.py"
|
"tensorflow_datasets/core/utils/gcs_utils_test.py"
|
||||||
|
"tensorflow_datasets/import_without_tf_test.py"
|
||||||
"tensorflow_datasets/scripts/cli/build_test.py"
|
"tensorflow_datasets/scripts/cli/build_test.py"
|
||||||
|
|
||||||
# Requires `pretty_midi` which is not packaged in `nixpkgs`.
|
# Requires `pretty_midi` which is not packaged in `nixpkgs`.
|
||||||
"tensorflow_datasets/audio/groove_test.py"
|
"tensorflow_datasets/audio/groove.py"
|
||||||
|
"tensorflow_datasets/datasets/groove/groove_dataset_builder_test.py"
|
||||||
|
|
||||||
# Requires `crepe` which is not packaged in `nixpkgs`.
|
# Requires `crepe` which is not packaged in `nixpkgs`.
|
||||||
"tensorflow_datasets/audio/nsynth_test.py"
|
"tensorflow_datasets/audio/nsynth.py"
|
||||||
|
"tensorflow_datasets/datasets/nsynth/nsynth_dataset_builder_test.py"
|
||||||
|
|
||||||
|
# Requires `conllu` which is not packaged in `nixpkgs`.
|
||||||
|
"tensorflow_datasets/core/dataset_builders/conll/conllu_dataset_builder_test.py"
|
||||||
|
"tensorflow_datasets/datasets/universal_dependencies/universal_dependencies_dataset_builder_test.py"
|
||||||
|
"tensorflow_datasets/datasets/xtreme_pos/xtreme_pos_dataset_builder_test.py"
|
||||||
|
|
||||||
# Requires `gcld3` and `pretty_midi` which are not packaged in `nixpkgs`.
|
# Requires `gcld3` and `pretty_midi` which are not packaged in `nixpkgs`.
|
||||||
"tensorflow_datasets/core/lazy_imports_lib_test.py"
|
"tensorflow_datasets/core/lazy_imports_lib_test.py"
|
||||||
|
|
||||||
# Requires `tensorflow_io` which is not packaged in `nixpkgs`.
|
# Requires `tensorflow_io` which is not packaged in `nixpkgs`.
|
||||||
|
"tensorflow_datasets/core/features/audio_feature_test.py"
|
||||||
"tensorflow_datasets/image/lsun_test.py"
|
"tensorflow_datasets/image/lsun_test.py"
|
||||||
|
|
||||||
# Requires `envlogger` which is not packaged in `nixpkgs`.
|
# Requires `envlogger` which is not packaged in `nixpkgs`.
|
||||||
|
@ -133,6 +151,10 @@ buildPythonPackage rec {
|
||||||
# to the differences in some of the dependencies?
|
# to the differences in some of the dependencies?
|
||||||
"tensorflow_datasets/rl_unplugged/rlu_atari/rlu_atari_test.py"
|
"tensorflow_datasets/rl_unplugged/rlu_atari/rlu_atari_test.py"
|
||||||
|
|
||||||
|
# Fails with `ValueError: setting an array element with a sequence`
|
||||||
|
"tensorflow_datasets/core/dataset_utils_test.py"
|
||||||
|
"tensorflow_datasets/core/features/sequence_feature_test.py"
|
||||||
|
|
||||||
# Requires `tensorflow_docs` which is not packaged in `nixpkgs` and the test is for documentation anyway.
|
# Requires `tensorflow_docs` which is not packaged in `nixpkgs` and the test is for documentation anyway.
|
||||||
"tensorflow_datasets/scripts/documentation/build_api_docs_test.py"
|
"tensorflow_datasets/scripts/documentation/build_api_docs_test.py"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue