Skip to content

Commit

Permalink
v0.17.0 [publish]
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Jul 1, 2024
1 parent 0b6f096 commit 397a443
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/wheels-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
env:
CIBW_ARCHS: "x86_64"
CIBW_ENVIRONMENT_MACOS: PH_LIGHT_ACTION=1 TEST_DECODE_THREADS=0
MACOSX_DEPLOYMENT_TARGET: "11.0"
MACOSX_DEPLOYMENT_TARGET: "12.0"

- name: Checking built wheels
run: |
Expand All @@ -128,7 +128,7 @@ jobs:
fail-fast: true
matrix:
cibw_buildlinux: [ manylinux, musllinux ]
cibw_arch: [ "aarch64", "i686", "x86_64" ]
cibw_arch: [ "aarch64", "x86_64" ]
name: ${{ matrix.cibw_buildlinux }} • ${{ matrix.cibw_arch }} • CPython
runs-on: ubuntu-20.04
env:
Expand All @@ -154,12 +154,6 @@ jobs:
env:
OS_PACKAGES: "fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"

- name: 32-bit manylinux preparations
if: matrix.cibw_buildlinux == 'manylinux'
run: echo INSTALL_OS_PACKAGES="yum makecache && yum install -y $OS_PACKAGES" >> $GITHUB_ENV
env:
OS_PACKAGES: "libjpeg-turbo-devel lcms2-devel"

- uses: actions/cache@v4
with:
path: ${{ env.BUILD_DIR }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels-pillow_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
env:
CIBW_ARCHS: "x86_64"
CIBW_ENVIRONMENT_MACOS: PH_FULL_ACTION=1 TEST_DECODE_THREADS=0
MACOSX_DEPLOYMENT_TARGET: "11.0"
MACOSX_DEPLOYMENT_TARGET: "12.0"

- name: Check built wheels
run: |
Expand Down
4 changes: 2 additions & 2 deletions ci/cirrus_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ wheel_macos_arm_task:
env:
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
CIBW_ARCHS: arm64
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=12.0 PH_FULL_ACTION=1'
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=14.0 PH_FULL_ACTION=1'

install_pre_requirements_script:
- brew update || true
Expand All @@ -32,7 +32,7 @@ wheel_pi_heif_macos_arm_task:
env:
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
CIBW_ARCHS: arm64
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=12.0 PH_LIGHT_ACTION=1'
CIBW_ENVIRONMENT: 'MACOSX_DEPLOYMENT_TARGET=14.0 PH_LIGHT_ACTION=1'

install_pre_requirements_script:
- brew update || true
Expand Down
4 changes: 2 additions & 2 deletions pi-heif/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ if im.info["depth_images"]:
| PyPy 3.9 v7.3 |||| N/A ||
| PyPy 3.10 v7.3 |||| N/A ||

&ast; **i686**, **x86_64**, **aarch64** wheels.
&ast; **x86_64**, **aarch64** wheels.

`ARMv7l`: wheels are present for Debian 11+(Ubuntu 20.04+) and Alpine 3.16/3.17/3.18
`ARMv7l`: wheels are present for Debian 11+(Ubuntu 20.04+) and Alpine 3.16+
2 changes: 1 addition & 1 deletion pillow_heif/as_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def getxmp(self) -> dict:
if self.info.get("xmp", None):
xmp_data = self.info["xmp"].rsplit(b"\x00", 1)
if xmp_data[0]:
return self._getxmp(xmp_data[0])
return self._getxmp(xmp_data[0]) # pylint: disable=no-member
return {}

def seek(self, frame):
Expand Down

0 comments on commit 397a443

Please sign in to comment.