File tree Expand file tree Collapse file tree 6 files changed +57
-0
lines changed Expand file tree Collapse file tree 6 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 30
30
- " centos-stream-10-amd64"
31
31
- " debian-12-bookworm-x86"
32
32
- " debian-12-bookworm-amd64"
33
+ - " fedora-42-amd64"
33
34
- " gentoo"
34
35
- " ubuntu-22.04-jammy-amd64"
35
36
- " ubuntu-22.04-jammy-amd64-valgrind"
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ TARGETS = \
8
8
debian-12-bookworm-x86 \
9
9
debian-12-bookworm-amd64 \
10
10
fedora-41-amd64 \
11
+ fedora-42-amd64 \
11
12
gentoo \
12
13
manylinux2014-wheel-build \
13
14
manylinux_2_28-wheel-build \
Original file line number Diff line number Diff line change
1
+ FROM fedora:42
2
+
3
+ RUN dnf install -y \
4
+ freetype-devel \
5
+ fribidi-devel \
6
+ gcc \
7
+ harfbuzz-devel \
8
+ lcms2-devel \
9
+ libavif-devel \
10
+ libimagequant-devel \
11
+ libjpeg-devel \
12
+ libraqm-devel \
13
+ libtiff-devel \
14
+ libwebp-devel \
15
+ make \
16
+ openjpeg2-devel \
17
+ python3-devel \
18
+ python3-tkinter \
19
+ python3-virtualenv \
20
+ redhat-rpm-config \
21
+ tcl-devel \
22
+ tk-devel \
23
+ util-linux \
24
+ which \
25
+ xorg-x11-server-Xvfb \
26
+ zlib-devel \
27
+ && dnf clean all
28
+
29
+ RUN useradd --uid 1001 pillow \
30
+ && chown pillow:pillow /home/pillow
31
+
32
+ ARG PIP_DISABLE_PIP_VERSION_CHECK=1
33
+ ARG PIP_NO_CACHE_DIR=1
34
+
35
+ RUN virtualenv -p /usr/bin/python3.13 --system-site-packages /vpy3 \
36
+ && /vpy3/bin/pip install --upgrade pip \
37
+ && /vpy3/bin/pip install olefile pytest pytest-cov pytest-timeout \
38
+ && /vpy3/bin/pip install numpy --only-binary=:all: || true \
39
+ && chown -R pillow:pillow /vpy3
40
+
41
+ ADD depends /depends
42
+
43
+ USER pillow
44
+ CMD ["depends/test.sh" ]
45
+
46
+ # docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/fedora-42-amd64
Original file line number Diff line number Diff line change
1
+ ../Makefile.sub
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ source /vpy3/bin/activate
3
+ cd /Pillow
4
+ make clean
5
+ make install-coverage
6
+ /usr/bin/xvfb-run -a .ci/test.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ docker pull fedora:42
You can’t perform that action at this time.
0 commit comments