Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- "gentoo"
- "ubuntu-24.04-noble-amd64"
- "ubuntu-26.04-resolute-amd64"
- "cpython_sanity-3.14tsan"
# has a dependency on the test image
- "manylinux_2_28-wheel-build"
include:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TARGETS = \
arch \
centos-stream-9-amd64 \
centos-stream-10-amd64 \
cpython_sanity-3.14tsan \
debian-13-trixie-x86 \
debian-13-trixie-amd64 \
fedora-43-amd64 \
Expand Down
2 changes: 1 addition & 1 deletion Pillow
Submodule Pillow updated 361 files
64 changes: 64 additions & 0 deletions cpython_sanity-3.14tsan/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
FROM ghcr.io/nascheme/cpython-tsan:3.14t

RUN apt-get -qq update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
cmake \
ghostscript \
libavif-dev \
libegl-dev \
libfreetype6-dev \
libfribidi-dev \
libharfbuzz-dev \
libimagequant-dev \
libjpeg-turbo8-dev \
liblcms2-dev \
libopengl-dev \
libopenjp2-7-dev \
libssl-dev \
libtiff5-dev \
libwebp-dev \
libxcb-cursor0 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render-util0 \
libxcb-shape0 \
libxkbcommon-x11-0 \
meson \
python3-dev \
python3-numpy \
python3-setuptools \
python3-tk \
sudo \
tcl8.6-dev \
tk8.6-dev \
virtualenv \
wget \
xvfb \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*

RUN useradd pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN /work/.pyenv/shims/python3 -m venv /vpy3 \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install olefile pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

COPY depends /depends
RUN cd /depends \
&& ./install_raqm.sh

ENV FORCE_COLOR=1
ENV PILLOW_TSAN_TEST=1

USER pillow
CMD ["/depends/test.sh"]

#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/cpython_sanity-3.14tsan
1 change: 1 addition & 0 deletions cpython_sanity-3.14tsan/Makefile
6 changes: 6 additions & 0 deletions cpython_sanity-3.14tsan/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
source /vpy3/bin/activate
cd /Pillow
make clean
make install-tsan
/usr/bin/xvfb-run -a .ci/test.sh
2 changes: 2 additions & 0 deletions cpython_sanity-3.14tsan/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
docker pull ghcr.io/nascheme/cpython-tsan:3.14t
Loading