Skip to content

Bump build dependencies #3443

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Install uv for speed
uses: astral-sh/setup-uv@v6
with:
version: "0.5.26"
version: "0.7.14"

- name: Build and test wheels
uses: pypa/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install uv for speed
uses: astral-sh/setup-uv@v6
with:
version: "0.5.26"
version: "0.7.14"

- name: Build and test wheels
uses: pypa/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions buildconfig/macdependencies/build_mac_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ cd ../manylinux-build/docker_base
# install some buildtools
bash buildtools/install.sh

# sdl dep
bash libsamplerate/build-libsamplerate.sh

# sdl_image deps
bash zlib-ng/build-zlib-ng.sh
bash libpng/build-png.sh # depends on zlib
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pin version on image for CI stability
FROM quay.io/pypa/manylinux2014_aarch64:2025.03.09-1
FROM quay.io/pypa/manylinux2014_aarch64:2025.06.15-1
ENV MAKEFLAGS="-j 4"
ENV PG_DEP_PREFIX="/usr/local"

Expand Down
2 changes: 1 addition & 1 deletion buildconfig/manylinux-build/docker_base/Dockerfile-i686
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pin version on image for CI stability
FROM quay.io/pypa/manylinux2014_i686:2025.03.09-1
FROM quay.io/pypa/manylinux2014_i686:2025.06.15-1
ENV MAKEFLAGS="-j 4"
ENV PG_DEP_PREFIX="/usr/local"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pin version on image for CI stability
FROM quay.io/pypa/manylinux2014_x86_64:2025.03.09-1
FROM quay.io/pypa/manylinux2014_x86_64:2025.06.15-1
ENV MAKEFLAGS="-j 4"
ENV PG_DEP_PREFIX="/usr/local"

Expand Down
2 changes: 1 addition & 1 deletion buildconfig/manylinux-build/docker_base/alsa/alsa.sha512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b0c0666e38e881dca985b61386523c045c71072a88be4952c986ffbe2107ec736da528858ebeffdf439de5c290914bf3facc654100a228c6d26fff9429142ef0 alsa-lib-1.2.13.tar.bz2
2716cc3a2299da4a1a170d734af082d78dc452b253179d0f1a9ec190140734aecf002b6924eec4ff2699ce88ce1ae5c56821c267f36384910984db726d1f9626 alsa-lib-1.2.14.tar.bz2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

ALSA=alsa-lib-1.2.13
ALSA=alsa-lib-1.2.14
curl -sL https://www.alsa-project.org/files/pub/lib/${ALSA}.tar.bz2 > ${ALSA}.tar.bz2
sha512sum -c alsa.sha512

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi

