Skip to content

Commit e79d5e6

Browse files
committed
v0.17.0 [publish]
Signed-off-by: Alexander Piskun <[email protected]>
1 parent 0b6f096 commit e79d5e6

File tree

5 files changed

+11
-15
lines changed

5 files changed

+11
-15
lines changed

.github/workflows/wheels-pi_heif.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
env:
110110
CIBW_ARCHS: "x86_64"
111111
CIBW_ENVIRONMENT_MACOS: PH_LIGHT_ACTION=1 TEST_DECODE_THREADS=0
112-
MACOSX_DEPLOYMENT_TARGET: "11.0"
112+
MACOSX_DEPLOYMENT_TARGET: "12.0"
113113

114114
- name: Checking built wheels
115115
run: |
@@ -128,7 +128,7 @@ jobs:
128128
fail-fast: true
129129
matrix:
130130
cibw_buildlinux: [ manylinux, musllinux ]
131-
cibw_arch: [ "aarch64", "i686", "x86_64" ]
131+
cibw_arch: [ "aarch64", "x86_64" ]
132132
name: ${{ matrix.cibw_buildlinux }} • ${{ matrix.cibw_arch }} • CPython
133133
runs-on: ubuntu-20.04
134134
env:
@@ -154,12 +154,6 @@ jobs:
154154
env:
155155
OS_PACKAGES: "fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"
156156

157-
- name: 32-bit manylinux preparations
158-
if: matrix.cibw_buildlinux == 'manylinux'
159-
run: echo INSTALL_OS_PACKAGES="yum makecache && yum install -y $OS_PACKAGES" >> $GITHUB_ENV
160-
env:
161-
OS_PACKAGES: "libjpeg-turbo-devel lcms2-devel"
162-
163157
- uses: actions/cache@v4
164158
with:
165159
path: ${{ env.BUILD_DIR }}
@@ -235,7 +229,9 @@ jobs:
235229
env:
236230
CIBW_BUILD: ${{ format('pp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}
237231
CIBW_ARCHS: ${{ matrix.cibw_arch }}
238-
CIBW_BEFORE_ALL_LINUX: "yum makecache && yum install -y libjpeg-turbo-devel lcms2-devel && python3 {package}/libheif/linux_build_libs.py"
232+
CIBW_BEFORE_ALL_LINUX: |
233+
yum makecache && yum install -y libjpeg-turbo-devel lcms2-devel
234+
python3 {package}/libheif/linux_build_libs.py
239235
CIBW_ENVIRONMENT_LINUX: BUILD_DIR=/host${{ env.BUILD_DIR }} PH_LIGHT_ACTION=1
240236

241237
- name: Checking built wheels

.github/workflows/wheels-pillow_heif.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
env:
102102
CIBW_ARCHS: "x86_64"
103103
CIBW_ENVIRONMENT_MACOS: PH_FULL_ACTION=1 TEST_DECODE_THREADS=0
104-
MACOSX_DEPLOYMENT_TARGET: "11.0"
104+
MACOSX_DEPLOYMENT_TARGET: "12.0"
105105

106106
- name: Check built wheels
107107
run: |

ci/cirrus_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ wheel_macos_arm_task:
88
env:
99
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
1010
CIBW_ARCHS: arm64
11-
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=12.0 PH_FULL_ACTION=1'
11+
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=14.0 PH_FULL_ACTION=1'
1212

1313
install_pre_requirements_script:
1414
- brew update || true
@@ -32,7 +32,7 @@ wheel_pi_heif_macos_arm_task:
3232
env:
3333
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
3434
CIBW_ARCHS: arm64
35-
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=12.0 PH_LIGHT_ACTION=1'
35+
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=14.0 PH_LIGHT_ACTION=1'
3636

3737
install_pre_requirements_script:
3838
- brew update || true

pi-heif/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ if im.info["depth_images"]:
9494
| PyPy 3.9 v7.3 |||| N/A ||
9595
| PyPy 3.10 v7.3 |||| N/A ||
9696

97-
&ast; **i686**, **x86_64**, **aarch64** wheels.
97+
&ast; **x86_64**, **aarch64** wheels.
9898

99-
`ARMv7l`: wheels are present for Debian 11+(Ubuntu 20.04+) and Alpine 3.16/3.17/3.18
99+
`ARMv7l`: wheels are present for Debian 11+(Ubuntu 20.04+) and Alpine 3.16+

pillow_heif/as_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def getxmp(self) -> dict:
8282
if self.info.get("xmp", None):
8383
xmp_data = self.info["xmp"].rsplit(b"\x00", 1)
8484
if xmp_data[0]:
85-
return self._getxmp(xmp_data[0])
85+
return self._getxmp(xmp_data[0]) # pylint: disable=no-member
8686
return {}
8787

8888
def seek(self, frame):

0 commit comments

Comments
 (0)