File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ runs:
34
34
sudo apt-spy2 fix --commit --launchpad --country=US
35
35
sudo apt-get update
36
36
shell : bash
37
- # Install protobuf-compiler for gcld3 library.
37
+ # Install protobuf-compiler for gcld3 library and graphviz for mlcroissant .
38
38
- if : ${{ runner.os == 'Linux' }}
39
39
run : |
40
40
sudo apt install -y --allow-downgrades libprotobuf-lite23=3.12.4-1ubuntu7 libprotobuf23=3.12.4-1ubuntu7 libprotoc23=3.12.4-1ubuntu7
41
41
sudo apt install -y libprotobuf-dev=3.12.4-1ubuntu7 protobuf-compiler=3.12.4-1ubuntu7
42
+ sudo apt install -y libgraphviz-dev
42
43
shell : bash
43
44
- if : ${{ runner.os == 'macOS' }}
44
45
# protobuf version must be compatible with C++11 (used by gcld3)
48
49
echo "LDFLAGS=-L/usr/local/opt/protobuf@21/lib" >> $GITHUB_ENV
49
50
echo "CPPFLAGS=-I/usr/local/opt/protobuf@21/include" >> $GITHUB_ENV
50
51
echo "PKG_CONFIG_PATH=/usr/local/opt/protobuf@21/lib/pkgconfig" >> $GITHUB_ENV
52
+ brew install graphviz
51
53
shell : bash
52
54
- uses : FedericoCarboni/setup-ffmpeg@v2 # for Audio FeatureConnector tests.
53
55
79
81
# Get TFDS library from the repository instead of cache.
80
82
- run : echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV
81
83
shell : bash
82
- # Get mlcroissant from PyPI to fix the version.
83
- - if : ${{ runner.os == 'Linux' }}
84
- run : sudo apt-get install -y libgraphviz-dev
85
- shell : bash
86
- - if : ${{ runner.os == 'macOS' }}
87
- run : brew install graphviz
88
- shell : bash
89
- - run : pip install "mlcroissant>=1.0.9"
90
- shell : bash
Original file line number Diff line number Diff line change 92
92
'pytest-shard' ,
93
93
'pytest-xdist' ,
94
94
# Lazy-deps required by core
95
- 'pandas' ,
96
- 'pydub' ,
97
95
'apache-beam' ,
98
96
'conllu' ,
99
- # TODO(b/142892342): Re-enable
97
+ 'mlcroissant>=1.0.9' ,
98
+ 'pandas' ,
99
+ 'pydub' ,
100
100
# 'tensorflow-docs @ git+https://github.com/tensorflow/docs#egg=tensorflow-docs', # pylint: disable=line-too-long
101
101
# Required by scripts/documentation/
102
102
'pyyaml' ,
You can’t perform that action at this time.
0 commit comments