Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Fedora 41 #220

Merged
merged 1 commit into from
Nov 2, 2024
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 @@ -30,6 +30,7 @@ jobs:
- "debian-12-bookworm-x86"
- "debian-12-bookworm-amd64"
- "fedora-40-amd64"
- "fedora-41-amd64"
- "gentoo"
- "ubuntu-22.04-jammy-amd64"
- "ubuntu-22.04-jammy-amd64-valgrind"
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TARGETS = \
debian-12-bookworm-x86 \
debian-12-bookworm-amd64 \
fedora-40-amd64 \
fedora-41-amd64 \
gentoo \
manylinux2014-wheel-build \
manylinux_2_28-wheel-build \
Expand Down
45 changes: 45 additions & 0 deletions fedora-41-amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
FROM fedora:41

RUN dnf install -y \
freetype-devel \
fribidi-devel \
gcc \
harfbuzz-devel \
lcms2-devel \
libimagequant-devel \
libjpeg-devel \
libraqm-devel \
libtiff-devel \
libwebp-devel \
make \
openjpeg2-devel \
python3-devel \
python3-tkinter \
python3-virtualenv \
redhat-rpm-config \
tcl-devel \
tk-devel \
util-linux \
which \
xorg-x11-server-Xvfb \
zlib-devel \
&& dnf clean all

RUN useradd --uid 1001 pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.13 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3

ADD depends /depends

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

#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/fedora-41-amd64
1 change: 1 addition & 0 deletions fedora-41-amd64/Makefile
6 changes: 6 additions & 0 deletions fedora-41-amd64/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-coverage
/usr/bin/xvfb-run -a .ci/test.sh
2 changes: 2 additions & 0 deletions fedora-41-amd64/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
docker pull fedora:41
Loading