From d92563ff80ccf6283868367ad52dce566e6b2d90 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:50:10 +0300 Subject: [PATCH] fixed CI due to changes in `x265` MSYS2 repo Signed-off-by: Alexander Piskun --- .github/workflows/analysis-coverage.yml | 2 +- .github/workflows/test-src-build-windows.yml | 3 ++- .github/workflows/wheels-pillow_heif.yml | 1 + pillow_heif/_version.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analysis-coverage.yml b/.github/workflows/analysis-coverage.yml index 36577c2d..f3ff2ba3 100644 --- a/.github/workflows/analysis-coverage.yml +++ b/.github/workflows/analysis-coverage.yml @@ -231,7 +231,7 @@ jobs: Get-ChildItem -Path $Env:MSYS2_PREFIX/bin -Force | Format-List cp ${{ env.MSYS2_PREFIX }}/bin/libheif.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libde265-0.dll $site_packages/ - cp ${{ env.MSYS2_PREFIX }}/bin/libx265.dll $site_packages/ + cp ${{ env.MSYS2_PREFIX }}/bin/libx265*.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libaom.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libwinpthread-1.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libgcc_s_seh-1.dll $site_packages/ diff --git a/.github/workflows/test-src-build-windows.yml b/.github/workflows/test-src-build-windows.yml index 33972501..eda68adc 100644 --- a/.github/workflows/test-src-build-windows.yml +++ b/.github/workflows/test-src-build-windows.yml @@ -63,9 +63,10 @@ jobs: - name: Copy DLLs from MSYS2 run: | $site_packages=(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])') + Get-ChildItem -Path $Env:MSYS2_PREFIX/bin -Force | Format-List cp ${{ env.MSYS2_PREFIX }}/bin/libheif.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libde265-0.dll $site_packages/ - cp ${{ env.MSYS2_PREFIX }}/bin/libx265.dll $site_packages/ + cp ${{ env.MSYS2_PREFIX }}/bin/libx265*.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libaom.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libwinpthread-1.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libgcc_s_seh-1.dll $site_packages/ diff --git a/.github/workflows/wheels-pillow_heif.yml b/.github/workflows/wheels-pillow_heif.yml index 1e955fc4..21351cbf 100644 --- a/.github/workflows/wheels-pillow_heif.yml +++ b/.github/workflows/wheels-pillow_heif.yml @@ -58,6 +58,7 @@ jobs: - name: Remove DLL trailing data run: | + Get-ChildItem -Path $Env:MSYS2_PREFIX/bin -Force | Format-List ${{ env.MSYS2_PREFIX }}/bin/strip -s -v ${{ env.MSYS2_PREFIX }}/bin/libheif.dll ${{ env.MSYS2_PREFIX }}/bin/strip -s -v ${{ env.MSYS2_PREFIX }}/bin/libde265-0.dll ${{ env.MSYS2_PREFIX }}/bin/strip -s -v ${{ env.MSYS2_PREFIX }}/bin/libx265.dll diff --git a/pillow_heif/_version.py b/pillow_heif/_version.py index dd552b36..026cacbc 100644 --- a/pillow_heif/_version.py +++ b/pillow_heif/_version.py @@ -1,3 +1,3 @@ """Version of pillow_heif/pi_heif.""" -__version__ = "0.16.0" +__version__ = "0.17.0.dev0"