Page MenuHomePhabricator

[upstream] package flake8 for jenkins slaves
Closed, DeclinedPublic

Description

To replace the pyflakes/pep8 jobs, we would need the flakes8 package installed on Jenkins slaves. It needs to be imported from the Debian repository.


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz53355

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:50 AM
bzimport set Reference to bz53355.

sync request from Debian unstable to Ubuntu has been send upstream with https://bugs.launchpad.net/bugs/1218444

Reply from upstream:

python-flake8 is not ready for inclusion in Debian or Ubuntu since it
depends on python3-pyflakes which doesn't exist. Perhaps it will work
if that dependency is changed to pyflakes.

The Debian package page at http://packages.qa.debian.org/p/python-flake8.html list one bug for python3-flake8:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719231
"python3-flake8: Unmet dependency on python3-pep8"

Debian bug should be fixed now:

python-flake8 (2.0-2) unstable; urgency=low

  • Team upload.
  • Add additional build-dependencies, such that dh_python2|3 can correctly resolve python modules -> debian package name dependencies. (Closes: #725236)
  • Dmitrijs Ledkovs <dmitrij.ledkov ubuntu.com> Thu, 03 Oct 2013 09:09:42 +0100

Updated Ubuntu bug https://bugs.launchpad.net/ubuntu/+bug/1218444

Requires python3-pep8 which is provided in pep8 1.4.6-1.1. Filled RT #6420 to get that new version of pep8 added to apt.wikimedia.org

Wontfix, we are now using tox / venv / pip in labs instance.