mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-09 11:02:57 +00:00
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:
@@ -77,7 +77,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
|
||||
USER ${NB_UID}
|
||||
|
||||
# Pin python version here, or set it to "default"
|
||||
ARG PYTHON_VERSION=3.10
|
||||
ARG PYTHON_VERSION=3.11
|
||||
|
||||
# Setup work directory for backward-compatibility
|
||||
RUN mkdir "/home/${NB_USER}/work" && \
|
||||
|
@@ -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}"
|
||||
|
@@ -5,7 +5,7 @@ import logging
|
||||
from tests.conftest import TrackedContainer
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
EXPECTED_PYTHON_VERSION = "3.10"
|
||||
EXPECTED_PYTHON_VERSION = "3.11"
|
||||
|
||||
|
||||
def test_python_version(container: TrackedContainer) -> None:
|
||||
|
Reference in New Issue
Block a user