Skip to content

Commit fae4e6d

Browse files
authored
Python 3.12 support + deps bump (#105)
* bump python 3.12 and dependencies * added changeset
1 parent c6dd986 commit fae4e6d

File tree

4 files changed

+40
-34
lines changed

4 files changed

+40
-34
lines changed

.changeset/clever-berries-shave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@e2b/code-interpreter-template': patch
3+
---
4+
5+
python 3.12 support

template/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10.14
1+
FROM python:3.12
22

33
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
44
build-essential curl git util-linux jq sudo fonts-noto-cjk

template/requirements.txt

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,43 @@
11
# Jupyter server requirements
2-
jupyter-server==2.13.0
3-
ipykernel==6.29.3
4-
ipython==8.22.2
2+
jupyter-server==2.16.0
3+
ipykernel==6.29.5
4+
ipython==9.2.0
55

6-
orjson==3.9.15
7-
pandas==1.5.3
8-
matplotlib==3.9.2
9-
pillow==10.3.0
6+
orjson==3.10.18
7+
pandas==2.2.3
8+
matplotlib==3.10.3
9+
pillow==11.2.1
1010

1111
# Latest version for
1212
e2b_charts
1313

1414
# Other packages
15-
aiohttp==3.10.11
16-
beautifulsoup4==4.12.3
17-
bokeh==3.3.4
18-
gensim==4.3.2
19-
imageio==2.34.0
20-
joblib==1.3.2
21-
librosa==0.10.1
22-
nltk==3.9
23-
numpy==1.26.4
24-
opencv-python==4.9.0.80
25-
openpyxl==3.1.2
26-
plotly==5.19.0
27-
pytest==8.1.0
28-
python-docx==1.1.0
29-
pytz==2024.1
30-
requests==2.32.2
31-
scikit-image==0.22.0
32-
scikit-learn==1.5.0
33-
scipy==1.12.0
15+
aiohttp==3.11.18
16+
beautifulsoup4==4.13.4
17+
bokeh==3.7.3
18+
gensim==4.3.3 # unmaintained, blocking numpy and scipy bump
19+
imageio==2.37.0
20+
joblib==1.5.0
21+
librosa==0.11.0
22+
nltk==3.9.1
23+
numpy==1.26.4 # bump blocked by gensim
24+
numba==0.61.2
25+
opencv-python==4.11.0.86
26+
openpyxl==3.1.5
27+
plotly==6.0.1
28+
pytest==8.3.5
29+
python-docx==1.1.2
30+
pytz==2025.2
31+
requests==2.32.3
32+
scikit-image==0.25.2
33+
scikit-learn==1.6.1
34+
scipy==1.13.1 # bump blocked by gensim
3435
seaborn==0.13.2
35-
soundfile==0.12.1
36-
spacy==3.7.4
37-
textblob==0.18.0
36+
soundfile==0.13.1
37+
spacy==3.8.2 # doesn't work on 3.13.x
38+
textblob==0.19.0
3839
tornado==6.4.2
39-
urllib3==1.26.19
40-
xarray==2024.2.0
40+
urllib3==2.4.0
41+
xarray==2025.4.0
4142
xlrd==2.0.1
42-
sympy==1.12
43+
sympy==1.14.0

template/test.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10.14
1+
FROM python:3.12
22

33
ENV JAVA_HOME=/opt/java/openjdk
44
COPY --from=eclipse-temurin:11-jdk $JAVA_HOME $JAVA_HOME

0 commit comments

Comments
 (0)