jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/663019 )
Change subject: [tests] uninstall Python 3.5 first ...................................................................... [tests] uninstall Python 3.5 first No glue why 3.5.4 has to be uninstalled first but it seems to be necessary to install Python 3.5.0 https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/builds/37689998/job/p2gbfmx3lnvjn39d Bug: T273367 Change-Id: I82f8c4a2f448f86b48ccd9366b24552ab5e5bee9 --- M appveyor_install.ps1 1 file changed, 5 insertions(+), 2 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/appveyor_install.ps1 b/appveyor_install.ps1 index 8eea9af..c46d449 100644 --- a/appveyor_install.ps1 +++ b/appveyor_install.ps1 @@ -96,7 +96,8 @@ if ($installer_ext -eq '.msi') { Write-Host "MSI installer is not supported" } else { - InstallPythonEXE $installer_path $python_home $install_log + $uninstaller_path = DownloadPython 3.5.4 $platform_suffix + InstallPythonEXE $installer_path $python_home $install_log $uninstaller_path } if (Test-Path $python_home) { @@ -109,7 +110,9 @@ } -function InstallPythonEXE ($exepath, $python_home, $install_log) { +function InstallPythonEXE ($exepath, $python_home, $install_log, $unexepath) { + $uninstall_args = "/log C:\Python35-x64.log /quiet /uninstall InstallAllUsers=1 TargetDir=C:\Python35-x64\" + RunCommand $unexepath $uninstall_args $install_args = "/log $install_log /quiet InstallAllUsers=1 TargetDir=$python_home\" RunCommand $exepath $install_args } -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/663019 To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I82f8c4a2f448f86b48ccd9366b24552ab5e5bee9 Gerrit-Change-Number: 663019 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged
_______________________________________________ Pywikibot-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits
