Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Python 3.11 #1844

Merged
merged 20 commits into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-stacks-foundation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" && \
Expand Down
5 changes: 3 additions & 2 deletions tensorflow-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ LABEL maintainer="Jupyter Project <[email protected]>"
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Install Tensorflow
# Install Tensorflow with pip
RUN mamba install --yes \
'tensorflow' && \
'pip' && \
mamba clean --all -f -y && \
mathbunnyru marked this conversation as resolved.
Show resolved Hide resolved
pip install tensorflow && \
mathbunnyru marked this conversation as resolved.
Show resolved Hide resolved
fix-permissions "${CONDA_DIR}" && \
mathbunnyru marked this conversation as resolved.
Show resolved Hide resolved
fix-permissions "/home/${NB_USER}"
2 changes: 1 addition & 1 deletion tests/docker-stacks-foundation/test_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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:
Expand Down