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

Move code from pillow-wheels #7418

Merged
merged 1,004 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1004 commits
Select commit Hold shift + click to select a range
9323426
Updated openjpeg to 2.5.0
radarhere May 14, 2022
f928371
Downgrade openjpeg to 2.4.0 on macOS x86_64
radarhere May 14, 2022
cc6c04f
Merge pull request #293 from radarhere/openjpeg
hugovk May 14, 2022
341d9b1
Upgrade openjpeg to 2.5.0 on macOS x86_64
radarhere May 14, 2022
3378ab4
Merge pull request #294 from radarhere/openjpeg
hugovk May 15, 2022
1ed3e61
Pillow -> 9.1.1
hugovk May 17, 2022
17d0473
Deploy to GitHub Releases when a tag is set
hugovk May 18, 2022
fc036f4
Merge pull request #296 from python-pillow/tags-true
radarhere May 18, 2022
cd9595e
Updated harfbuzz to 4.3.0
radarhere May 21, 2022
a7f3b8e
Merge pull request #297 from radarhere/harfbuzz
hugovk May 21, 2022
0fb76f9
Updated auditwheel to include auditwheel#376
radarhere May 23, 2022
6bb6f93
Updated libtiff to 4.4.0
radarhere May 28, 2022
e98de97
Added manylinux_2_28
radarhere May 31, 2022
a3062e3
Merge pull request #301 from radarhere/manylinux
hugovk May 31, 2022
252c617
Added Python 3.11.0b3
radarhere Jun 26, 2022
d931de7
Merge pull request #302 from radarhere/python3.11
hugovk Jun 26, 2022
95b9893
Updated harfbuzz to 4.4.0
radarhere Jun 27, 2022
451cca0
Merge pull request #303 from radarhere/harfbuzz
hugovk Jun 28, 2022
4d853f5
Merge pull request #298 from radarhere/auditwheel
radarhere Jun 28, 2022
1fadcf6
Merge pull request #285 from radarhere/fribidi
radarhere Jun 29, 2022
700d64a
Updated harfbuzz to 4.4.1
radarhere Jun 29, 2022
187e742
Merge pull request #304 from radarhere/harfbuzz
radarhere Jun 29, 2022
8add9d5
Merge pull request #300 from radarhere/libtiff
radarhere Jun 29, 2022
799ae5b
Pillow -> 9.2.0
hugovk Jul 1, 2022
242ae7e
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 4, 2022
2eb7e00
Merge pull request #305 from python-pillow/pre-commit-ci-update-config
hugovk Jul 4, 2022
97a7444
Updated libwebp to 1.2.3
radarhere Jul 16, 2022
bf091e0
Merge pull request #306 from radarhere/libwebp
mergify[bot] Jul 16, 2022
b47046a
Updated harfbuzz to 5.0.1
radarhere Jul 24, 2022
0b8837f
Merge pull request #307 from radarhere/harfbuzz
hugovk Jul 25, 2022
f7f26e4
Updated harfbuzz to 5.1.0
radarhere Jul 31, 2022
9ed16c6
Merge pull request #308 from radarhere/harfbuzz
hugovk Aug 1, 2022
3b21279
Remove redundant property already defined in another section
radarhere Aug 6, 2022
8182270
Merge pull request #309 from radarhere/editorconfig
hugovk Aug 6, 2022
9751c5f
Updated libwebp to 1.2.4
radarhere Aug 6, 2022
97311b3
Merge pull request #310 from radarhere/webp
mergify[bot] Aug 6, 2022
b0ae777
Use python3 [ci skip]
radarhere Aug 10, 2022
e9d6acf
Merge pull request #311 from radarhere/readme
hugovk Aug 10, 2022
24f9c63
Updated libjpeg-turbo to 2.1.4
radarhere Aug 13, 2022
1ce40a3
Updated xz to 5.2.6
radarhere Aug 13, 2022
392a625
Merge pull request #312 from radarhere/libjpeg-turbo
mergify[bot] Aug 13, 2022
98c6102
Merge pull request #313 from radarhere/xz
mergify[bot] Aug 13, 2022
8165ad5
Updated multibuild to include build_giflib for giflib >= 5.1.5
radarhere Aug 15, 2022
4c346c6
Merge pull request #314 from radarhere/giflib
hugovk Aug 15, 2022
fd5f616
NumPy now supports Python 3.11
radarhere Aug 26, 2022
a2cfd50
Merge pull request #315 from radarhere/numpy
mergify[bot] Aug 26, 2022
09dee86
Restored _PYTHON_HOST_PLATFORM for Python 3.11
radarhere Sep 1, 2022
2e3c52c
Merge pull request #317 from radarhere/python311
hugovk Sep 1, 2022
6a21297
Updated Python 3.11 to rc1
radarhere Sep 1, 2022
8c65e05
Merge pull request #318 from radarhere/rc1
radarhere Sep 1, 2022
47d5013
update dependency licenses
nulano Sep 5, 2022
2ba18ac
Add renovate.json
renovate[bot] Sep 7, 2022
2bd80a0
Added brotli
radarhere Sep 8, 2022
3abe517
Merge pull request #320 from radarhere/brotli
mergify[bot] Sep 9, 2022
e9fdd04
Fixed brotli detection on 64-bit manylinux
radarhere Sep 9, 2022
9dad3bb
Updated bzip2 license to 1.0.8
radarhere Sep 9, 2022
a4a08a1
Merge pull request #322 from radarhere/brotli
hugovk Sep 9, 2022
fa1f33a
Move config to .github to keep root tidy
hugovk Sep 9, 2022
4c70308
Group GHA updates into a single PR, run once a month
hugovk Sep 9, 2022
b381dc3
Avoid busy days to keep the CI free
hugovk Sep 9, 2022
7802283
Merge pull request #319 from nulano/fix-license
radarhere Sep 12, 2022
3be714f
Merge pull request #323 from radarhere/fix-license
radarhere Sep 12, 2022
a9ef399
Updated Python 3.11 to rc2
radarhere Sep 1, 2022
9bda174
Merge pull request #324 from radarhere/rc2
hugovk Sep 12, 2022
413b348
Updated libXau to 1.0.10
radarhere Sep 16, 2022
129cb11
Updated xorgproto to 2022.2
radarhere Sep 16, 2022
85290d8
Updated harfbuzz to 5.2.0
radarhere Sep 17, 2022
91ff8a4
Merge pull request #325 from radarhere/harfbuzz
mergify[bot] Sep 17, 2022
399d371
Merge pull request #326 from radarhere/xcb
mergify[bot] Sep 17, 2022
249b6a8
Updated libxcb to 1.15
radarhere Sep 16, 2022
3ca0352
Updated xcb-proto to 1.15.2
radarhere Sep 17, 2022
3cec884
Merge pull request #327 from radarhere/xcb
hugovk Sep 18, 2022
ad3e483
Fix schedule parsing
hugovk Sep 19, 2022
8a140d6
Merge pull request #321 from python-pillow/renovate/configure
mergify[bot] Sep 19, 2022
6dedc68
Update github-actions
renovate[bot] Sep 19, 2022
c108f79
Updated libpng to 1.6.38
radarhere Sep 20, 2022
8815684
Merge pull request #329 from python-pillow/renovate/github-actions
radarhere Sep 20, 2022
a3c492a
Merge pull request #330 from radarhere/libpng
radarhere Sep 20, 2022
d0cefec
Updated xz to 5.2.7
radarhere Sep 30, 2022
889ec17
Merge pull request #331 from radarhere/xz
hugovk Oct 1, 2022
d46a2af
Updated harfbuzz to 5.3.0
radarhere Oct 8, 2022
4d07f21
Merge pull request #332 from radarhere/harfbuzz
hugovk Oct 9, 2022
fdc6ddc
Updated zlib to 1.2.13
radarhere Oct 13, 2022
eaf0db4
Merge pull request #333 from radarhere/zlib
mergify[bot] Oct 14, 2022
6f5256c
Updated harfbuzz to 5.3.1
radarhere Oct 20, 2022
c9fbde3
Merge pull request #334 from radarhere/harfbuzz
hugovk Oct 20, 2022
0ee3af8
Revert "Updated auditwheel to include auditwheel#376"
radarhere Oct 22, 2022
61d40c9
Merge pull request #335 from radarhere/auditwheel
hugovk Oct 23, 2022
badd6a7
Python 3.11 has been released
radarhere Oct 24, 2022
2ee3cd2
Merge pull request #336 from radarhere/python311
hugovk Oct 25, 2022
678f162
Updated multibuild to include Python 3.11.0
radarhere Oct 27, 2022
659c178
Add concurrency so old workflows are cancelled in favour of new ones
hugovk Oct 27, 2022
ede54eb
Merge pull request #337 from radarhere/test_images
radarhere Oct 27, 2022
ac76a05
Merge pull request #338 from hugovk/cancel-builds-in-progress
radarhere Oct 27, 2022
564361a
Pillow -> 9.3.0
hugovk Oct 29, 2022
c115ba2
Updated lcms2 to 2.14
radarhere Nov 1, 2022
80dedce
Merge pull request #339 from radarhere/lcms2
hugovk Nov 2, 2022
a99bd64
Specify Python version
radarhere Nov 9, 2022
1358349
Merge pull request #340 from radarhere/python
hugovk Nov 9, 2022
5a727ba
Do not install OpenBLAS on macOS for NumPy
radarhere Nov 9, 2022
e0c14b9
Merge pull request #341 from radarhere/numpy
hugovk Nov 10, 2022
7e4c5af
Updated xz to 5.2.8
radarhere Nov 13, 2022
7419863
Merge pull request #342 from radarhere/xz
mergify[bot] Nov 14, 2022
0902854
Use latest stable Python version
radarhere Nov 18, 2022
865e4b5
Merge pull request #343 from radarhere/python311
hugovk Nov 18, 2022
318587f
Updated libpng to 1.6.39
radarhere Nov 21, 2022
99923e3
Merge pull request #344 from radarhere/libpng
hugovk Nov 21, 2022
fbedc9e
Updated to Python 3.11
radarhere Nov 22, 2022
226105d
Merge pull request #345 from radarhere/python311
hugovk Nov 22, 2022
0aec23f
Updated xz to 5.2.9
radarhere Nov 30, 2022
25ad4e5
Merge pull request #348 from radarhere/xz
mergify[bot] Nov 30, 2022
342ed6e
Add support for PyPy3.9, drop PyPy3.7
hugovk Dec 6, 2022
053c275
PyPy3.7 is no longer supported
radarhere Dec 6, 2022
a5a9f25
Merge pull request #6 from radarhere/add-pypy-3.9
hugovk Dec 6, 2022
35d6cb2
Updated libXau to 1.0.11
radarhere Dec 8, 2022
5bb8032
Merge pull request #350 from radarhere/libxau
hugovk Dec 9, 2022
f8937bd
Added musllinux aarch64
radarhere Dec 12, 2022
8149809
Merge pull request #347 from radarhere/musllinux_aarch64
hugovk Dec 12, 2022
b0d3dcf
Merge branch 'main' into add-pypy-3.9
radarhere Dec 12, 2022
c449ed5
Bump to pypy3.9-7.3.10
hugovk Dec 12, 2022
0b624c6
tkinter is disabled for macOS PyPy
radarhere Dec 12, 2022
cde82a1
Merge pull request #7 from radarhere/add-pypy-3.9
hugovk Dec 13, 2022
b4eb012
Merge pull request #349 from hugovk/add-pypy-3.9
radarhere Dec 13, 2022
0766fa2
Updated xz to 5.4.0
radarhere Dec 13, 2022
5deb11d
Merge pull request #351 from radarhere/xz
hugovk Dec 14, 2022
626139f
Updated harfbuzz to 6.0.0
radarhere Dec 18, 2022
77b463f
Merge pull request #352 from radarhere/harfbuzz
hugovk Dec 19, 2022
146941c
Updated libtiff to 4.5.0
radarhere Dec 24, 2022
a4983e6
Merge pull request #353 from radarhere/libtiff
hugovk Dec 24, 2022
d7333b3
Updated PyPy to 7.3.11
radarhere Dec 30, 2022
15069e9
Revert "tkinter is disabled for macOS PyPy"
radarhere Dec 30, 2022
2e8e7c4
Merge pull request #354 from radarhere/pypy
hugovk Dec 30, 2022
7f069e0
Pillow -> 9.4.0
radarhere Jan 2, 2023
b505e4e
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jan 2, 2023
150dbb5
Update unfrozen
hugovk Jan 2, 2023
1e2eb50
Merge pull request #355 from python-pillow/pre-commit-ci-update-config
radarhere Jan 3, 2023
bf7e8a3
Link to Windows wheels [ci skip]
radarhere Jan 3, 2023
8995e5d
Merge pull request #356 from radarhere/readme
hugovk Jan 3, 2023
6368e4b
Downgraded libXau to 1.0.10 when targeting macOS 10.10
radarhere Jan 3, 2023
a53f934
Merge pull request #358 from radarhere/libxau_x86_64
hugovk Jan 5, 2023
e06cee5
Updated xz to 5.4.1
radarhere Jan 11, 2023
64a77ca
Merge pull request #360 from radarhere/xz
hugovk Jan 12, 2023
9749611
Updated libwebp to 1.3.0
radarhere Jan 13, 2023
d51893c
Merge pull request #361 from radarhere/libwebp
mergify[bot] Jan 14, 2023
0b1c4dc
Removed libxdmcp
radarhere Jan 12, 2023
76bd0ab
Revert "Downgraded libXau to 1.0.10 when targeting macOS 10.10"
radarhere Jan 12, 2023
2dac23e
Merge pull request #362 from radarhere/libxdmcp
hugovk Jan 16, 2023
01e0676
Do not attempt to remove xmlto
radarhere Jan 26, 2023
21a17d0
Instead of removing libpng directly, use brew
radarhere Jan 26, 2023
187fef6
Merge pull request #364 from radarhere/xmlto
hugovk Jan 26, 2023
1ab85c9
Updated libjpeg-turbo to 2.1.5
radarhere Jan 31, 2023
34cd467
Merge pull request #366 from radarhere/libjpeg-turbo
hugovk Feb 1, 2023
6747f86
Updated libjpeg-turbo to 2.1.5.1
radarhere Feb 8, 2023
a9f3d74
Merge pull request #368 from radarhere/turbo
hugovk Feb 9, 2023
0f6913d
Updated freetype to 2.13
radarhere Feb 9, 2023
4fed5a6
Merge pull request #369 from radarhere/freetype
mergify[bot] Feb 9, 2023
f3368ea
Use test-images repository
radarhere Feb 11, 2023
f708a24
Merge pull request #370 from radarhere/test-images
mergify[bot] Feb 11, 2023
3892535
Updated harfbuzz to 7.0.0
radarhere Feb 12, 2023
848d081
Merge pull request #372 from radarhere/harfbuzz
mergify[bot] Feb 12, 2023
84fca8a
brew install pkg-config
radarhere Feb 21, 2023
1af86c2
Merge pull request #373 from radarhere/macos
hugovk Feb 21, 2023
602b1ed
Updated harfbuzz to 7.0.1
radarhere Feb 20, 2023
bc3e5c9
Merge pull request #374 from radarhere/harfbuzz
mergify[bot] Feb 21, 2023
29575e3
Updated lcms2 to 2.15
radarhere Mar 1, 2023
3235bb3
Merge pull request #375 from radarhere/lcms2
hugovk Mar 1, 2023
9330a2a
Updated harfbuzz to 7.1.0
radarhere Mar 3, 2023
a53194e
Merge pull request #376 from radarhere/harfbuzz
mergify[bot] Mar 3, 2023
2d8ff40
Updated xz to 5.4.2
radarhere Mar 18, 2023
b99866c
Merge pull request #377 from radarhere/xz
mergify[bot] Mar 18, 2023
dbe7558
Pillow -> 9.5.0
hugovk Apr 1, 2023
a738d5d
Drop support for soon-EOL Python 3.7
hugovk Apr 1, 2023
3eaa1f3
Merge pull request #378 from hugovk/rm-3.7
radarhere Apr 1, 2023
3c54ba7
Updated harfbuzz to 7.2.0
radarhere Apr 27, 2023
63d24af
Merge pull request #379 from radarhere/harfbuzz
hugovk Apr 27, 2023
6e3c730
Updated xz to 5.4.3
radarhere May 4, 2023
a247d9d
Updated harfbuzz to 7.3.0
radarhere May 10, 2023
f83bb54
Merge pull request #381 from radarhere/harfbuzz
hugovk May 10, 2023
8c6187e
Run on latest Ubuntu
radarhere May 12, 2023
899d7c5
Merge pull request #382 from radarhere/ubuntu-latest
hugovk May 12, 2023
8f22604
Added Python 3.12
radarhere May 31, 2023
73b28de
Merge pull request #383 from radarhere/python312
hugovk May 31, 2023
8467fba
Updated licenses [ci skip]
radarhere Jun 7, 2023
8829c68
Merge pull request #384 from radarhere/licenses
hugovk Jun 8, 2023
f3a9a93
Added PyPy 3.10 and removed PyPy 3.8
radarhere Jun 16, 2023
1fbd443
Merge pull request #385 from radarhere/pypy310
hugovk Jun 17, 2023
9155b33
Updated Python 3.12 on macOS to beta 3
radarhere Jun 21, 2023
c92b62b
Merge pull request #386 from radarhere/python
hugovk Jun 21, 2023
d0cf972
Merge pull request #380 from radarhere/xz
hugovk Jun 21, 2023
0135994
Updated libpng to 1.6.40
radarhere Jun 22, 2023
6f8bdd6
Merge pull request #387 from radarhere/libpng
mergify[bot] Jun 22, 2023
5220c30
Removed 32-bit wheels
radarhere Jun 23, 2023
b1f01c0
Merge pull request #388 from radarhere/32bit
hugovk Jun 24, 2023
02ae9d1
Use --config-settings
radarhere Jun 24, 2023
d5cd1c4
Merge pull request #389 from radarhere/build
radarhere Jun 25, 2023
629e458
Updated freetype to 2.13.1
radarhere Jun 24, 2023
83b9a46
Merge pull request #390 from radarhere/freetype
hugovk Jun 25, 2023
92fb054
Updated libtiff to 4.5.1
radarhere Jun 26, 2023
d49f36b
Updated libwebp to 1.3.1
radarhere Jun 29, 2023
c4f3984
Merge pull request #392 from radarhere/libwebp
hugovk Jun 29, 2023
36fb14c
Merge pull request #391 from radarhere/libtiff
hugovk Jun 29, 2023
b2eed6e
Pillow -> 10.0.0
radarhere Jul 1, 2023
99a03d4
Updated libjpeg-turbo to 3.0.0
radarhere Jul 3, 2023
55de09a
Merge pull request #393 from radarhere/libjpeg_turbo
hugovk Jul 4, 2023
ac0a851
Fix py2app "New Mach-O header is too large" error
radarhere Jul 8, 2023
535b437
Merge pull request #394 from radarhere/py2app_libwebp
mergify[bot] Jul 8, 2023
9cf3d73
Updated harfbuzz to 8.0.0
radarhere Jul 9, 2023
cfd5c8a
Merge pull request #395 from radarhere/harfbuzz
mergify[bot] Jul 9, 2023
efb4459
Set "BUILD_COMMANDS" to single word
radarhere Aug 15, 2023
41eae5f
Set "TEST_DEPENDS" to single word
radarhere Aug 15, 2023
e09fab7
Merge pull request #398 from radarhere/travis
mergify[bot] Aug 15, 2023
ca946c2
Updated harfbuzz to 8.1.1
radarhere Aug 2, 2023
08521ee
Updated xz to 5.4.4
radarhere Aug 2, 2023
ef34405
Use simpler build_multilinux command
radarhere Aug 16, 2023
196e18d
Merge pull request #399 from radarhere/travis
mergify[bot] Aug 16, 2023
0e0dd89
Merge pull request #396 from radarhere/harfbuzz
hugovk Aug 21, 2023
07e0b44
Merge pull request #397 from radarhere/xz
hugovk Aug 21, 2023
3d75ab5
Updated zlib to 1.3
radarhere Aug 18, 2023
014a002
Updated freetype to 2.13.2
radarhere Aug 26, 2023
5e1b843
Updated libpthread-stubs to 0.5
radarhere Aug 30, 2023
cc9f38e
Updated xorgproto to 2023.2
radarhere Aug 30, 2023
0b1aa1a
Updated brotli to 1.1.0
radarhere Aug 31, 2023
38586f2
Updated xcb-proto to 1.16.0
radarhere Aug 31, 2023
6024e6b
Updated libxcb to 1.16
radarhere Aug 31, 2023
aa26ef5
Merge pull request #403 from radarhere/brotli
hugovk Sep 1, 2023
bb2a1b9
Merge branch 'main' into xcb
hugovk Sep 1, 2023
79f73bb
Merge pull request #401 from radarhere/freetype
hugovk Sep 1, 2023
725e2d6
Merge pull request #402 from radarhere/xcb
radarhere Sep 1, 2023
de741ef
Update actions/checkout action to v4
renovate[bot] Sep 4, 2023
a9ec736
Merge pull request #404 from python-pillow/renovate/github-actions
hugovk Sep 5, 2023
1a439c1
Fixed brotli detection on aarch64
radarhere Sep 7, 2023
fb5d249
Install defusedxml, olefile and pyroma for tests
radarhere Sep 8, 2023
c47dd28
Merge pull request #406 from radarhere/tests
hugovk Sep 8, 2023
a3cbf81
Merge pull request #405 from radarhere/brotli
hugovk Sep 8, 2023
35ef6ab
Updated harfbuzz to 8.2.0
radarhere Sep 9, 2023
66bcf1f
Merge pull request #407 from radarhere/harfbuzz
mergify[bot] Sep 9, 2023
dd30780
Updated libwebp to 1.3.2
radarhere Sep 14, 2023
33440f5
Merge pull request #408 from radarhere/webp
mergify[bot] Sep 14, 2023
7a789c4
Merge pull request #400 from radarhere/zlib
radarhere Sep 15, 2023
deb384b
Pillow -> 10.0.1
radarhere Sep 15, 2023
f2665f5
NumPy now supports Python 3.12
radarhere Sep 17, 2023
7a0023d
Install libopenblas-dev and pkg-config to fix NumPy install on Linux …
radarhere Sep 18, 2023
a518f3c
Fixed openblas detection on macOS for PyPy 3.10
radarhere Sep 18, 2023
f3a2455
Merge pull request #409 from radarhere/numpy
hugovk Sep 18, 2023
8d0bfc4
Move and delete files for merging into main repository
radarhere Sep 24, 2023
905cf06
Merge remote-tracking branch 'pillow-wheels/pillow' into pillow-wheels
radarhere Sep 24, 2023
bd87653
Updated wheel build process for new location
radarhere Sep 24, 2023
c20801c
Updated Windows workflow link
radarhere Sep 27, 2023
7a28f59
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 30, 2023
d19a415
Added shebang
radarhere Sep 30, 2023
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
40 changes: 40 additions & 0 deletions .github/workflows/wheels-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/bin/bash

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# webp, zstd, xz, libtiff, libxcb cause a conflict with building webp, libtiff, libxcb
# libxdmcp causes an issue on macOS < 11
# curl from brew requires zstd, use system curl
# if php is installed, brew tries to reinstall these after installing openblas
# remove lcms2 and libpng to fix building openjpeg on arm64
brew remove --ignore-dependencies webp zstd xz libpng libtiff libxcb libxdmcp curl php lcms2 ghostscript

