diff --git a/.github/workflows/analysis-coverage.yml b/.github/workflows/analysis-coverage.yml index aff1fa8e..5d3d34e2 100644 --- a/.github/workflows/analysis-coverage.yml +++ b/.github/workflows/analysis-coverage.yml @@ -147,10 +147,11 @@ jobs: - uses: msys2/setup-msys2@v2 with: location: C:/temp + update: true install: >- mingw-w64-x86_64-libheif -# In release or building from source we do not build `dav1d` or `rav1e` libraries. +# In release or building from source we do not build `dav1d`,`rav1e` and `libSvtAv1Enc` libraries. # Here we just test working with original package from MSYS. - name: Copy DLLs from MSYS2 run: | @@ -165,6 +166,7 @@ jobs: cp ${{ env.MSYS2_PREFIX }}/bin/libstdc++-6.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libdav1d.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/rav1e.dll $site_packages/ + cp ${{ env.MSYS2_PREFIX }}/bin/libSvtAv1Enc.dll $site_packages/ - name: Install from source run: | diff --git a/.github/workflows/publish-pypi-pi_heif.yml b/.github/workflows/publish-pypi-pi_heif.yml index 377ad18b..514fe262 100644 --- a/.github/workflows/publish-pypi-pi_heif.yml +++ b/.github/workflows/publish-pypi-pi_heif.yml @@ -33,7 +33,7 @@ jobs: run: | cd libheif/windows/mingw-w64-libheif makepkg-mingw --syncdeps --noconfirm -f - pacman -U mingw-w64-x86_64-libheif-1.13.0-2-any.pkg.tar.zst --noconfirm + pacman -U mingw-w64-x86_64-libheif-1.14.0-1-any.pkg.tar.zst --noconfirm - name: Remove DLL trailing data run: ${{ env.MSYS2_PREFIX }}/bin/strip -s ${{ env.MSYS2_PREFIX }}/bin/*.dll diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index ec3985f9..b8319eaa 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -87,7 +87,7 @@ jobs: run: | cd libheif/windows/mingw-w64-libheif makepkg-mingw --syncdeps --noconfirm -f - pacman -U mingw-w64-x86_64-libheif-1.13.0-2-any.pkg.tar.zst --noconfirm + pacman -U mingw-w64-x86_64-libheif-1.14.0-1-any.pkg.tar.zst --noconfirm - name: Remove DLL trailing data run: ${{ env.MSYS2_PREFIX }}/bin/strip -s ${{ env.MSYS2_PREFIX }}/bin/*.dll diff --git a/.github/workflows/test-src-build-windows.yml b/.github/workflows/test-src-build-windows.yml index ea7b3ae0..e1d132c4 100644 --- a/.github/workflows/test-src-build-windows.yml +++ b/.github/workflows/test-src-build-windows.yml @@ -48,7 +48,7 @@ jobs: run: | cd libheif/windows/mingw-w64-libheif makepkg-mingw --syncdeps --noconfirm -f - pacman -U mingw-w64-x86_64-libheif-1.13.0-2-any.pkg.tar.zst --noconfirm + pacman -U mingw-w64-x86_64-libheif-1.14.0-1-any.pkg.tar.zst --noconfirm - name: Installing Pillow-Heif run: python -m pip -v install ".[dev]" diff --git a/CHANGELOG.md b/CHANGELOG.md index 12f35ed4..0e67e151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ _# Changelog All notable changes to this project will be documented in this file. -## [0.8.0 - 2022-xx-xx] +## [0.8.0 - 2022-11-20] ### Added @@ -10,15 +10,16 @@ All notable changes to this project will be documented in this file. ### Changed +- `libheif` updated to `1.14.0` version +- Ability to pass `enc_params` for save as `List[Tuple[str, str]]` was removed, now it accepts only `Dict`. - Deprecated `options().ctx_in_memory` was removed(default behaviour do not change). - Deprecated `options().strict` was removed(default behaviour do not change). - Deprecated `check`, `open`, `read`, `check_heif` functions was removed. -- Ability to pass `enc_params` for save as `List[Tuple[str, str]]` was removed, now it accepts only `Dict`. - `scale` method marked as deprecated. ### Fixed -- Values in `enc_params` for `save` can now have `int` or `float` type and will be automatically converted to `str`. +- Values in `enc_params` for `save` can now be of type `int` or `float` and will be automatically converted to `str`. - Armv7: wheels supports Debian 10(was only Debian 11+\Ubuntu 20.04+ previously) with `manylinux_2_28_armv7l` tag. - Armv7: wheels sizes decreased significantly(almost in `3x`). diff --git a/libheif/linux/libheif/001-aom-remove-extend_padding_to_size.patch b/libheif/linux/libheif/001-aom-remove-extend_padding_to_size.patch deleted file mode 100644 index 249fe2b0..00000000 --- a/libheif/linux/libheif/001-aom-remove-extend_padding_to_size.patch +++ /dev/null @@ -1,40 +0,0 @@ -From a01baccaf40bafcabddba47846f5e914ca0724f6 Mon Sep 17 00:00:00 2001 -From: Dirk Farin -Date: Mon, 5 Sep 2022 14:38:53 +0200 -Subject: [PATCH] AOM encoder: remove unnecessary call to - extend_padding_to_size() (see also #365) - ---- - libheif/heif_encoder_aom.cc | 12 +----------- - 1 file changed, 1 insertion(+), 11 deletions(-) - -diff --git a/libheif/heif_encoder_aom.cc b/libheif/heif_encoder_aom.cc -index 2a035654..e5136c1e 100644 ---- a/libheif/heif_encoder_aom.cc -+++ b/libheif/heif_encoder_aom.cc -@@ -119,7 +119,7 @@ void encoder_struct_aom::add_custom_option(std::string name, std::string value) - } - #endif - --static const char* kError_out_of_memory = "Out of memory"; -+//static const char* kError_out_of_memory = "Out of memory"; - static const char* kError_encode_frame = "Failed to encode frame"; - - static const char* kParam_min_q = "min-q"; -@@ -727,16 +727,6 @@ struct heif_error aom_encode_image(void* encoder_raw, const struct heif_image* i - - struct heif_error err; - -- bool success = image->image->extend_padding_to_size(image->image->get_width(), -- image->image->get_height()); -- if (!success) { -- err = {heif_error_Memory_allocation_error, -- heif_suberror_Unspecified, -- kError_out_of_memory}; -- return err; -- } -- -- - const int source_width = heif_image_get_width(image, heif_channel_Y); - const int source_height = heif_image_get_height(image, heif_channel_Y); - diff --git a/libheif/linux/libheif/001-void-unused-variable.patch b/libheif/linux/libheif/001-void-unused-variable.patch new file mode 100644 index 00000000..724c1a03 --- /dev/null +++ b/libheif/linux/libheif/001-void-unused-variable.patch @@ -0,0 +1,12 @@ +diff --git a/libheif/plugins/heif_encoder_svt.cc b/libheif/plugins/heif_encoder_svt.cc +index 586c8b0b3..6d0c8ae15 100644 +--- a/libheif/plugins/heif_encoder_svt.cc ++++ b/libheif/plugins/heif_encoder_svt.cc +@@ -97,6 +97,7 @@ static const char* svt_plugin_name() + int int_log2(int pow2_value) + { + int input_value = pow2_value; ++ (void)input_value; + + int v = 0; + while (pow2_value > 1) { diff --git a/libheif/linux/libheif/002-fix-dynamic-plugins.patch b/libheif/linux/libheif/002-fix-dynamic-plugins.patch new file mode 100644 index 00000000..483cdf01 --- /dev/null +++ b/libheif/linux/libheif/002-fix-dynamic-plugins.patch @@ -0,0 +1,55 @@ +diff --git a/libheif/CMakeLists.txt b/libheif/CMakeLists.txt +index db9eac7fe..5330b4fe1 100644 +--- a/libheif/CMakeLists.txt ++++ b/libheif/CMakeLists.txt +@@ -62,13 +62,17 @@ target_compile_definitions(heif + LIBHEIF_EXPORTS + HAVE_VISIBILITY) + +-add_subdirectory(plugins) +- + if (ENABLE_PLUGIN_LOADING AND UNIX) ++ set(PLUGIN_LOADING_SUPPORTED_AND_ENABLED TRUE) ++endif() ++ ++if (PLUGIN_LOADING_SUPPORTED_AND_ENABLED) + target_compile_definitions(heif PRIVATE ENABLE_PLUGIN_LOADING=1) + target_link_libraries(heif PRIVATE dl) + endif() + ++add_subdirectory(plugins) ++ + if (WITH_DEFLATE_HEADER_COMPRESSION) + find_package(ZLIB REQUIRED) + if (ZLIB_FOUND) +diff --git a/libheif/plugins/CMakeLists.txt b/libheif/plugins/CMakeLists.txt +index f25effc76..941a4889c 100644 +--- a/libheif/plugins/CMakeLists.txt ++++ b/libheif/plugins/CMakeLists.txt +@@ -5,7 +5,8 @@ macro(plugin_compilation name varName optionName defineName) + set(${varName}_LINKDIR "-L${${varName}_LIBRARY_DIRS}") + endif () + +- if (WITH_${optionName}_PLUGIN) ++ if (PLUGIN_LOADING_SUPPORTED_AND_ENABLED AND WITH_${optionName}_PLUGIN) ++ message("Compiling '" ${name} "' as dynamic plugin") + add_library(heif-${name} + MODULE ${${optionName}_sources} ${${optionName}_extra_plugin_sources} + ../heif_plugin.cc +@@ -26,6 +27,7 @@ macro(plugin_compilation name varName optionName defineName) + LIBRARY DESTINATION ${PLUGIN_DIRECTORY} + ) + else () ++ message("Compiling '" ${name} "' as built-in backend") + target_sources(heif PRIVATE ${${optionName}_sources}) + target_compile_definitions(heif PRIVATE HAVE_${defineName}=1) + target_include_directories(heif PRIVATE ${${varName}_INCLUDE_DIR}) +@@ -34,6 +36,8 @@ macro(plugin_compilation name varName optionName defineName) + + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${${varName}_CFLAGS}") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${varName}_CFLAGS}") ++ else() ++ message("Not compiling '" ${name} "' backend") + endif () + endmacro() + diff --git a/libheif/linux_build_libs.py b/libheif/linux_build_libs.py index fa63f411..ca358224 100644 --- a/libheif/linux_build_libs.py +++ b/libheif/linux_build_libs.py @@ -69,7 +69,10 @@ def build_lib_linux(url: str, name: str, musl: bool = False): # run(f"patch -p 1 -i {patch_path}".split(), check=True) elif name == "libheif": chdir(_lib_path) - for patch in ("libheif/001-aom-remove-extend_padding_to_size.patch",): + for patch in ( + "libheif/001-void-unused-variable.patch", + "libheif/002-fix-dynamic-plugins.patch", + ): patch_path = path.join(_linux_dir, patch) run(f"patch -p 1 -i {patch_path}".split(), check=True) chdir(_build_path) @@ -101,7 +104,10 @@ def build_lib_linux(url: str, name: str, musl: bool = False): cmake_args = f"-DCMAKE_INSTALL_PREFIX={INSTALL_DIR_LIBS} ..".split() cmake_args += ["-DCMAKE_BUILD_TYPE=Release"] if name == "libheif": - cmake_args += "-DWITH_EXAMPLES=OFF -DWITH_RAV1E=OFF -DWITH_DAV1D=OFF".split() + cmake_args += ( + "-DWITH_EXAMPLES=OFF -DWITH_RAV1E=OFF -DWITH_DAV1D=OFF -DWITH_SvtEnc=OFF" + " -DENABLE_PLUGIN_LOADING=OFF".split() + ) _hide_build_process = False if musl: cmake_args += [f"-DCMAKE_INSTALL_LIBDIR={INSTALL_DIR_LIBS}/lib"] @@ -150,7 +156,7 @@ def build_libs() -> str: else: print("libde265 already installed.") build_lib_linux( - "https://github.com/strukturag/libheif/releases/download/v1.13.0/libheif-1.13.0.tar.gz", + "https://github.com/strukturag/libheif/releases/download/v1.14.0/libheif-1.14.0.tar.gz", "libheif", _is_musllinux, ) diff --git a/libheif/macos/libheif.rb b/libheif/macos/libheif.rb index b53b53e4..b375cd7b 100644 --- a/libheif/macos/libheif.rb +++ b/libheif/macos/libheif.rb @@ -3,8 +3,8 @@ class Libheif < Formula desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" homepage "https://www.libde265.org/" - url "https://github.com/strukturag/libheif/releases/download/v1.13.0/libheif-1.13.0.tar.gz" - sha256 "c20ae01bace39e89298f6352f1ff4a54b415b33b9743902da798e8a1e51d7ca1" + url "https://github.com/strukturag/libheif/releases/download/v1.14.0/libheif-1.14.0.tar.gz" + sha256 "9a2b969d827e162fa9eba582ebd0c9f6891f16e426ef608d089b1f24962295b5" license "LGPL-3.0-only" # Set current revision from what it was taken plus 10 revision 10 @@ -17,11 +17,6 @@ class Libheif < Formula depends_on "shared-mime-info" depends_on "x265" - patch do - url "https://github.com/strukturag/libheif/commit/a01baccaf40bafcabddba47846f5e914ca0724f6.diff" - sha256 "900c2f1323002af1c6969ae1f9b4a50fe685374e203d034842ee53cb428179ea" - end - def install system "./configure", *std_configure_args, "--disable-silent-rules" system "make", "install" diff --git a/libheif/windows/mingw-w64-libheif/PKGBUILD b/libheif/windows/mingw-w64-libheif/PKGBUILD index 74aefbac..c7feaa17 100644 --- a/libheif/windows/mingw-w64-libheif/PKGBUILD +++ b/libheif/windows/mingw-w64-libheif/PKGBUILD @@ -4,8 +4,8 @@ _realname=libheif pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=1.13.0 -pkgrel=2 +pkgver=1.14.0 +pkgrel=1 pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') @@ -21,22 +21,24 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-libde265" "${MINGW_PACKAGE_PREFIX}-libjpeg-turbo" "${MINGW_PACKAGE_PREFIX}-libpng" - "${MINGW_PACKAGE_PREFIX}-libwinpthread-git" "${MINGW_PACKAGE_PREFIX}-x265") source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz" "001-pkgconfig-match-autotools.patch"::"https://patch-diff.githubusercontent.com/raw/strukturag/libheif/pull/529.diff" "002-cmake-enable-gdk-pixbuf.patch"::"https://patch-diff.githubusercontent.com/raw/strukturag/libheif/pull/647.diff" - "003-aom-remove-extend_padding_to_size.patch"::"https://github.com/strukturag/libheif/commit/a01baccaf40bafcabddba47846f5e914ca0724f6.diff") -sha256sums=('c20ae01bace39e89298f6352f1ff4a54b415b33b9743902da798e8a1e51d7ca1' + "003-void-unused-variable.patch"::"https://github.com/strukturag/libheif/commit/2ba4e5045c8c7e8ba3ced925a4e1095f6d6f5a02.diff" + "004-fix-dynamic-plugins.patch"::"https://github.com/strukturag/libheif/commit/f1f7edad9a7e6e9c00f7439d4ac2b64478474bff.diff") +sha256sums=('9a2b969d827e162fa9eba582ebd0c9f6891f16e426ef608d089b1f24962295b5' '80d6acd6b2035572c1547673cf73a2c6a83cd42c0a475a1258551a2983b06d9f' '649e6d2635ee1c86a064ee35e9dc81713883ef7275aec439c3200488075260b9' - '900c2f1323002af1c6969ae1f9b4a50fe685374e203d034842ee53cb428179ea') + '29ce702764de316c9c42584fc76f12a207d14a9bfef5f054b7a3736b53f358ae' + '2a1252f5b6322c0a10150f4ef15db02d75c9970ba881ab454fba98812279da37') prepare() { cd "${srcdir}/${_realname}-${pkgver}" patch -Np1 -i "${srcdir}/001-pkgconfig-match-autotools.patch" patch -Np1 -i "${srcdir}/002-cmake-enable-gdk-pixbuf.patch" - patch -Np1 -i "${srcdir}/003-aom-remove-extend_padding_to_size.patch" + patch -Np1 -i "${srcdir}/003-void-unused-variable.patch" + patch -Np1 -i "${srcdir}/004-fix-dynamic-plugins.patch" } build() { @@ -59,6 +61,8 @@ build() { -DBUILD_SHARED_LIBS=ON \ -DWITH_RAV1E=OFF \ -DWITH_DAV1D=OFF \ + -DWITH_SvtEnc=OFF \ + -DENABLE_PLUGIN_LOADING=OFF \ -DX265_CFLAGS="-DX265_API_IMPORTS" \ ../${_realname}-${pkgver} @@ -73,7 +77,8 @@ build() { ../${_realname}-${pkgver}/configure \ --prefix=${MINGW_PREFIX} \ --build=${MINGW_CHOST} \ - --host=${MINGW_CHOST} + --host=${MINGW_CHOST} \ + --enable-svt=no } package() { diff --git a/pi-heif/libheif/macos/libheif.rb b/pi-heif/libheif/macos/libheif.rb index 98ad65f2..b0cf94fd 100644 --- a/pi-heif/libheif/macos/libheif.rb +++ b/pi-heif/libheif/macos/libheif.rb @@ -3,8 +3,8 @@ class Libheif < Formula desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" homepage "https://www.libde265.org/" - url "https://github.com/strukturag/libheif/releases/download/v1.13.0/libheif-1.13.0.tar.gz" - sha256 "c20ae01bace39e89298f6352f1ff4a54b415b33b9743902da798e8a1e51d7ca1" + url "https://github.com/strukturag/libheif/releases/download/v1.14.0/libheif-1.14.0.tar.gz" + sha256 "9a2b969d827e162fa9eba582ebd0c9f6891f16e426ef608d089b1f24962295b5" license "LGPL-3.0-only" # Set current revision from what it was taken plus 10 revision 10 @@ -15,12 +15,6 @@ class Libheif < Formula depends_on "libpng" depends_on "shared-mime-info" - # (001) AOM: remove extend_padding_to_size - patch do - url "https://github.com/strukturag/libheif/commit/a01baccaf40bafcabddba47846f5e914ca0724f6.diff" - sha256 "900c2f1323002af1c6969ae1f9b4a50fe685374e203d034842ee53cb428179ea" - end - def install system "./configure", *std_configure_args, "--disable-silent-rules" system "make", "install" diff --git a/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD b/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD index a593e6c3..42d8fe88 100644 --- a/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD +++ b/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD @@ -4,8 +4,8 @@ _realname=libheif pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=1.13.0 -pkgrel=2 +pkgver=1.14.0 +pkgrel=1 pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') @@ -19,22 +19,24 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-libde265" "${MINGW_PACKAGE_PREFIX}-libjpeg-turbo" - "${MINGW_PACKAGE_PREFIX}-libpng" - "${MINGW_PACKAGE_PREFIX}-libwinpthread-git") + "${MINGW_PACKAGE_PREFIX}-libpng") source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz" "001-pkgconfig-match-autotools.patch"::"https://patch-diff.githubusercontent.com/raw/strukturag/libheif/pull/529.diff" "002-cmake-enable-gdk-pixbuf.patch"::"https://patch-diff.githubusercontent.com/raw/strukturag/libheif/pull/647.diff" - "003-aom-remove-extend_padding_to_size.patch"::"https://github.com/strukturag/libheif/commit/a01baccaf40bafcabddba47846f5e914ca0724f6.diff") -sha256sums=('c20ae01bace39e89298f6352f1ff4a54b415b33b9743902da798e8a1e51d7ca1' + "003-void-unused-variable.patch"::"https://github.com/strukturag/libheif/commit/2ba4e5045c8c7e8ba3ced925a4e1095f6d6f5a02.diff" + "004-fix-dynamic-plugins.patch"::"https://github.com/strukturag/libheif/commit/f1f7edad9a7e6e9c00f7439d4ac2b64478474bff.diff") +sha256sums=('9a2b969d827e162fa9eba582ebd0c9f6891f16e426ef608d089b1f24962295b5' '80d6acd6b2035572c1547673cf73a2c6a83cd42c0a475a1258551a2983b06d9f' '649e6d2635ee1c86a064ee35e9dc81713883ef7275aec439c3200488075260b9' - '900c2f1323002af1c6969ae1f9b4a50fe685374e203d034842ee53cb428179ea') + '29ce702764de316c9c42584fc76f12a207d14a9bfef5f054b7a3736b53f358ae' + '2a1252f5b6322c0a10150f4ef15db02d75c9970ba881ab454fba98812279da37') prepare() { cd "${srcdir}/${_realname}-${pkgver}" patch -Np1 -i "${srcdir}/001-pkgconfig-match-autotools.patch" patch -Np1 -i "${srcdir}/002-cmake-enable-gdk-pixbuf.patch" - patch -Np1 -i "${srcdir}/003-aom-remove-extend_padding_to_size.patch" + patch -Np1 -i "${srcdir}/003-void-unused-variable.patch" + patch -Np1 -i "${srcdir}/004-fix-dynamic-plugins.patch" } build() { @@ -57,7 +59,10 @@ build() { -DBUILD_SHARED_LIBS=ON \ -DWITH_RAV1E=OFF \ -DWITH_DAV1D=OFF \ + -DWITH_AOM=OFF \ -DWITH_X265=OFF \ + -DWITH_SvtEnc=OFF \ + -DENABLE_PLUGIN_LOADING=OFF \ ../${_realname}-${pkgver} ${MINGW_PREFIX}/bin/cmake --build . @@ -71,7 +76,8 @@ build() { ../${_realname}-${pkgver}/configure \ --prefix=${MINGW_PREFIX} \ --build=${MINGW_CHOST} \ - --host=${MINGW_CHOST} + --host=${MINGW_CHOST} \ + --enable-svt=no } package() { diff --git a/tests/basic_test.py b/tests/basic_test.py index c9f79363..0676b4a9 100644 --- a/tests/basic_test.py +++ b/tests/basic_test.py @@ -13,7 +13,7 @@ def test_libheif_info(): info = pillow_heif.libheif_info() - assert info["version"]["libheif"] in ("1.12.0", "1.13.0") + assert info["version"]["libheif"] in ("1.12.0", "1.13.0", "1.14.0") assert info["decoders"]["HEVC"] @@ -108,7 +108,7 @@ def test_full_build(): assert info["decoders"]["AV1"] assert info["encoders"]["AV1"] assert info["encoders"]["HEVC"] - assert info["version"]["libheif"] == os.getenv("EXP_PH_LIBHEIF_VERSION", "1.13.0") + assert info["version"]["libheif"] == os.getenv("EXP_PH_LIBHEIF_VERSION", "1.14.0") @pytest.mark.skipif(not helpers.RELEASE_LIGHT_FLAG, reason="Only when building light release") @@ -117,4 +117,4 @@ def test_light_build(): assert not info["decoders"]["AV1"] assert not info["encoders"]["AV1"] assert not info["encoders"]["HEVC"] - assert info["version"]["libheif"] == os.getenv("EXP_PH_LIBHEIF_VERSION", "1.13.0") + assert info["version"]["libheif"] == os.getenv("EXP_PH_LIBHEIF_VERSION", "1.14.0")