Skip to content

Commit 5bcf210

Browse files
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 <[email protected]> Co-authored-by: Ayaz Salikhov <[email protected]>
1 parent 7d8861b commit 5bcf210

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Diff for: docker-stacks-foundation/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
7777
USER ${NB_UID}
7878

7979
# Pin python version here, or set it to "default"
80-
ARG PYTHON_VERSION=3.10
80+
ARG PYTHON_VERSION=3.11
8181

8282
# Setup work directory for backward-compatibility
8383
RUN mkdir "/home/${NB_USER}/work" && \

Diff for: tensorflow-notebook/Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ LABEL maintainer="Jupyter Project <[email protected]>"
1010
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
1111
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1212

13-
# Install Tensorflow
14-
RUN mamba install --yes \
15-
'tensorflow' && \
16-
mamba clean --all -f -y && \
13+
# Install Tensorflow with pip
14+
RUN pip install --no-cache-dir tensorflow && \
1715
fix-permissions "${CONDA_DIR}" && \
1816
fix-permissions "/home/${NB_USER}"

Diff for: tests/docker-stacks-foundation/test_python.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from tests.conftest import TrackedContainer
66

77
LOGGER = logging.getLogger(__name__)
8-
EXPECTED_PYTHON_VERSION = "3.10"
8+
EXPECTED_PYTHON_VERSION = "3.11"
99

1010

1111
def test_python_version(container: TrackedContainer) -> None:

0 commit comments

Comments
 (0)