Skip to content

Commit 11e1d49

Browse files
authored
chore: Remove Python 3.8 support
chore: Remove Python 3.8 support
2 parents b20ef93 + a9525be commit 11e1d49

File tree

4 files changed

+9
-126
lines changed

4 files changed

+9
-126
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ jobs:
274274
./gpu
275275
276276
python-versions: &python-versions
277-
- "3.8"
278277
- "3.9"
279278
- "3.10"
280279
- "3.11"
@@ -348,7 +347,7 @@ workflows:
348347
cuda-version: "12.6.3"
349348
ubuntu-version: "20.04"
350349
tf-version: "2.9.1"
351-
python-version: "3.8"
350+
python-version: "3.10"
352351
- build-and-push-gpu:
353352
name: Tensorflow 2.11, Cuda 12.6, Ubuntu 20.04
354353
cuda-version: "12.6.3"
@@ -367,7 +366,7 @@ workflows:
367366
cuda-version: "11.8.0"
368367
ubuntu-version: "20.04"
369368
tf-version: "2.9.1"
370-
python-version: "3.8"
369+
python-version: "3.10"
371370
- build-and-push-gpu:
372371
name: Tensorflow 2.11, Cuda 11.8, Ubuntu 20.04
373372
cuda-version: "11.8.0"

python/conda/Dockerfile.conda

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PYTHON_VERSION=3.8
1+
ARG PYTHON_VERSION=3.9
22
ARG CIRCLE_PULL_REQUEST
33
FROM deepnote/python:base
44

@@ -9,6 +9,7 @@ RUN apt-get update && \
99
apt-get clean && \
1010
rm -rf /var/lib/apt/lists/*
1111

12+
ENV CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes
1213
ENV CONDA_ALWAYS_YES=true
1314

1415
# We always download and install the latest miniconda3,
@@ -17,17 +18,11 @@ ENV CONDA_ALWAYS_YES=true
1718
# but that would require baking in the URLs for
1819
# different Miniconda installer versions into the Dockerfile.
1920
ARG PYTHON_VERSION
20-
RUN if [ "$PYTHON_VERSION" = "3.8" ]; then \
21-
# last version of conda compatible with python 3.8
22-
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-py38_23.11.0-2-Linux-x86_64.sh"; \
23-
else \
24-
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"; \
25-
fi && \
26-
wget --quiet $MINICONDA_URL -O /tmp/miniconda.sh && \
21+
RUN wget --quiet "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O /tmp/miniconda.sh && \
2722
/bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
2823
rm /tmp/miniconda.sh && \
29-
# Install the correct version of python (as the time of
30-
# writing, anaconda installed python 3.9 by default)
24+
# Install the correct version of python (as the time of writing, anaconda
25+
# installed python 3.11 by default) for parity with our base image
3126
/opt/conda/bin/conda install python=${PYTHON_VERSION} && \
3227
/opt/conda/bin/conda clean --all
3328

python/python/Dockerfile.python3.8

Lines changed: 0 additions & 111 deletions
This file was deleted.

python/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
- **Maintained by**: [Deepnote](https://deepnote.com/)
33

44
# Supported Tags and Respective Dockerfile Links
5-
- [`3.8`, `3.9`, `3.10`, `3.11`](https://github.com/deepnote/environments/tree/main/python/python)
6-
- [`3.8-datascience`, `3.9-datascience`, `3.10-datascience`, `3.11-datascience`](https://github.com/deepnote/environments/blob/main/python/datascience/Dockerfile.datascience)
5+
- [`3.9`, `3.10`, `3.11`, `3.12`](https://github.com/deepnote/environments/tree/main/python/python)
6+
- [`3.9-datascience`, `3.10-datascience`, `3.11-datascience`, `3.12-datascience`](https://github.com/deepnote/environments/blob/main/python/datascience/Dockerfile.datascience)
77

88
# What is Deepnote Python?
99
Deepnote Python is a set of Docker images tailored for use in the Deepnote platform. These images are based on the official [Python Docker images](https://hub.docker.com/_/python) and include additional binaries and configurations to enhance the user experience within Deepnote. They are designed to simplify development workflows, especially for data science projects, by providing pre-configured environments that are ready to use.

0 commit comments

Comments
 (0)