Skip to content

Commit 694be71

Browse files
committed
chore: remove Python 3.8 support
Remove Python 3.8 from all configurations as it has reached end-of-life. This includes removing the dedicated Python 3.8 Dockerfile, updating CircleCI configurations to use Python 3.10 instead, and updating the default Python version in conda Dockerfile to 3.9. BREAKING CHANGE: Python 3.8 is no longer supported. Users must upgrade to Python 3.9 or later.
1 parent 7635866 commit 694be71

File tree

4 files changed

+7
-124
lines changed

4 files changed

+7
-124
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ jobs:
268268
./gpu
269269
270270
python-versions: &python-versions
271-
- "3.8"
272271
- "3.9"
273272
- "3.10"
274273
- "3.11"
@@ -324,7 +323,7 @@ workflows:
324323
cuda-version: "12.6.3"
325324
ubuntu-version: "20.04"
326325
tf-version: "2.9.1"
327-
python-version: "3.8"
326+
python-version: "3.10"
328327
- build-and-push-gpu:
329328
name: Tensorflow 2.11, Cuda 12.6, Ubuntu 20.04
330329
cuda-version: "12.6.3"
@@ -343,7 +342,7 @@ workflows:
343342
cuda-version: "11.8.0"
344343
ubuntu-version: "20.04"
345344
tf-version: "2.9.1"
346-
python-version: "3.8"
345+
python-version: "3.10"
347346
- build-and-push-gpu:
348347
name: Tensorflow 2.11, Cuda 11.8, Ubuntu 20.04
349348
cuda-version: "11.8.0"

python/conda/Dockerfile.conda

Lines changed: 3 additions & 8 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

@@ -17,17 +17,12 @@ ENV CONDA_ALWAYS_YES=true
1717
# but that would require baking in the URLs for
1818
# different Miniconda installer versions into the Dockerfile.
1919
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 && \
20+
RUN MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" && \
2621
wget --quiet $MINICONDA_URL -O /tmp/miniconda.sh && \
2722
/bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
2823
rm /tmp/miniconda.sh && \
2924
# Install the correct version of python (as the time of
30-
# writing, anaconda installed python 3.9 by default)
25+
# writing, anaconda installed python 3.8 by default)
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)