Skip to content

Commit b538ef2

Browse files
committed
bumped cibuildwheel to latest 2.21.3 version
Signed-off-by: Alexander Piskun <[email protected]>
1 parent b292f17 commit b538ef2

File tree

6 files changed

+14
-22
lines changed

6 files changed

+14
-22
lines changed

.github/workflows/build-cache-deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
platforms: arm64
4040

4141
- name: Install cibuildwheel & twine
42-
run: python3 -m pip install twine cibuildwheel==2.19.2
42+
run: python3 -m pip install twine cibuildwheel==2.21.3
4343

4444
- uses: actions/cache@v4
4545
with:
@@ -98,7 +98,7 @@ jobs:
9898
platforms: arm64
9999

100100
- name: Install cibuildwheel & twine
101-
run: python3 -m pip install twine cibuildwheel==2.19.2
101+
run: python3 -m pip install twine cibuildwheel==2.21.3
102102

103103
- uses: actions/cache@v4
104104
with:

.github/workflows/wheels-pi_heif.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,12 @@ jobs:
7272
7373
- name: Run cibuildwheel
7474
run: |
75-
python3 -m pip install cibuildwheel==2.19.2
75+
python3 -m pip install cibuildwheel==2.21.3
7676
python3 -m cibuildwheel
7777
env:
7878
CIBW_ARCHS: "AMD64"
7979
CIBW_ENVIRONMENT_WINDOWS: PH_LIGHT_ACTION=1 TEST_DECODE_THREADS=0
8080
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -vv -w {dest_dir} {wheel} --add-path ${{ env.MSYS2_PREFIX }}/bin"
81-
CIBW_PRERELEASE_PYTHONS: True
8281

8382
- name: Checking built wheels
8483
run: |
@@ -105,13 +104,12 @@ jobs:
105104
106105
- name: Run cibuildwheel
107106
run: |
108-
python3 -m pip install cibuildwheel==2.19.2
107+
python3 -m pip install cibuildwheel==2.21.3
109108
python3 -m cibuildwheel
110109
env:
111110
CIBW_ARCHS: "x86_64"
112111
CIBW_ENVIRONMENT_MACOS: PH_LIGHT_ACTION=1 TEST_DECODE_THREADS=0
113112
MACOSX_DEPLOYMENT_TARGET: "12.0"
114-
CIBW_PRERELEASE_PYTHONS: True
115113

116114
- name: Checking built wheels
117115
run: |
@@ -166,7 +164,7 @@ jobs:
166164

