@@ -13,10 +13,10 @@ jobs:
13
13
runs-on : ${{ matrix.os }}-latest
14
14
15
15
strategy :
16
+ fail-fast : false
16
17
matrix :
17
18
python :
18
19
- ' 2.7'
19
- - ' 3.5'
20
20
- ' 3.9'
21
21
os :
22
22
- windows
@@ -33,17 +33,19 @@ jobs:
33
33
34
34
- name : ' Install bsddb3 wheel'
35
35
run : |
36
- $mirror = 'https://github.com/c-w/gutenberg/files/4944332 /bsddb3-wheels.zip'
37
- $pythonVersionMinor = python -c 'import sys; print(sys.version_info.minor)'
38
- $pythonVersionMajor = python -c 'import sys; print(sys.version_info.major)'
36
+ $mirror = 'https://github.com/c-w/gutenberg/files/7776074 /bsddb3-wheels.zip'
37
+ $pythonVersionMinor = [int]::Parse($( python -c 'import sys; print(sys.version_info.minor)'))
38
+ $pythonVersionMajor = [int]::Parse($( python -c 'import sys; print(sys.version_info.major)'))
39
39
if ($pythonVersionMajor -lt 3) { exit 0 }
40
- $bsddbVersion = if ($pythonVersionMinor -eq 5) { '6.2.6' } else { '6.2.7' }
40
+ $bsddbVersion = '6.2.9'
41
41
$abiTag = if ($pythonVersionMinor -ge 8) { "cp3$pythonVersionMinor" } else { "cp3${pythonVersionMinor}m" }
42
42
$wheel = "bsddb3-$bsddbVersion-cp3$pythonVersionMinor-$abiTag-win_amd64.whl"
43
43
$tmpDir = [System.IO.Path]::GetTempPath()
44
- Invoke-WebRequest -Uri "$mirror" -OutFile "$tmpDir\wheels.zip"
45
- Expand-Archive "$tmpDir\wheels.zip" "$tmpDir"
46
- pip install "$tmpDir\$wheel"
44
+ $zipPath = Join-Path "$tmpDir" "wheels.zip"
45
+ $wheelPath = Join-Path "$tmpDir" "$wheel"
46
+ Invoke-WebRequest -Uri "$mirror" -OutFile "$zipPath"
47
+ Expand-Archive "$zipPath" "$tmpDir"
48
+ pip install "$wheelPath"
47
49
shell : powershell
48
50
if : matrix.os == 'windows'
49
51
0 commit comments