Skip to content

Commit f972e95

Browse files
authored
Update Dockerfile.tmpl (#1508)
Drop support for BQ Helper, which is obsolete now that the official BigQuery library is more feature complete. [Context](https://chat.kaggle.net/kaggle/pl/egqzrknaz7dcfydjfrn1xiwame).
1 parent 221ec49 commit f972e95

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Dockerfile.tmpl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,6 @@ RUN mkdir -p /root/.jupyter && touch /root/.jupyter/jupyter_nbconvert_config.py
146146
mkdir -p /etc/ipython/ && echo "c = get_config(); c.IPKernelApp.matplotlib = 'inline'" > /etc/ipython/ipython_config.py && \
147147
/tmp/clean-layer.sh
148148

149-
# Fix to import bq_helper library without downgrading setuptools and upgrading protobuf
150-
RUN mkdir -p ~/src && git clone https://github.com/SohierDane/BigQuery_Helper ~/src/BigQuery_Helper && \
151-
mkdir -p ~/src/BigQuery_Helper/bq_helper && \
152-
mv ~/src/BigQuery_Helper/bq_helper.py ~/src/BigQuery_Helper/bq_helper/__init__.py && \
153-
mv ~/src/BigQuery_Helper/test_helper.py ~/src/BigQuery_Helper/bq_helper/ && \
154-
sed -i 's/)/packages=["bq_helper"])/g' ~/src/BigQuery_Helper/setup.py && \
155-
uv pip install --system -e ~/src/BigQuery_Helper "protobuf<3.21"&& \
156-
/tmp/clean-layer.sh
157-
158-
159149
# install imagemagick for wand
160150
# https://docs.wand-py.org/en/latest/guide/install.html#install-imagemagick-on-debian-ubuntu
161151
RUN apt-get install libmagickwand-dev

0 commit comments

Comments
 (0)