167165
- name: Run cibuildwheel
168166
run: |
169-
python3 -m pip install cibuildwheel==2.19.2
167+
python3 -m pip install cibuildwheel==2.21.3
170168
python3 -m cibuildwheel
171169
env:
172170
CIBW_BUILD: ${{ format('cp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}
@@ -175,7 +173,6 @@ jobs:
175173
${{ env.INSTALL_OS_PACKAGES }}
176174
python3 {package}/libheif/linux_build_libs.py
177175
CIBW_ENVIRONMENT_LINUX: BUILD_DIR=/host${{ env.BUILD_DIR }} PH_LIGHT_ACTION=1
178-
CIBW_PRERELEASE_PYTHONS: True
179176

180177
- name: Checking built wheels
181178
run: |
@@ -227,7 +224,7 @@ jobs:
227224

228225
- name: Run cibuildwheel
229226
run: |
230-
python3 -m pip install cibuildwheel==2.19.2
227+
python3 -m pip install cibuildwheel==2.21.3
231228
python3 -m cibuildwheel
232229
env:
233230
CIBW_BUILD: ${{ format('pp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}

.github/workflows/wheels-pillow_heif.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,12 @@ jobs:
6969
7070
- name: Run cibuildwheel
7171
run: |
72-
python3 -m pip install cibuildwheel==2.19.2
72+
python3 -m pip install cibuildwheel==2.21.3
7373
python3 -m cibuildwheel
7474
env:
7575
CIBW_ARCHS: "AMD64"
7676
CIBW_ENVIRONMENT_WINDOWS: PH_FULL_ACTION=1
7777
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -vv -w {dest_dir} {wheel} --add-path ${{ env.MSYS2_PREFIX }}/bin"
78-
CIBW_PRERELEASE_PYTHONS: True
7978

8079
- name: Check built wheels
8180
run: |
@@ -97,13 +96,12 @@ jobs:
9796
- uses: actions/checkout@v4
9897
- name: Run cibuildwheel
9998
run: |
100-
python3 -m pip install cibuildwheel==2.19.2
99+
python3 -m pip install cibuildwheel==2.21.3
101100
python3 -m cibuildwheel
102101
env:
103102
CIBW_ARCHS: "x86_64"
104103
CIBW_ENVIRONMENT_MACOS: PH_FULL_ACTION=1 TEST_DECODE_THREADS=0
105104
MACOSX_DEPLOYMENT_TARGET: "12.0"
106-
CIBW_PRERELEASE_PYTHONS: True
107105

108106
- name: Check built wheels
109107
run: |
@@ -167,7 +165,7 @@ jobs:
167165

168166
- name: Run cibuildwheel
169167
run: |
170-
python3 -m pip install cibuildwheel==2.19.2
168+
python3 -m pip install cibuildwheel==2.21.3
171169
python3 -m cibuildwheel
172170
env:
173171
CIBW_BUILD: ${{ format('cp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}
@@ -177,7 +175,6 @@ jobs:
177175
python3 {package}/libheif/linux_build_libs.py
178176
CIBW_ENVIRONMENT_LINUX: BUILD_DIR=/host${{ env.BUILD_DIR }} PH_FULL_ACTION=1
179177
CIBW_ENVIRONMENT_PASS_LINUX: PH_TESTS_NO_HEVC_ENC
180-
CIBW_PRERELEASE_PYTHONS: True
181178

182179
- name: Checking built wheels
183180
run: |
@@ -232,7 +229,7 @@ jobs:
232229

233230
- name: Run cibuildwheel
234231
run: |
235-
python3 -m pip install cibuildwheel==2.19.2
232+
python3 -m pip install cibuildwheel==2.21.3
236233
python3 -m cibuildwheel
237234
env:
238235
CIBW_BUILD: ${{ format('pp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Features:
2727
* Support of multiple images in one file and a `PrimaryImage` attribute.
2828
* Adding & removing `thumbnails`.
2929
* Reading of `Depth Images`.
30-
* (beta) Reading of `Auxiliary Images` by @johncf
30+
* (beta) Reading of `Auxiliary Images` by [johncf](https://github.com/johncf)
3131
* Adding HEIF support to Pillow in one line of code as a plugin.
3232

3333
Note: Here is a light version [pi-heif](https://pypi.org/project/pi-heif/) of this project without encoding capabilities.

ci/cirrus_wheels.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ wheel_macos_arm_task:
99
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
1010
CIBW_ARCHS: arm64
1111
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=14.0 PH_FULL_ACTION=1'
12-
CIBW_PRERELEASE_PYTHONS: True
1312

1413
install_pre_requirements_script:
1514
- brew update || true
1615
- brew install libheif
1716
- brew install [email protected]
1817
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python
1918
install_cibuildwheel_script:
20-
- python3 -m pip install --break-system-packages cibuildwheel==2.19.2
19+
- python3 -m pip install --break-system-packages cibuildwheel==2.21.3
2120
run_cibuildwheel_script:
2221
- python3 -m cibuildwheel
2322
wheels_artifacts:
@@ -34,15 +33,14 @@ wheel_pi_heif_macos_arm_task:
3433
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
3534
CIBW_ARCHS: arm64
3635
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=14.0 PH_LIGHT_ACTION=1'
37-
CIBW_PRERELEASE_PYTHONS: True
3836

3937
install_pre_requirements_script:
4038
- brew update || true
4139
- brew install libheif
4240
- brew install [email protected]
4341
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python
4442
install_cibuildwheel_script:
45-
- python3 -m pip install --break-system-packages cibuildwheel==2.19.2
43+
- python3 -m pip install --break-system-packages cibuildwheel==2.21.3
4644
transform_to_pi_heif_script:
4745
- cp -r -v ./pi-heif/* .
4846
- python3 .github/transform_to-pi_heif.py

libheif/linux_build_libs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from re import IGNORECASE, MULTILINE, match, search
77
from subprocess import DEVNULL, PIPE, STDOUT, CalledProcessError, TimeoutExpired, run
88

9-
# 0
9+
# 1
1010
BUILD_DIR = environ.get("BUILD_DIR", "/tmp/ph_build_stuff")
1111
INSTALL_DIR_LIBS = environ.get("INSTALL_DIR_LIBS", "/usr")
1212
PH_LIGHT_VERSION = sys.maxsize <= 2**32 or getenv("PH_LIGHT_ACTION", "0") != "0"

0 commit comments

Comments
 (0)