Page MenuHomePhabricator

Python 2.6.6's pip on Appveyor cannot handle multiple requirements
Closed, ResolvedPublic

Description

https://ci.appveyor.com/project/jayvdb/pywikibot-core-hdpnk/build/1.0.1859/job/a6i6bx36qaw93fba#L73

pip install -r dev-requirements.txt
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
Double requirement given: httpbin!=0.6.0,!=0.6.1 (from -r dev-requirements.txt (line 12)) (already in httpbin<0.6.0 (from -r dev-requirements.txt (line 11)), name='httpbin')
Command exited with code 1

Event Timeline

The requirement for httpbin was added in 86b6276113f483dc6392217a0641fb944e5f9747. (T174886)

Change 377415 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] dev-requirements.txt: Avoide double-requirement

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

BTW, pip developers are working on a dependency resolver which should fix this issue for the future versions of pip.

Change 377415 merged by jenkins-bot:
[pywikibot/core@master] dev-requirements.txt: Avoide double-requirement

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