Page MenuHomePhabricator

Appveyor fails installing Python 3.5.0
Closed, ResolvedPublic

Description

Python 3.5.0 is not preinstalled at Appveyor. In that case it tries to download that release but setting up virtual environment always fails

You are using pip version 7.1.2, however version 20.2.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
virtualenv env
AttributeError: module 'os' has no attribute 'PathLike'
Command exited with code 1
codecov
'codecov' is not recognized as an internal or external command,
operable program or batch file.
Command exited with code 1

See https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/builds/36051676/job/pft0krhxs5hkf7yh for example

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as Medium priority.Nov 1 2020, 2:31 PM

Change 639915 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Use venv instead of virtualenv

https://gerrit.wikimedia.org/r/639915

Change 639915 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Use venv instead of virtualenv

https://gerrit.wikimedia.org/r/639915

Change 639916 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Fix venv call

https://gerrit.wikimedia.org/r/639916

Change 639916 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Fix venv call

https://gerrit.wikimedia.org/r/639916

Xqt claimed this task.