Skip to content

Commit

Permalink
drop pyheif-latest, test libheif 1.16.2 & 1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Aug 19, 2024
1 parent e986252 commit 2f8cd54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
python: ['3.8', '3.11']
pillow: [prod, latest]
pyheif: [prod, latest]
libheif: ['1.16.2-6ee6762-3f6b709', '1.18.2-bf35e9e-47f4fc0']

steps:
- uses: actions/checkout@v2
Expand All @@ -20,13 +20,13 @@ jobs:
- name: Install system dependencies
run: |
BUCKET=https://uploadcare-packages.s3.amazonaws.com
curl -fLO $BUCKET/libheif/libheif-uc_1.18.2-bf35e9e-47f4fc0_$(dpkg --print-architecture).deb
curl -fLO $BUCKET/libheif/libheif-uc_${{ matrix.libheif }}_$(dpkg --print-architecture).deb
sudo dpkg -i *.deb && rm *.deb
sudo apt install --no-install-recommends -y libjpeg-dev
- name: Update pip
run: pip install pip==23.2.1
- name: Install dependencies
run: make install-pyheif-${{ matrix.pyheif }}-pillow-${{ matrix.pillow }}
run: make install-pillow-${{ matrix.pillow }}
- name: Check
run: make check
- name: Upload coverage to Codecov
Expand Down
19 changes: 4 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,13 @@ docker_build:
docker_shell: docker_build
docker run --platform=linux/amd64 --rm -it -v .:/src heif-image-plugin:latest

.PHONY: install-pyheif-latest-pillow-latest
install-pyheif-latest-pillow-latest:
pip install .[test]

.PHONY: install-pyheif-latest-pillow-prod
install-pyheif-latest-pillow-prod:
pip install .[test] \
./pip-stubs/pillow \
git+https://github.com/uploadcare/pillow-simd.git@simd/9.5-png-truncated#egg=pillow-simd


.PHONY: install-pyheif-prod-pillow-latest
install-pyheif-prod-pillow-latest:
.PHONY: install-pillow-latest
install-pillow-latest:
pip install .[test] \
git+https://github.com/uploadcare/[email protected]#egg=pyheif

.PHONY: install-pyheif-prod-pillow-prod
install-pyheif-prod-pillow-prod:
.PHONY: install-pillow-prod
install-pillow-prod:
pip install .[test] \
./pip-stubs/pillow \
git+https://github.com/uploadcare/pillow-simd.git@simd/9.5-png-truncated#egg=pillow-simd \
Expand Down

0 comments on commit 2f8cd54

Please sign in to comment.