# pin versions for stability (remember to keep updated)
python3 -m pip install $PG_PIP_EXTRA_FLAGS \
setuptools==75.8.0 cmake==3.31.4 meson==1.7.0 ninja==1.11.1.3
setuptools==80.9.0 cmake==4.0.3 meson==1.8.2 ninja==1.11.1.4

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
cp /root/.local/bin/* /usr/bin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

FLAC=flac-1.4.3
FLAC=flac-1.5.0

curl -sL --retry 10 http://downloads.xiph.org/releases/flac/${FLAC}.tar.xz > ${FLAC}.tar.xz
sha512sum -c flac.sha512
Expand Down
2 changes: 1 addition & 1 deletion buildconfig/manylinux-build/docker_base/flac/flac.sha512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3cf095720bd590a588be8ccbe187d22e7a1c60ab85b1d510ce5e8a22ab0a51827b9acfeaad59bbd645a17d1f200f559255a640101b0330709a164306c0e9709e flac-1.4.3.tar.xz
34c9193b804e990b0828a5759e4d7ef1d1859174262d3b305d03e65285edb35c7f429e8071d9dd2c6da0c16e842b40b439bf215704636ae15dd5886151f0d17a flac-1.5.0.tar.xz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

FSYNTH_VER="2.4.3"
FSYNTH_VER="2.4.6"
FSYNTH="fluidsynth-$FSYNTH_VER"

curl -sL --retry 10 https://github.com/FluidSynth/fluidsynth/archive/v${FSYNTH_VER}.tar.gz > ${FSYNTH}.tar.gz
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
847d2f4529ac1bad735b71b57067c50586df7e2526c6311925c209c0635ee1e1dca1bd77dc6006181fc19a616738c8de1242bfb209707c8dbea9d7e2acc61017 fluidsynth-2.4.3.tar.gz
2d5424d80234742be45f1c7cdf696182c96b684232bb92b079edf270d726c5d1292c5fc42c8b580ae1a89642ad7b536245977928bbeecedd94443f6e1f47d5fd fluidsynth-2.4.6.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

# TODO: when freetype is updated, we can look into resolving the circular
# dependency between freetype and harfbuzz by using the upcoming freetype
# dynamic harfbuzz loading feature.
FREETYPE="freetype-2.13.3"
HARFBUZZ_VER=10.2.0
HARFBUZZ_VER=11.2.1
HARFBUZZ_NAME="harfbuzz-$HARFBUZZ_VER"

curl -sL --retry 10 https://savannah.nongnu.org/download/freetype/${FREETYPE}.tar.gz > ${FREETYPE}.tar.gz
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
b7e7e67baed421dbe08c48dcde5d5891c0f7e3c1253be8dc27826c60eaa17ca89f888c3d5a6faf5141b02c154e1cf42d4ed6133b9959ddc359fe6bd41615ae89 freetype-2.13.3.tar.gz
522028a5de91a042832b1634fc4b7636b1b42c5ee258882d155bc33fca7b30de19ca714b4f9ea8dc3d3f537142ca2305fcf5af04bec4edbf608f557c12742e54 harfbuzz-10.2.0.tar.xz
56d4819f63d6040bff008e64a0d5b597c1cfa105047f7970b1dae2894aeed27a92d0c0780fee0beda53685767d86cb864256d6388cb4439e7d51a7ee717a0bd7 harfbuzz-11.2.1.tar.xz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

LIBDECOR_VER=0.2.2
LIBDECOR_VER=0.2.3
LIBDECOR="libdecor-$LIBDECOR_VER"

curl -sL --retry 10 https://gitlab.freedesktop.org/libdecor/libdecor/-/releases/${LIBDECOR_VER}/downloads/${LIBDECOR}.tar.xz > ${LIBDECOR}.tar.xz
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ed1dfb86c28f0c84950ea5653e1ae6a83bf274e5ea51c0977ea134481536dffd31e65146c0a0aa8b67a6cad4fb8bc551b4266b04c93493547d43131dc04ea380 libdecor-0.2.2.tar.xz
546c3224660c593412b916b659c4ea56a0461dd80304c27d001b8fdbabba4f434950c42faf344ce9a63097208386ea17728575c10ecfc29814703d8f2853621a libdecor-0.2.3.tar.xz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

LIBFFI_VER="3.4.6"
LIBFFI_VER="3.5.1"
LIBFFI="libffi-$LIBFFI_VER"

curl -sL --retry 10 https://github.com/libffi/libffi/releases/download/v${LIBFFI_VER}/${LIBFFI}.tar.gz > ${LIBFFI}.tar.gz
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
033d2600e879b83c6bce0eb80f69c5f32aa775bf2e962c9d39fbd21226fa19d1e79173d8eaa0d0157014d54509ea73315ad86842356fc3a303c0831c94c6ab39 libffi-3.4.6.tar.gz
3da9e21fdb920e7962ceb01ee671ef36196df4d5dad62e0cdd8e87cc60e350f241c204350560ae26ea04cc898161b5585c8a5a5125bdbcc84508efbb7ea61eb8 libffi-3.5.1.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

JPEG_VERSION=3.1.0
JPEG_VERSION=3.1.1
JPEG="libjpeg-turbo-${JPEG_VERSION}"

curl -sL --retry 10 https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/${JPEG_VERSION}/${JPEG}.tar.gz > ${JPEG}.tar.gz
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
63231854529f59a95814cf2414fe384360a4ed96c572764fabc535c3770c559d26943e129c905a63d5949088fa79138b1ffdb175b817f2f4d36329a3cbb23ea7 libjpeg-turbo-3.1.0.tar.gz
d08c8eb77281c1eee2c93ef9f2eefaf79a4b9adff5172ebcb20c845ccad8896a28fc3d622002cc8b28964ff860dca0a491d6b1b921aaa7aedccd21b909aad4cb libjpeg-turbo-3.1.1.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

# pipewire 1.4.5 has some compilation issues, stay at an older version for now
PIPEWIRE_VER="1.2.7"
PIPEWIRE="pipewire-$PIPEWIRE_VER"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

PNG=libpng-1.6.46
PNG=libpng-1.6.49

curl -sL --retry 10 http://download.sourceforge.net/libpng/${PNG}.tar.gz > ${PNG}.tar.gz
sha512sum -c png.sha512
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c7af8a3472cd4389e0d5aadca96206023ea5586ce744f852862bce600b2aca4e9641a0875f950a3ba47a2ad5d8857f40af7cd1393f28bc2c39da7bd66eb750e4 libpng-1.6.46.tar.gz
d99a9b4121ebd45b19779d54bf8711e4a263064da6c62f782310871a91c2cfd082a22a2cced6fd0c5731e30a61f32b65cfc3112c2d7bf9936a7d2474e17f146c libpng-1.6.49.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ cd ${FFTW}
mkdir build
cd build

cmake .. $PG_BASE_CMAKE_FLAGS
# CMake 3.5 or higher policy is required for buiding under CMake 4
cmake .. $PG_BASE_CMAKE_FLAGS -DCMAKE_POLICY_VERSION_MINIMUM=3.5
make
make install

Expand All @@ -32,6 +33,7 @@ cd $LIBSAMPLERATE
mkdir build
cd build

cmake .. $PG_BASE_CMAKE_FLAGS
# CMake 3.5 or higher policy is required for buiding under CMake 4
cmake .. $PG_BASE_CMAKE_FLAGS -DCMAKE_POLICY_VERSION_MINIMUM=3.5
make
make install
10 changes: 4 additions & 6 deletions buildconfig/manylinux-build/docker_base/libtiff/build-tiff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ sha512sum -c tiff.sha512
tar xzf ${TIFF}.tar.gz
cd $TIFF

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
./configure $PG_BASE_CONFIGURE_FLAGS --disable-lzma --disable-webp --disable-zstd
elif [[ "$OSTYPE" == "darwin"* ]]; then
# Use CMake on macOS because arm64 builds fail with weird errors in ./configure
cmake . $PG_BASE_CMAKE_FLAGS -Dlzma=OFF -Dwebp=OFF -Dzstd=OFF
fi
# turn off lzma, webp and zstd so that cmake does not try to pick them up from
# the system.
cmake . $PG_BASE_CMAKE_FLAGS -Dlzma=OFF -Dwebp=OFF -Dzstd=OFF \
-Dtiff-tools=OFF -Dtiff-tests=OFF -Dtiff-contrib=OFF -Dtiff-docs=OFF

make
make install
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

LIBXML2_VER=2.13
LIBXML2_VER=2.14
LIBXML2_PATCH=4
LIBXML2="libxml2-$LIBXML2_VER.$LIBXML2_PATCH"

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
27bfaa63431798d3aa725b36af2005bda70a20b270e601cc3c8a07cc9fd02a080cb3d2b023eb42606a57b9786469488a7c09b71bdff1a518a0b4271c78c3f940 libxml2-2.13.4.tar.xz
5991223bdd6c84886bba8fb81c4e48bf92c8bc3571262ffa8c7673a10efeebceafc1dee362624417dca146982d030ee8d0ccda41f4c82d3074845f74ef6da5d4 libxml2-2.14.4.tar.xz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

XMP_VERSION=4.6.1
XMP_VERSION=4.6.3
XMP="libxmp-${XMP_VERSION}"


Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a772a489d8c1bedda378cd36f4f359bc224a1ac16ba12486b675667c76826d1308697f03e2d6502b654e4127eaaf3930684ee4367a73b75432273662af29111d libxmp-4.6.1.tar.gz
fc87fafa392ebd07f6f9823801cdf296d5f5a6216e15a437d0539bc4ebf0f963bb8d868c73499d1ece33a238b71a8da6da303be23d409975a62b166225853bec libxmp-4.6.3.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

GLSLANG_VER=14.3.0
GLSLANG_VER=15.3.0
GLSLANG="glslang-$GLSLANG_VER"
curl -sL --retry 10 https://github.com/KhronosGroup/glslang/archive/refs/tags/${GLSLANG_VER}.tar.gz > ${GLSLANG}.tar.gz

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ce6d09cc4d98b01d162ec5a196eec017c4a5f25eaf98c6612695d911f8d136c2f7193ff8f2c07931b2e94182d2c654833adc3b645f0c225e1d07c4e6e7abfd76 glslang-14.3.0.tar.gz
c809caed7e6435ff75674485846f02bd8d7010e4f22911f0ee9d4cc4f703b0b6e6d828609379d4e53e97697f3f198b1ca66318a12be24c49c6800cc39593e577 glslang-15.3.0.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e -x
cd $(dirname `readlink -f "$0"`)

# pin for build stability, remember to keep updated
python3 -m pip install mako==1.3.5 PyYAML==6.0.2
python3 -m pip install mako==1.3.10 PyYAML==6.0.2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd $(dirname `readlink -f "$0"`)
# wayland driver needs this) and glx (SDL needs it)
# we don't support vulkan yet

MESA_VER="mesa-24.2.3"
MESA_VER="mesa-25.1.3"
MESA="mesa-$MESA_VER" # yes mesa comes twice in the name

curl -sL --retry 10 https://gitlab.freedesktop.org/mesa/mesa/-/archive/$MESA_VER/$MESA.tar.gz > $MESA.tar.gz
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
be99f38318509a864212c600a8b14e9615ef7d2cfbda8d020b0059585d05dcb850601200a139b2adaf04d8d7df9c4e2661014fafab15647f3d02e3db1196c998 mesa-mesa-24.2.3.tar.gz
f2867600fb15a6d8699d0370d4a130784dc738a54c33a69175bfc1ca3178f9cdf9e888702ec64c1ff6970adb2dd4be8c3000dfbde587229c545612ac9b4dfee2 mesa-mesa-25.1.3.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

MPG123="mpg123-1.32.10"
MPG123="mpg123-1.33.0"

curl -sL --retry 10 https://downloads.sourceforge.net/sourceforge/mpg123/${MPG123}.tar.bz2 > ${MPG123}.tar.bz2
sha512sum -c mpg123.sha512
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4df3e76cafe642b1df8befaff3d3530150c13446ca7f07b8d527af5b6522e4d2dedd025a3f095f23a51e2318d17e1395de6e55c70e3a90f80017ea0955fe8c1f mpg123-1.32.10.tar.bz2
c2c6a3536f18334e310337dc2cc7d4af141c1f7fffb02fc079d645f46113581d457587c562cf353d39375d721af6716cb4db6a964ef83284e390b597744c52ea mpg123-1.33.0.tar.bz2
5 changes: 3 additions & 2 deletions buildconfig/manylinux-build/docker_base/ogg/build-ogg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

OGG=libogg-1.3.5
OGG=libogg-1.3.6
VORBIS=libvorbis-1.3.7

curl -sL --retry 10 http://downloads.xiph.org/releases/ogg/${OGG}.tar.gz > ${OGG}.tar.gz
Expand All @@ -22,6 +22,7 @@ cd ..
tar xzf ${VORBIS}.tar.gz
cd $VORBIS

cmake . $PG_BASE_CMAKE_FLAGS
# CMake 3.5 or higher policy is required for buiding under CMake 4
cmake . $PG_BASE_CMAKE_FLAGS -DCMAKE_POLICY_VERSION_MINIMUM=3.5
make
make install
2 changes: 1 addition & 1 deletion buildconfig/manylinux-build/docker_base/ogg/ogg.sha512
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
e4d798621bb04a62dcb831e58a444357635ab3bcb9efbdffa009cb0be1cafb5e72bf71cbcad5305aa5268a92076a03a7e564a19c0c8d54b93a05d9b03ad2da6b libogg-1.3.5.tar.gz
5e4a136506a8ce5ca55dfd7426303631285e3e001b52963ac66582cbfb59095a0f07e2df94e733d5f4037cc5416bc091f75a85bee3db6056d806f8fe30a0e28a libogg-1.3.6.tar.gz
8a83ac9e9197f32fad4430946dba3927921320492f9e96cda546e8eb3981e2664da97f77e43cb197577ec056437785168ca7c4138f8bf7f2ba93899846932eb2 libvorbis-1.3.7.tar.gz
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

ZLIB_NG_VER=2.2.3
ZLIB_NG_VER=2.2.4
ZLIB_NG_NAME="zlib-ng-$ZLIB_NG_VER"
curl -sL --retry 10 https://github.com/zlib-ng/zlib-ng/archive/refs/tags/${ZLIB_NG_VER}.tar.gz > ${ZLIB_NG_NAME}.tar.gz

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e71e8972ec2c4dec9eaa2c8f550185f13d0f5c411c38061d1aaf78ca8e522fa3d53f005296e574af7f152e7da3a78adf97ae4bb638b7fd277ef57bba26370b7d zlib-ng-2.2.3.tar.gz
f49a89497988db55a2f2375f79443e7e2c57470dbd94b35ae38a39d988eb42f8ecc295a1bd68845fc273b59ea508d0e74b142585d85b7e869dd3c01cc6923d8d zlib-ng-2.2.4.tar.gz
4 changes: 2 additions & 2 deletions dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ def __init__(self) -> None:
"build": get_build_deps(),
"docs": get_build_deps(),
"test": {"numpy"},
"lint": {"pylint==3.3.1", "numpy"},
"lint": {"pylint==3.3.7", "numpy"},
"stubs": {"mypy==1.13.0", "numpy"},
"format": {"pre-commit==4.0.1"},
"format": {"pre-commit==4.2.0"},
}
self.deps["all"] = set()
for k in self.deps.values():
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ pygame_ce = 'pygame.__briefcase.pygame_ce:PygameCEGuiBootstrap'

[build-system]
requires = [
"meson-python<=0.17.1",
"meson<=1.7.0",
"meson-python<=0.18.0",
"meson<=1.8.2",
"ninja<=1.12.1",
"cython<=3.0.11",
"sphinx<=8.1.3",
"sphinx-autoapi<=3.3.2",
"cython<=3.1.2",
"sphinx<=8.2.3",
"sphinx-autoapi<=3.6.0",
"pyproject-metadata!=0.9.1",
]
build-backend = 'mesonpy'
Expand Down
Loading