Skip to content

Commit b2f8784

Browse files
authored
Merge pull request #2318 from pygame-community/2.26.5
Move to SDL 2.26.5
2 parents c28de84 + 382b508 commit b2f8784

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

.github/workflows/build-macos.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,36 +89,31 @@ jobs:
8989
macarch: x86_64,
9090
# pattern matches any 2 digit number
9191
pyversions: "cp3[1-9][0-9]-*",
92-
cibw_platform: "macosx-10.11-x86_64"
9392
}
9493

9594
- {
9695
name: "x86_64 (Python 3.7)",
9796
macarch: x86_64,
9897
pyversions: "?p37-*",
99-
cibw_platform: "macosx-10.11-x86_64"
10098
}
10199

102100
- {
103101
name: "x86_64 (Python 3.8)",
104102
macarch: x86_64,
105103
pyversions: "?p38-*",
106-
cibw_platform: "macosx-10.11-x86_64"
107104
}
108105

109106
- {
110107
name: "x86_64 (Python 3.9)",
111108
macarch: x86_64,
112109
pyversions: "?p39-*",
113-
cibw_platform: "macosx-10.11-x86_64"
114110
}
115111

116112
- {
117113
name: "arm64 (CPython 3.8 and above)",
118114
macarch: arm64,
119115
# pattern matches any number from 8 to 99
120116
pyversions: "cp3{8,9,[1-9][0-9]}-*",
121-
cibw_platform: "macosx-11.0-arm64"
122117
}
123118

124119
env:
@@ -128,9 +123,16 @@ jobs:
128123
# also define environment variables needed for testing
129124
CIBW_ENVIRONMENT: PIP_CONFIG_FILE=buildconfig/pip_config.ini SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=disk
130125

131-
# Tell CIBW that the wheel should be for 10.11
126+
# Explicitly tell CIBW what the wheel arch deployment target should be
127+
# There seems to be no better way to set this than this env
128+
# We need this because our minimum is 10.11, different from default
129+
# of 10.9 on x86s
132130
# Related issue: https://github.com/pypa/cibuildwheel/issues/952
133-
_PYTHON_HOST_PLATFORM: ${{ matrix.cibw_platform }}
131+
_PYTHON_HOST_PLATFORM: ${{ matrix.macarch == 'x86_64' && 'macosx-10.11-x86_64' || 'macosx-11.0-arm64'}}
132+
133+
# Similarly, we need to tell CIBW that the wheel's linking steps
134+
# should be for 10.11 on x86
135+
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macarch == 'x86_64' && '10.11' || '11.0' }}
134136

135137
CIBW_BUILD: ${{ matrix.pyversions }}
136138

buildconfig/download_win_prebuilt.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ def get_urls(x86=True, x64=True):
7878
url_sha1 = []
7979
url_sha1.extend([
8080
[
81-
'https://github.com/libsdl-org/SDL/releases/download/release-2.26.4/SDL2-devel-2.26.4-VC.zip',
82-
'0dea77fd5ead8c1a2134af3fc256578327e25879',
81+
'https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip',
82+
'f040c352af677161200ec07463efe8d1325135e4',
8383
],
8484
[
8585
'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.5-VC.zip',
@@ -234,12 +234,12 @@ def copy(src, dst):
234234
copy(
235235
os.path.join(
236236
temp_dir,
237-
'SDL2-devel-2.26.4-VC/SDL2-2.26.4'
237+
'SDL2-devel-2.26.5-VC/SDL2-2.26.5'
238238
),
239239
os.path.join(
240240
move_to_dir,
241241
prebuilt_dir,
242-
'SDL2-2.26.4'
242+
'SDL2-2.26.5'
243243
)
244244
)
245245

buildconfig/manylinux-build/docker_base/sdl_libs/build-sdl2-libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e -x
33

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

6-
SDL2="SDL2-2.26.4"
6+
SDL2="SDL2-2.26.5"
77
IMG2="SDL2_image-2.0.5"
88
TTF2="SDL2_ttf-2.20.2"
99
MIX2="SDL2_mixer-2.6.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
138f52a23d796803c450722c8a4db8226214522e99f1e5ae657e2b28eb45abf0c81c9c3df9ab16f1a07d59722ed9415d64dd04332ff040cdfbbc0329f0d05ce4 SDL2-2.26.4.tar.gz
1+
0f37b443950bc89c3f3add2fc9a9970f42b47e933c106a1d676d1715c520125d5725ffcb9ff85bcf66ac3ff78d9d43d994f9c1935b7c0fd7951e10e251936bcc SDL2-2.26.5.tar.gz
22
77e743d3f32707e015b290c1379ae3c7d7a3fe265995713267f0d0ec6517de4808f0de9890b5ab28445941af5bc9fbff346620629e0d7d7e9f365262cab05ee7 SDL2_image-2.0.5.tar.gz
33
16baa9d8b345bf0224538cbfb2ae9fc5d3deea2b454f41a98006c938fe7a65d5a8c84e28a76f98a4dd971c4fe5cf0219d8bf73331cf11f2702e01600eb197658 SDL2_mixer-2.6.2.tar.gz
44
b54e93b100712e3764cd80d4e4b16cd4c2a6853620f675941a4214320b0ee29a583d57ad56cd5fdb5c7a32d7615cbf43bc3fa55337b01623cee7219ebb43667c SDL2_ttf-2.20.2.tar.gz

0 commit comments

Comments
 (0)