Upgrade Python 3.11 (#1844)

* Update Dockerfile

* Update test_python.py

* [TMP] Do not install numba

* test with spark 3.4 rc2

* Update Dockerfile

* install tf with pip in conda

* remove mamba install pip

* Update Dockerfile

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
This commit is contained in:
Bjørn Jørgensen
2023-06-01 13:26:51 +02:00
committed by GitHub
parent 7d8861bf61
commit 5bcf21052b
3 changed files with 4 additions and 6 deletions

View File

@@ -10,9 +10,7 @@ LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install Tensorflow
RUN mamba install --yes \
'tensorflow' && \
mamba clean --all -f -y && \
# Install Tensorflow with pip
RUN pip install --no-cache-dir tensorflow && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"