Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
4cbc97c
Migration to python3.13
mdmitry1 Feb 8, 2026
a82ec0d
Updated master with python3.13 results
mdmitry1 Feb 8, 2026
5e645d4
Removed caret tests
mdmitry1 Feb 8, 2026
b70c384
Updated regression logs
mdmitry1 Feb 8, 2026
bdbf9c5
Added execution scripts
mdmitry1 Feb 8, 2026
ceda9e6
Improved build robustness
mdmitry1 Feb 9, 2026
3e58324
Removed debug prints from smlp_terms.py
mdmitry1 Feb 11, 2026
262269d
Removed debug prints from smlp_models.py
mdmitry1 Feb 11, 2026
542e14e
Merged train_keras.py and smlp_regr.py from master
mdmitry1 Feb 11, 2026
a6066ff
Merge with main branch
mdmitry1 Feb 11, 2026
89ee496
Merged new content of Test128 from main branch
mdmitry1 Feb 11, 2026
f094fa6
Merged new content of Test128 from main branch
mdmitry1 Feb 11, 2026
2626488
Added support of multiple displays
mdmitry1 Feb 12, 2026
3c22d42
Made installation test more robust
mdmitry1 Feb 12, 2026
c51a923
Updated README.md from master branch
mdmitry1 Feb 17, 2026
246878b
Merge remote-tracking branch 'remotes/origin/master' into smlp_python313
mdmitry1 Feb 17, 2026
b43d0b7
Added docker/python3.11 from main branch
mdmitry1 Feb 17, 2026
61a53d8
Made Dockerfile platform independent and removed temporary files
mdmitry1 Feb 18, 2026
7132a1b
Added Mac support
mdmitry1 Feb 18, 2026
b63b470
Added GUI support for Mac container
mdmitry1 Feb 21, 2026
2106d12
Replaced ss by lsof, as ss is not available on Mac
mdmitry1 Feb 21, 2026
094bb6a
Migrated to bash
mdmitry1 Feb 21, 2026
857ea65
1) Downgraded sklearn from 1.8.0 to 1.7.2: needed for pycaret 3.4.0 s…
mdmitry1 Feb 24, 2026
f7c8234
Added pycaret support
mdmitry1 Feb 24, 2026
28985b4
Split python packages layer into two in order to increase push robust…
mdmitry1 Feb 25, 2026
03fc84b
Attempt to overcome docker push failures
mdmitry1 Feb 25, 2026
fce5933
Output format change for caret some caret tests
mdmitry1 Feb 25, 2026
6b1d649
Removed obsolete regression *.csv files
mdmitry1 Feb 25, 2026
2b3c607
Ensure clean merge with master
mdmitry1 Feb 25, 2026
874f784
Updated expected results after adding pycaret tests
mdmitry1 Feb 25, 2026
c416770
Added option for rebuilding smlp only
mdmitry1 Feb 25, 2026
bd814f4
Fixed a typo
mdmitry1 Feb 25, 2026
6cde905
Migrated container support improvements from Ubuntu to Mac OS
mdmitry1 Feb 25, 2026
12e6621
Migrated container support improvements from Ubuntu to Mac OS [2]
mdmitry1 Feb 25, 2026
9ac64d3
Moved mac scripts to bash and removed redundant file
mdmitry1 Feb 26, 2026
74cd84a
Moved enter_released_container_mac_x11_forwarding to bash
mdmitry1 Feb 26, 2026
6b1e7eb
Replaced where by which
mdmitry1 Feb 26, 2026
451959b
Ported scripts to bash
mdmitry1 Feb 26, 2026
5e59136
Added package build files
mdmitry1 Feb 28, 2026
b988d24
Adding file, missing in the previous commit
mdmitry1 Feb 28, 2026
353efb5
Added wheel
mdmitry1 Feb 28, 2026
bbdd671
Added wheel built in Ubuntu 22.04 environment
mdmitry1 Mar 1, 2026
eba6e08
Ported manylinux setup.y and repair_wheel.py from python3.11 to pytho…
mdmitry1 Mar 4, 2026
ca365d6
Adding python3.13 manylinux_2_28 wheel
mdmitry1 Mar 4, 2026
0dc9992
Ported python3.11 package build scripts to python3.13
mdmitry1 Mar 4, 2026
5ca03d5
Adding run_mathsat_build.sh only in order to enable venv regression
mdmitry1 Mar 4, 2026
2d6c158
Adding python3.13 manylinux wheel test in virtual enviroment
mdmitry1 Mar 4, 2026
3c567d1
Added native Ubuntu 24.04 wheel build
mdmitry1 Mar 4, 2026
fb6d22d
Added manylinux wheel test for ubuntu:22.04 python3.13
mdmitry1 Mar 4, 2026
f80b9f8
Added Open Suse 15.5 support for python3.11
mdmitry1 Mar 4, 2026
3576e75
Moved to gcc 13.3
mdmitry1 Mar 4, 2026
1d9e445
Fixed copy-paste error
mdmitry1 Mar 4, 2026
f64f3a3
Added Alma Linux 9.7 support
mdmitry1 Mar 5, 2026
cc6f7e6
Added python3.13 build for Ubuntu 22.04
mdmitry1 Mar 6, 2026
d313f8a
Added Ubuntu 24.04 python3.13 support
mdmitry1 Mar 6, 2026
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ instruction for the installation on Ubuntu.
- Using Docker container with GUI disabled

