11# -*- Dockerfile -*-
2- FROM ubuntu:25 .04
2+ FROM ubuntu:26 .04
33
44ENV MATHICS3_HOME=/home/ubuntu
55ENV MATHICS3_MODULE_OPTION="--load-module pymathics.graph,pymathics.natlang,pymathics.trepan"
@@ -26,6 +26,7 @@ RUN apt-get install -y -qq \
2626 asymptote \
2727 cargo \
2828 evince \
29+ enchant-2 \
2930 gfortran \
3031 git \
3132 gyp \
@@ -38,8 +39,8 @@ RUN apt-get install -y -qq \
3839 libxcb-cursor-dev \
3940 libxml2-dev \
4041 libxslt1-dev \
41- llvm-15 \
42- llvm-15 -dev \
42+ llvm-18 \
43+ llvm-18 -dev \
4344 lmodern texlive-latex-extra \
4445 maria \
4546 mesa-utils \
@@ -48,7 +49,7 @@ RUN apt-get install -y -qq \
4849 pkg-config \
4950 pyqt5-dev-tools \
5051 python3-pip \
51- python3.13 -venv \
52+ python3.14 -venv \
5253 remake \
5354 rustc \
5455 sqlite3 \
@@ -61,26 +62,24 @@ RUN apt-get install -y -qq \
6162# # defer deletion until close to the end
6263# # RUN rm -fr /tmp*_amd64.deb
6364
64- RUN /usr/bin/python3.13 -m venv /opt/python3.13
65- ENV PATH=.:/opt/python3.13 /bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
66- ENV PYTHON=/opt/python3.13 /bin/python3.13
67- ENV PIP=/opt/python3.13 /bin/pip
65+ RUN /usr/bin/python3.14 -m venv /opt/python3.14
66+ ENV PATH=.:/opt/python3.14 /bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
67+ ENV PYTHON=/opt/python3.14 /bin/python3.14
68+ ENV PIP=/opt/python3.14 /bin/pip
6869RUN $PYTHON -m pip install --upgrade pip
6970
7071# ########################
7172# Development libraries
7273# ########################
7374
74- RUN $PIP install --local -e git+https://github.com/rocky/python-xdis.git#egg=xdis
75+ RUN $PYTHON -m pip install setuptools
7576RUN $PIP install --local --no-build-isolation -e git+https://github.com/rocky/python-filecache.git#egg=pyficache
7677RUN $PIP install --local -e git+https://github.com/rocky/python-uncompyle6.git#egg=uncompyle6
7778RUN $PIP install --local -e git+https://github.com/rocky/python-decompile3.git#egg=decompyle3
7879RUN $PIP install git+https://github.com/rocky/python-filecache#egg=pyficache
7980RUN $PIP install -e git+https://github.com/Trepan-Debuggers/python3-trepan#egg=trepan3k
80- RUN $PIP install -e git+https://github.com/Trepan-Debuggers/python3-trepan#egg=trepan3k
8181RUN git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
8282RUN (cd Mathics3-scanner && $PIP install -e .[full] && bash -x ./admin-tools/make-JSON-tables.sh)
83- RUN $PIP install git+https://github.com/rocky/python-xdis.git
8483RUN $PIP install git+https://github.com/Trepan-Debuggers/python3-trepan.git
8584
8685# #################
@@ -92,14 +91,15 @@ RUN git clone --depth 1 https://github.com/Mathics3/mathics-core.git
9291# We need to add the second repository Rubi, explicitly
9392RUN (cd mathics-core && git submodule update --init --recursive && \
9493 git submodule add https://github.com/Mathics3/Mathics3-Rubi.git mathics/Packages/Rubi)
95- RUN (cd mathics-core && git submodule && $PIP install -e .[full])
94+ RUN (cd mathics-core && git submodule && $PIP install -e .[full] --no-build-isolation )
9695RUN (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
9796
9897# #############################################
9998# Mathics Modules: Trepan, Graph, and Natlang
10099# #############################################
101- RUN pip install Mathics3-Module-Base
102- RUN pip install mathics-pygments
100+ RUN $PIP install Mathics3-Module-Base
101+ RUN git clone --depth 1 https://github.com/Mathics3/Mathics3-pygments.git
102+ RUN (cd Mathics3-pygments && $PIP install -e . --no-build-isolation)
103103RUN git clone --depth 1 https://github.com/Mathics3/Mathics3-trepan.git
104104RUN (cd Mathics3-trepan && $PIP install --no-build-isolation -e .)
105105
0 commit comments