Rebuild Todo List Fix "bad mtime" pyc/pyo files for python packages

2014-08-27 - Felix Yan

The list of packages are currently having pyc/pyo files with "bad mtime" (e.g. some/all .pyc/pyo files are older than their corresponding .py files), which was often caused by doing modification after installation.

The most common case is sed'ing shebangs after calling python2 install. Please fix this by moving the needed modifications into prepare() phase.

The problem is that the interpreter will refuse to load the files, which increases load time for each affected file in the package, and renders the shipped pyc/pyo files useless.

A bit more background:

A bug report of python2 was opened:

Many thanks to Kyle so we have the tool to generate the list [1]. An old list had been put on the topic of #archlinux-tu for more than 8 months.

I've generated the list again and am opening this TODO as that list is somewhat outdated as of now, and a TODO should help the progress further.


Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
23 packages displayed out of 23 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
any Extra alacarte 1:3.52.0-2 heftig Complete bpiotrowski
x86_64 Extra aubio dvzrv Complete schiv
x86_64 Extra avahi 1:0.8+r194+g3f79789-2 heftig Complete bisson
any Extra deluge 1:2.1.1-6 heftig Complete heftig
any Extra gajim anthraxx, Antiz Complete eric
any Extra getmail Complete andyrtr
x86_64 Extra gobject-introspection 1.80.1-3 heftig, fabiscafe Complete bpiotrowski
x86_64 Extra libkate 0.4.1-9 dvzrv Complete bpiotrowski
x86_64 Extra libsmbios 2.4.3-7 grawlinson Complete bpiotrowski
x86_64 Extra mercurial 6.7.4-1 alerque Complete bpiotrowski
any Extra mutagen Complete eric
x86_64 Extra nmap 7.95-1 anthraxx Complete bisson
any Extra papyon Complete bpiotrowski
x86_64 Extra pygtk Complete felixonmars
x86_64 Extra python2 Complete felixonmars
any Extra python2-django jelle Complete dan
x86_64 Extra python2-gobject heftig, fabiscafe Complete bpiotrowski
x86_64 Extra python2-gobject2 Complete heftig
any Extra python2-pip dvzrv Complete bpiotrowski
x86_64 Extra python2-pygame Foxboron Complete eric
x86_64 Extra python2-telepathy Complete bpiotrowski
any Extra python2-virtualenv grawlinson Complete bpiotrowski
any Extra translate-toolkit jlichtblau Complete bpiotrowski