Tgr created this task. Tgr added a subscriber: Tgr. Tgr added projects: MediaWiki-Vagrant, Pywikibot-General. Herald added subscribers: pywikibot-bugs-list, StudiesWorld, Aklapper.
TASK DESCRIPTION Pywikibot's requirements file uses version markers, which are introduced by pip 6, but trusty comes with pip 1.5.4. (The difference is not as great as it sounds, there is a jump from 1.5.6 to 6.0.) Most things in the Wikimedia world use trusty[citation needed] so this makes using Pywikibot more complex than it has to be. Specifically, MediaWiki-Vagrant is built on trusty. Possible solutions: * Have some kind of stripped-down version of the requirements.txt file for trusty. (The python version is known so no need for conditionals.) * Update pip on vagrant. This can be done by running `pip install --upgrade --ignore-installed pip` and then making sure that `/usr/local/bin/pip` and not `/usr/bin/pip` is used (this is the case from a vagrant bash shell but not by default from puppet exec rules). * Use a virtualenv on vagrant. Somewhat defeats the point of providing a convenient pywikibot installation method though. * Update pip in Wikimedia's custom apt repo. Thos would affect both vagrant and labs/production boxes. TASK DETAIL https://phabricator.wikimedia.org/T121326 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tgr Cc: Aklapper, StudiesWorld, pywikibot-bugs-list, Tgr, mobrovac, jeremyb, jayvdb _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
