From fa196cea00e6f5bc233509cbe08f3ca2264831c1 Mon Sep 17 00:00:00 2001 From: Cyprian Vero Date: Sat, 2 Aug 2025 12:59:27 +0200 Subject: [PATCH 1/3] Update LibRaw to 0.21.4 - Updated LibRaw submodule from 0.21.3 to 0.21.4 - Bump rawpy version to 0.25.1 - This includes bug fixes and improvements from LibRaw 0.21.4 --- external/LibRaw | 2 +- rawpy/_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/LibRaw b/external/LibRaw index 261c18c..9646d77 160000 --- a/external/LibRaw +++ b/external/LibRaw @@ -1 +1 @@ -Subproject commit 261c18ca0f1f9b83a53947b77751050d90d18e67 +Subproject commit 9646d776c7c61976080a8f2be67928df0750493e diff --git a/rawpy/_version.py b/rawpy/_version.py index 6fea77c..71290cd 100644 --- a/rawpy/_version.py +++ b/rawpy/_version.py @@ -1 +1 @@ -__version__ = "0.25.0" +__version__ = "0.25.1" From f5619590f8fa24ceef0e91238af253b3332dd0fb Mon Sep 17 00:00:00 2001 From: Cyprian Vero Date: Sat, 2 Aug 2025 15:24:17 +0200 Subject: [PATCH 2/3] Fix CI: Update Windows runner from windows-2019 to windows-2022 Windows Server 2019 has been retired and removed as of 2025-06-30. This change updates all Windows CI jobs to use windows-2022 runners to fix the failing CI builds. --- .github/workflows/ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d25ef4..5e6d664 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,27 +161,27 @@ jobs: python-version: '3.13' numpy-version: '2.1.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.9' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.10' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.11' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.12' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.13' @@ -391,32 +391,32 @@ jobs: python-version: '3.13' numpy-version: '2.1.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.9' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.10' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.11' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.12' numpy-version: '2.0.*' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.12' numpy-version: '1.26.4' - - os-image: windows-2019 + - os-image: windows-2022 os-name: windows python-arch: 'x86_64' python-version: '3.13' From 6ca1f50d6b7d02cb8b4db91c4ebd5e25db4f868b Mon Sep 17 00:00:00 2001 From: Cyprian Vero Date: Sat, 2 Aug 2025 20:47:42 +0200 Subject: [PATCH 3/3] Fix Windows build: Update Visual Studio detection for new installation paths Visual Studio on Windows Server 2022 is installed in 'C:\Program Files\Microsoft Visual Studio' instead of 'C:\Program Files (x86)\Microsoft Visual Studio'. Updated the PowerShell script to check both locations to ensure compatibility with all Windows runner versions. --- .github/scripts/build-windows.ps1 | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/scripts/build-windows.ps1 b/.github/scripts/build-windows.ps1 index 102c718..77268c7 100644 --- a/.github/scripts/build-windows.ps1 +++ b/.github/scripts/build-windows.ps1 @@ -67,7 +67,10 @@ function Initialize-VS { # https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line # https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017 - $VS_ROOT = "C:\Program Files (x86)\Microsoft Visual Studio" + $VS_ROOTS = @( + "C:\Program Files\Microsoft Visual Studio", + "C:\Program Files (x86)\Microsoft Visual Studio" + ) $VS_VERSIONS = @("2017", "2019", "2022") $VS_EDITIONS = @("Enterprise", "Professional", "Community") $VS_INIT_CMD_SUFFIX = "Common7\Tools\vsdevcmd.bat" @@ -76,12 +79,14 @@ function Initialize-VS { $VS_INIT_ARGS = "-arch=$VS_ARCH -no_logo" $found = $false - :outer foreach ($version in $VS_VERSIONS) { - foreach ($edition in $VS_EDITIONS) { - $VS_INIT_CMD = "$VS_ROOT\$version\$edition\$VS_INIT_CMD_SUFFIX" - if (Test-Path $VS_INIT_CMD) { - $found = $true - break outer + :outer foreach ($VS_ROOT in $VS_ROOTS) { + foreach ($version in $VS_VERSIONS) { + foreach ($edition in $VS_EDITIONS) { + $VS_INIT_CMD = "$VS_ROOT\$version\$edition\$VS_INIT_CMD_SUFFIX" + if (Test-Path $VS_INIT_CMD) { + $found = $true + break outer + } } } }