Skip to content

Commit 4ed3417

Browse files
authored
Update LibRaw to 0.21.4 (#261)
1 parent d3e2587 commit 4ed3417

File tree

4 files changed

+25
-20
lines changed

4 files changed

+25
-20
lines changed

.github/scripts/build-windows.ps1

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ function Initialize-VS {
6767
# https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line
6868
# https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017
6969

70-
$VS_ROOT = "C:\Program Files (x86)\Microsoft Visual Studio"
70+
$VS_ROOTS = @(
71+
"C:\Program Files\Microsoft Visual Studio",
72+
"C:\Program Files (x86)\Microsoft Visual Studio"
73+
)
7174
$VS_VERSIONS = @("2017", "2019", "2022")
7275
$VS_EDITIONS = @("Enterprise", "Professional", "Community")
7376
$VS_INIT_CMD_SUFFIX = "Common7\Tools\vsdevcmd.bat"
@@ -76,12 +79,14 @@ function Initialize-VS {
7679
$VS_INIT_ARGS = "-arch=$VS_ARCH -no_logo"
7780

7881
$found = $false
79-
:outer foreach ($version in $VS_VERSIONS) {
80-
foreach ($edition in $VS_EDITIONS) {
81-
$VS_INIT_CMD = "$VS_ROOT\$version\$edition\$VS_INIT_CMD_SUFFIX"
82-
if (Test-Path $VS_INIT_CMD) {
83-
$found = $true
84-
break outer
82+
:outer foreach ($VS_ROOT in $VS_ROOTS) {
83+
foreach ($version in $VS_VERSIONS) {
84+
foreach ($edition in $VS_EDITIONS) {
85+
$VS_INIT_CMD = "$VS_ROOT\$version\$edition\$VS_INIT_CMD_SUFFIX"
86+
if (Test-Path $VS_INIT_CMD) {
87+
$found = $true
88+
break outer
89+
}
8590
}
8691
}
8792
}

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -161,27 +161,27 @@ jobs:
161161
python-version: '3.13'
162162
numpy-version: '2.1.*'
163163

164-
- os-image: windows-2019
164+
- os-image: windows-2022
165165
os-name: windows
166166
python-arch: 'x86_64'
167167
python-version: '3.9'
168168
numpy-version: '2.0.*'
169-
- os-image: windows-2019
169+
- os-image: windows-2022
170170
os-name: windows
171171
python-arch: 'x86_64'
172172
python-version: '3.10'
173173
numpy-version: '2.0.*'
174-
- os-image: windows-2019
174+
- os-image: windows-2022
175175
os-name: windows
176176
python-arch: 'x86_64'
177177
python-version: '3.11'
178178
numpy-version: '2.0.*'
179-
- os-image: windows-2019
179+
- os-image: windows-2022
180180
os-name: windows
181181
python-arch: 'x86_64'
182182
python-version: '3.12'
183183
numpy-version: '2.0.*'
184-
- os-image: windows-2019
184+
- os-image: windows-2022
185185
os-name: windows
186186
python-arch: 'x86_64'
187187
python-version: '3.13'
@@ -391,32 +391,32 @@ jobs:
391391
python-version: '3.13'
392392
numpy-version: '2.1.*'
393393

394-
- os-image: windows-2019
394+
- os-image: windows-2022
395395
os-name: windows
396396
python-arch: 'x86_64'
397397
python-version: '3.9'
398398
numpy-version: '2.0.*'
399-
- os-image: windows-2019
399+
- os-image: windows-2022
400400
os-name: windows
401401
python-arch: 'x86_64'
402402
python-version: '3.10'
403403
numpy-version: '2.0.*'
404-
- os-image: windows-2019
404+
- os-image: windows-2022
405405
os-name: windows
406406
python-arch: 'x86_64'
407407
python-version: '3.11'
408408
numpy-version: '2.0.*'
409-
- os-image: windows-2019
409+
- os-image: windows-2022
410410
os-name: windows
411411
python-arch: 'x86_64'
412412
python-version: '3.12'
413413
numpy-version: '2.0.*'
414-
- os-image: windows-2019
414+
- os-image: windows-2022
415415
os-name: windows
416416
python-arch: 'x86_64'
417417
python-version: '3.12'
418418
numpy-version: '1.26.4'
419-
- os-image: windows-2019
419+
- os-image: windows-2022
420420
os-name: windows
421421
python-arch: 'x86_64'
422422
python-version: '3.13'

rawpy/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.25.0"
1+
__version__ = "0.25.1"

0 commit comments

Comments
 (0)