Skip to content

Commit

Permalink
CI: pin last cibuildwheel version(2.17.0) (#226)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 authored Apr 1, 2024
1 parent eb19366 commit c216723
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-cache-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
platforms: arm64

- name: Install cibuildwheel & twine
run: python3 -m pip install twine cibuildwheel==2.16.2
run: python3 -m pip install twine cibuildwheel==2.17.0

- uses: actions/cache@v4
with:
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
platforms: arm64

- name: Install cibuildwheel & twine
run: python3 -m pip install twine cibuildwheel==2.16.2
run: python3 -m pip install twine cibuildwheel==2.17.0

- name: 32-bit musllinux preparations
if: matrix.cibw_buildlinux == 'musllinux' && matrix.cibw_arch == 'i686'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-src-build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install libheif from formula
run: |
brew uninstall --force --ignore-dependencies imagemagick libheif
Expand Down Expand Up @@ -119,6 +120,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Transform to Pi-Heif
run: |
cp -r -v ./pi-heif/* .
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheels-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_ARCHS: "AMD64"
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_ARCHS: "x86_64"
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:

- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_BUILD: ${{ format('cp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:

- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_BUILD: ${{ format('pp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheels-pillow_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_ARCHS: "AMD64"
Expand All @@ -95,7 +95,7 @@ jobs:
- uses: actions/checkout@v4
- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_ARCHS: "x86_64"
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_BUILD: ${{ format('cp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:

- name: Run cibuildwheel
run: |
python3 -m pip install cibuildwheel==2.16.2
python3 -m pip install cibuildwheel==2.17.0
python3 -m cibuildwheel
env:
CIBW_BUILD: ${{ format('pp3*-{0}_{1}', matrix.cibw_buildlinux, matrix.cibw_arch) }}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This release contains breaking change for monochrome images.
### Changed

- `convert_hdr_to_8bit` value now ignores `monochrome` images. #215
- `subsampling` parameter for encoding has higher priority then `chroma`. #213
- `subsampling` parameter for encoding has higher priority than `chroma`. #213
- Minimum required `libehif` version is `1.17.0`. #214
- Minimum supported Pillow version raised to `9.5.0`. #216

Expand Down
4 changes: 2 additions & 2 deletions ci/cirrus_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ wheel_macos_arm_task:
- brew install [email protected]
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python
install_cibuildwheel_script:
- python3 -m pip install cibuildwheel==2.16.2
- python3 -m pip install cibuildwheel==2.17.0
run_cibuildwheel_script:
- python3 -m cibuildwheel
wheels_artifacts:
Expand All @@ -40,7 +40,7 @@ wheel_pi_heif_macos_arm_task:
- brew install [email protected]
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python
install_cibuildwheel_script:
- python3 -m pip install cibuildwheel==2.16.2
- python3 -m pip install cibuildwheel==2.17.0
transform_to_pi_heif_script:
- cp -r -v ./pi-heif/* .
- python3 .github/transform_to-pi_heif.py
Expand Down
2 changes: 1 addition & 1 deletion libheif/linux_build_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from re import IGNORECASE, MULTILINE, match, search
from subprocess import DEVNULL, PIPE, STDOUT, CalledProcessError, TimeoutExpired, run

# 0
# 1
BUILD_DIR = environ.get("BUILD_DIR", "/tmp/ph_build_stuff")
INSTALL_DIR_LIBS = environ.get("INSTALL_DIR_LIBS", "/usr")
PH_LIGHT_VERSION = sys.maxsize <= 2**32 or getenv("PH_LIGHT_ACTION", "0") != "0"
Expand Down

0 comments on commit c216723

Please sign in to comment.