brew install pkg-config

if [[ "$PLAT" == "arm64" ]]; then
export MACOSX_DEPLOYMENT_TARGET="11.0"
else
export MACOSX_DEPLOYMENT_TARGET="10.10"
fi
fi

if [[ "$MB_PYTHON_VERSION" == pypy3* ]]; then
MB_PYTHON_OSX_VER="10.9"
fi

echo "::group::Install a virtualenv"
source wheels/multibuild/common_utils.sh
source wheels/multibuild/travis_steps.sh
python3 -m pip install virtualenv
before_install
echo "::endgroup::"

echo "::group::Build wheel"
build_wheel
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"
echo "::endgroup::"

if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then
echo "::group::Test wheel"
install_run
echo "::endgroup::"
fi
69 changes: 69 additions & 0 deletions .github/workflows/wheels-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Build Linux wheels

on:
workflow_call:
inputs:
artifacts-name:
required: true
type: string

env:
CONFIG_PATH: "wheels/config.sh"
REPO_DIR: "."
TEST_DEPENDS: "pytest pytest-timeout"

jobs:
build:
name: ${{ matrix.python }} ${{ matrix.mb-ml-libc }}${{ matrix.mb-ml-ver }}
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
python: [
"pypy3.9-7.3.12",
"pypy3.10-7.3.12",
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]
mb-ml-libc: [ "manylinux" ]
mb-ml-ver: [ 2014, "_2_28" ]
include:
- python: "3.8"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
- python: "3.9"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
- python: "3.10"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
- python: "3.11"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
- python: "3.12"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
env:
MB_PYTHON_VERSION: ${{ matrix.python }}
MB_ML_LIBC: ${{ matrix.mb-ml-libc }}
MB_ML_VER: ${{ matrix.mb-ml-ver }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Build Wheel
run: .github/workflows/wheels-build.sh
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.artifacts-name }}
path: wheelhouse/*.whl
# Uncomment to get SSH access for testing
# - name: Setup tmate session
# if: failure()
# uses: mxschmitt/action-tmate@v3
57 changes: 57 additions & 0 deletions .github/workflows/wheels-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build macOS wheels

on:
workflow_call:
inputs:
artifacts-name:
required: true
type: string

env:
CONFIG_PATH: "wheels/config.sh"
REPO_DIR: "."
TEST_DEPENDS: "pytest pytest-timeout"

jobs:
build:
name: ${{ matrix.python }} ${{ matrix.platform }}
runs-on: "macos-latest"
strategy:
fail-fast: false
matrix:
python: [
"pypy3.9-7.3.12",
"pypy3.10-7.3.12",
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]
platform: [ "x86_64", "arm64" ]
exclude:
- python: "pypy3.9-7.3.12"
platform: "arm64"
- python: "pypy3.10-7.3.12"
platform: "arm64"
env:
PLAT: ${{ matrix.platform }}
MB_PYTHON_VERSION: ${{ matrix.python }}
TRAVIS_OS_NAME: "osx"
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Build Wheel
run: .github/workflows/wheels-build.sh
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.artifacts-name }}
path: wheelhouse/*.whl
# Uncomment to get SSH access for testing
# - name: Setup tmate session
# if: failure()
# uses: mxschmitt/action-tmate@v3
42 changes: 42 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Wheels

on:
push:
paths:
- ".github/workflows/wheels*.yml"
- "wheels/*"
tags:
- "*"
pull_request:
paths:
- ".github/workflows/wheels*.yml"
- "wheels/*"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
macos:
uses: ./.github/workflows/wheels-macos.yml
with:
artifacts-name: "wheels"

linux:
uses: ./.github/workflows/wheels-linux.yml
with:
artifacts-name: "wheels"

success:
permissions:
contents: none
needs: [macos, linux]
runs-on: ubuntu-latest
name: Wheels Successful
steps:
- name: Success
run: echo Wheels Successful
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "multibuild"]
path = wheels/multibuild
url = https://github.com/multi-build/multibuild.git
135 changes: 135 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
if: tag IS present

env:
global:
- CONFIG_PATH=wheels/config.sh
- REPO_DIR=.
- PLAT=aarch64
- TEST_DEPENDS=pytest-timeout

language: python
# Default Python version is usually 3.6
python: "3.11"
dist: focal
services: docker

jobs:
include:
- name: "3.8 Focal manylinux2014 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.8
- name: "3.8 Focal manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_2_28"
- MB_PYTHON_VERSION=3.8
- name: "3.8 musllinux_1_1 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_1_1"
- MB_ML_LIBC="musllinux"
- MB_PYTHON_VERSION=3.8
- name: "3.9 Focal manylinux2014 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.9
- name: "3.9 Focal manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_2_28"
- MB_PYTHON_VERSION=3.9
- name: "3.9 musllinux_1_1 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_1_1"
- MB_ML_LIBC="musllinux"
- MB_PYTHON_VERSION=3.9
- name: "3.10 Focal manylinux2014 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.10
- name: "3.10 Focal manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_2_28"
- MB_PYTHON_VERSION=3.10
- name: "3.10 musllinux_1_1 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_1_1"
- MB_ML_LIBC="musllinux"
- MB_PYTHON_VERSION=3.10
- name: "3.11 Focal manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.11
- name: "3.11 Focal manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_2_28"
- MB_PYTHON_VERSION=3.11
- name: "3.11 musllinux_1_1 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_1_1"
- MB_ML_LIBC="musllinux"
- MB_PYTHON_VERSION=3.11
- name: "3.12 Focal manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.12
- name: "3.12 Focal manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_2_28"
- MB_PYTHON_VERSION=3.12
- name: "3.12 musllinux_1_1 aarch64"
os: linux
arch: arm64
env:
- MB_ML_VER="_1_1"
- MB_ML_LIBC="musllinux"
- MB_PYTHON_VERSION=3.12

before_install:
- source wheels/multibuild/common_utils.sh
- source wheels/multibuild/travis_steps.sh
- before_install

install:
- build_multilinux aarch64 build_wheel
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"

script:
- install_run

# Upload wheels to GitHub Releases
deploy:
provider: releases
api_key: $GITHUB_RELEASE_TOKEN
file_glob: true
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
on:
repo: python-pillow/Pillow
tags: true
skip_cleanup: true
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ global-exclude .git*
global-exclude *.pyc
global-exclude *.so
prune .ci
prune wheels
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ As of 2019, Pillow development is
<a href="https://ci.appveyor.com/project/python-pillow/Pillow"><img
alt="AppVeyor CI build status (Windows)"
src="https://img.shields.io/appveyor/build/python-pillow/Pillow/main.svg?label=Windows%20build"></a>
<a href="https://github.com/python-pillow/pillow-wheels/actions"><img
alt="GitHub Actions wheels build status (Wheels)"
src="https://github.com/python-pillow/pillow-wheels/workflows/Wheels/badge.svg"></a>
<a href="https://app.travis-ci.com/github/python-pillow/pillow-wheels"><img
<a href="https://github.com/python-pillow/Pillow/actions/workflows/wheels.yml"><img
alt="GitHub Actions build status (Wheels)"
src="https://github.com/python-pillow/Pillow/workflows/Wheels/badge.svg"></a>
<a href="https://app.travis-ci.com/github/python-pillow/Pillow"><img
alt="Travis CI wheels build status (aarch64)"
src="https://img.shields.io/travis/com/python-pillow/pillow-wheels/main.svg?label=aarch64%20wheels"></a>
src="https://img.shields.io/travis/com/python-pillow/Pillow/main.svg?label=aarch64%20wheels"></a>
<a href="https://app.codecov.io/gh/python-pillow/Pillow"><img
alt="Code coverage"
src="https://codecov.io/gh/python-pillow/Pillow/branch/main/graph/badge.svg"></a>
Expand Down
Loading
Loading