Last modified: 2012-12-19 13:54:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45209, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43209 - backport pep8 from Ubuntu Raring to Precise
backport pep8 from Ubuntu Raring to Precise
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-17 20:35 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-12-19 13:54 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-12-17 20:35:35 UTC
Precise comes with version 0.6.1 of pep8 which does not support configuration using a .pep8 file.  That is really troublesome when we want the developers to manage their pep8 rules.

Pep8 changelog http://pypi.python.org/pypi/pep8

Ubuntu has a v1.3.3 under raring http://packages.ubuntu.com/search?keywords=pep8 The dependencies do not seems to be to be too much of a trouble for a backport to Precise.

Backport doc https://wikitech.wikimedia.org/view/Backport_packages
Comment 1 Antoine "hashar" Musso (WMF) 2012-12-19 13:25:52 UTC
Using the integration-composer instance, I have backported v1.3.3 of pep8 from Raring to Precise. The result is available on fenari in /home/hashar/pep8-backport

Now we need it uploaded to apt.wikimedia.org
Comment 2 Antoine "hashar" Musso (WMF) 2012-12-19 13:49:32 UTC
Faidon uploaded the package.  I have manually updated pep8 on gallium:

root@gallium:~# apt-get install pep8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgphoto2-l10n libao-common qdbus glib-networking-common linux-headers-3.2.0-32 libqt4-dbus libproxy1 libopenal-data bluez linux-headers-3.2.0-32-generic libqtcore4
  oss-compat libsane-common esound-common libqt4-xml gsettings-desktop-schemas glib-networking-services glib-networking
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  pep8
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 32.1 kB of archives.
After this operation, 26.6 kB of additional disk space will be used.
Get:1 http://apt.wikimedia.org/wikimedia/ precise-wikimedia/universe pep8 all 1.3.3-0ubuntu1~precise1 [32.1 kB]
Fetched 32.1 kB in 0s (385 kB/s)
(Reading database ... 156183 files and directories currently installed.)
Preparing to replace pep8 0.6.1-2ubuntu2 (using .../pep8_1.3.3-0ubuntu1~precise1_all.deb) ...
Unpacking replacement pep8 ...
Processing triggers for man-db ...
Setting up pep8 (1.3.3-0ubuntu1~precise1) ...

End result:

hashar@gallium:~$ pep8 --version
1.3.3
Comment 3 Antoine "hashar" Musso (WMF) 2012-12-19 13:54:14 UTC
pep8 validated to work in Jenkins job that is running for operations/puppet.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links