Skip to content

Commit 9f2315b

Browse files
committed
Adding manual Python 3.8 installation to appveyor.yml and azure-pipelines.yml
1 parent ea6221c commit 9f2315b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ environment:
44
- PYTHON: "C:\\Python35\\python.exe"
55

66
build_script:
7+
- ps:
8+
curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1
9+
& { $env:PYTHON = 'C:\\Python38'; .\install_python.ps1 }
10+
& { $env:PYTHON = 'C:\\Python38-x64'; .\install_python.ps1 }
711
- "%PYTHON% -m pip install -r requirements-dev.txt"
812
# the '-u' flag is required so the output is in the correct order.
913
# See https://github.com/joerick/cibuildwheel/pull/24 for more info.

azure-pipelines.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ jobs:
2626
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x64}}
2727
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x86}}
2828
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
29-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x86}}
30-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x64}}
29+
#- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x86}}
30+
#- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x64}}
31+
- powershell: |
32+
curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1
33+
& { $env:PYTHON = 'C:\\Python38'; .\install_python.ps1; Copy-Item 'C:\\Python38' 'C:\\hostedtoolcache\\windows\\Python\\3.8.0\\x86' -Recurse }
34+
& { $env:PYTHON = 'C:\\Python38-x64'; .\install_python.ps1; Copy-Item 'C:\\Python38-x64' 'C:\\hostedtoolcache\\windows\\Python\\3.8.0\\x64' -Recurse }
3135
- script: choco install vcpython27 -f -y
3236
displayName: Install Visual C++ for Python 2.7
3337
- bash: |

0 commit comments

Comments
 (0)