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 setup.py 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: https://bugs.archlinux.org/task/37006

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.

[1] http://pkgbuild.com/~kkeen/misc/

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
79 packages displayed out of 79 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
any Extra alacarte 3.11.91+12+g1bb265f-2 jgc Complete bpiotrowski
any Community ansible 2.1.1.0-1 svenstaro Complete bpiotrowski
i686 Extra aubio 0.4.2-2 schiv Complete schiv
x86_64 Extra aubio 0.4.2-2 schiv Complete schiv
i686 Extra avahi 0.6.32-2 heftig Complete bisson
x86_64 Extra avahi 0.6.32-2 heftig Complete bisson
any Extra deluge 1.3.13-1 heftig Complete heftig
i686 Community flumotion 0.10.1-4 spupykin Complete spupykin
x86_64 Community flumotion 0.10.1-4 spupykin Complete spupykin
any Community freevo 1.9.0-14 ronald Complete ronald
any Extra gajim 0.16.5-2 eric Complete eric
any Extra getmail 4.51.0-1 andyrtr Complete andyrtr
any Community gnome-schedule 2.3.0-1 bgyorgy Complete bpiotrowski
i686 Extra gobject-introspection 1.48.0-1 1.49.2+2+g083c152-1 jgc Complete bpiotrowski
x86_64 Extra gobject-introspection 1.48.0-1 1.49.2+2+g083c152-1 jgc Complete bpiotrowski
i686 Extra libkate 0.4.1-5 giovanni Complete bpiotrowski
x86_64 Extra libkate 0.4.1-5 giovanni Complete bpiotrowski
i686 Extra libsmbios 2.3.0-1 jgc Complete bpiotrowski
x86_64 Extra libsmbios 2.3.0-1 jgc Complete bpiotrowski
i686 Community mayavi Complete aginiewicz
x86_64 Community mayavi Complete aginiewicz
i686 Extra mercurial 3.9.1-1 giovanni Complete bpiotrowski
x86_64 Extra mercurial 3.9.1-1 giovanni Complete bpiotrowski
any Extra mutagen 1.34.1-1 eric Complete eric
i686 Extra nmap 7.12-2 bisson Complete bisson
x86_64 Extra nmap 7.12-2 bisson Complete bisson
any Extra papyon 0.5.6-3 Complete bpiotrowski
i686 Community pluma 1.16.0-1 Complete flexiondotorg
x86_64 Community pluma 1.16.0-1 Complete flexiondotorg
any Community pychecker 0.8.19-4 spupykin Complete spupykin
i686 Extra pygtk 2.24.0-6 jgc Complete fyan
x86_64 Extra pygtk 2.24.0-6 jgc Complete fyan
i686 Community pypy 5.4.1-1 svenstaro Complete svenstaro
x86_64 Community pypy 5.4.1-1 svenstaro Complete svenstaro
i686 Community pypy3 2.4.0-4 svenstaro Complete svenstaro
x86_64 Community pypy3 2.4.0-4 svenstaro Complete svenstaro
i686 Extra python2 2.7.12-1 angvp, fyan Complete fyan
x86_64 Extra python2 2.7.12-1 angvp, fyan Complete fyan
i686 Community python2-bsddb 6.1.1-1 spupykin Complete spupykin
x86_64 Community python2-bsddb 6.1.1-1 spupykin Complete spupykin
i686 Community python2-cx_freeze 4.3.4-3 arodseth Complete arodseth
x86_64 Community python2-cx_freeze 4.3.4-3 arodseth Complete arodseth
any Extra python2-django 1.9.9-1 dan, angvp Complete dan
i686 Community python2-fonttools Complete aginiewicz
x86_64 Community python2-fonttools Complete aginiewicz
i686 Extra python2-gobject 3.20.1-1 3.22.0-1 jgc Complete bpiotrowski
x86_64 Extra python2-gobject 3.20.1-1 3.22.0-1 jgc Complete bpiotrowski
i686 Extra python2-gobject2 2.28.6-12 heftig Complete heftig
x86_64 Extra python2-gobject2 2.28.6-12 heftig Complete heftig
any Community python2-google-api-python-client Complete aginiewicz
any Community python2-mpdclient2 Complete arodseth
i686 Community python2-numexpr 2.6.1-1 aginiewicz Complete aginiewicz
x86_64 Community python2-numexpr 2.6.1-1 aginiewicz Complete aginiewicz
any Community python2-openpyxl1 Complete aginiewicz
i686 Community python2-pandas 0.18.1-1 aginiewicz Complete aginiewicz
x86_64 Community python2-pandas 0.18.1-1 aginiewicz Complete aginiewicz
i686 Community python2-pillow 3.3.1-1 kkeen Complete kkeen
x86_64 Community python2-pillow 3.3.1-1 kkeen Complete kkeen
any Extra python2-pip 8.1.2-1 dan Complete bpiotrowski
i686 Extra python2-pygame 1.9.1-10 eric Complete eric
x86_64 Extra python2-pygame 1.9.1-10 eric Complete eric
i686 Community python2-scikit-learn 0.17.1-2 aginiewicz Complete aginiewicz
x86_64 Community python2-scikit-learn 0.17.1-2 aginiewicz Complete aginiewicz
any Community python2-sqlobject 2.1.2-1 arodseth Complete arodseth
i686 Community python2-statsmodels 0.6.1-3 aginiewicz Complete aginiewicz
x86_64 Community python2-statsmodels 0.6.1-3 aginiewicz Complete aginiewicz
i686 Extra python2-telepathy 0.15.19-5 Complete bpiotrowski
x86_64 Extra python2-telepathy 0.15.19-5 Complete bpiotrowski
any Extra python2-virtualenv 15.0.3-1 dan Complete bpiotrowski
any Community python2-webpy 0.37-6 arodseth Complete arodseth
any Community python2-xlwt Complete aginiewicz
i686 Community sage-mathematics Complete arcanis
x86_64 Community sage-mathematics Complete arcanis
any Community scribes 0.4.954-6 jlichtblau Complete jlichtblau
any Community singularity 0.30c-8 svenstaro Complete svenstaro
any Community synce-kde 0.16-4 spupykin Complete spupykin
any Extra translate-toolkit 1.13.0-2 lfleischer Complete bpiotrowski
i686 Community vtk 7.0.0-2 anatolik Complete aginiewicz
x86_64 Community vtk 7.0.0-2 anatolik Complete aginiewicz