```
docker run -it mdmitry1/python311-dev:latest
docker run -it mdmitry1/python313-dev:latest
```

Within docker container prepend SMLP Python script with `xvfb-run`.
Expand Down Expand Up @@ -137,12 +137,12 @@ bin/test_install
1. Pull Docker container from the Docker repository:

```
docker pull mdmitry1/python311-dev:latest
docker pull mdmitry1/python313-dev:latest
```

2. Start Docker container:
```
docker run -it mdmitry1/python311-dev:latest
docker run -it mdmitry1/python313-dev:latest
```

3. Run the tool
Expand Down
2 changes: 1 addition & 1 deletion bin/enter
2 changes: 1 addition & 1 deletion bin/enter_wslg
2 changes: 1 addition & 1 deletion bin/enter_x11
377 changes: 160 additions & 217 deletions bin/run_installation_test_expected.log

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/test_install
Binary file not shown.
Binary file not shown.
Binary file not shown.
142 changes: 142 additions & 0 deletions docker/python3.13/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Use ubuntu 24.04 as an image
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND=noninteractive

# Set environment variables
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1

# Layer 1: base tools
RUN apt-get update && apt-get install -y \
wget \
vim \
git \
jq \
tcsh \
tzdata \
locales \
&& apt-get update \
&& rm -rf /var/lib/apt/lists/*

# Layer 2: Python 3.13
RUN apt-get update && \
apt-get install -y --no-install-recommends \
gnupg \
curl \
ca-certificates && \
curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xF23C5A6CF475977595C89F51BA6932366A755776" \
| gpg --dearmor -o /etc/apt/trusted.gpg.d/deadsnakes.gpg && \
echo "deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu noble main" \
> /etc/apt/sources.list.d/deadsnakes.list && \
apt-get update && \
apt-get install -y --no-install-recommends \
python3.13 \
python3.13-dev \
python3.13-tk

# Layer 3: build tools
RUN apt-get update && apt-get install -y \
gcc \
g++ \
make \
ninja-build \
pkg-config \
libgmp-dev \
&& rm -rf /var/lib/apt/lists/*

# Layer 4: Z3 and Boost
RUN apt-get update && apt-get install -y \
python3-z3 \
z3 \
libz3-dev \
libboost-python-dev \
&& rm -rf /var/lib/apt/lists/*

# Layer 5: X11 and GUI tools
RUN apt-get update && apt-get install -y \
tk \
tkcvs \
libx11-6 \
libxext6 \
libxrender1 \
libxtst6 \
libxi6 \
x11-apps \
x11-xserver-utils \
x11vnc \
xvfb \
vim-gtk3 \
libcanberra-gtk-module \
libcanberra-gtk3-module \
autocutsel \
&& rm -rf /var/lib/apt/lists/*

# Set working directory
WORKDIR /app

# Copy requirements file
COPY requirements.txt .

# Copy the build script
COPY run_python_boost_build .

# Make script executable
RUN chmod +x run_python_boost_build
RUN ./run_python_boost_build && rm -rf /tmp/boost* /root/boost*

# Install pip
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.13

# Install Python packages including meson
RUN python3.13 -m pip install --ignore-installed --no-cache-dir -r requirements.txt

#Copy pycaret
COPY pycaret_313.tar.gz .

RUN pip install --no-cache-dir pycaret_313.tar.gz && pip install numpy==2.4.1 && rm -f pycaret_313.tar.gz

ARG CACHE_BUST_SMLP

#Change python default version
RUN ln -sf /usr/bin/python3.13 /usr/bin/python3
RUN ln -sf /usr/bin/python3.13 /usr/bin/python

# Copy the build script
COPY run_meson_build .
# Make script executable
RUN chmod +x run_meson_build
RUN ./run_meson_build

#Copy z3 python package
RUN cp -rp /usr/lib/python3/dist-packages/z3 /usr/local/lib/python3.13/dist-packages

#Workaround for TkAgg issue
COPY tkagg_patch.sh .
RUN chmod +x tkagg_patch.sh
RUN ./tkagg_patch.sh

#Mathsat
COPY run_mathsat_build .
RUN chmod +x run_mathsat_build
RUN ./run_mathsat_build && rm -rf /tmp/mathsat*

#tkdiff patch for https://bugs.launchpad.net/bugs/2139062
COPY run_tkdiff_patch .
RUN chmod +x run_tkdiff_patch
RUN ./run_tkdiff_patch

#UTF-8 fonts
RUN locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8

#VNC
COPY start_vnc .
RUN chmod +x start_vnc

## Default command
CMD ["/bin/tcsh"]
Loading