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
51 packages displayed out of 51 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 svenstaro Complete bpiotrowski
x86_64 Extra aubio schiv, dvzrv Complete schiv
x86_64 Extra avahi 0.7-4 heftig Complete bisson
any Extra deluge 1.3.15+14+gb8e5ebe82-1 heftig Complete heftig
x86_64 Community flumotion Complete spupykin
any Community freevo Complete ronald
any Extra gajim eric Complete eric
any Extra getmail 5.5-1 andyrtr Complete andyrtr
any Community gnome-schedule 2.3.0-1 bgyorgy Complete bpiotrowski
x86_64 Extra gobject-introspection 1.54.1-1 jgc Complete bpiotrowski
x86_64 Extra libkate 0.4.1-5 lfleischer Complete bpiotrowski
x86_64 Extra libsmbios 2.4.0-1 jgc Complete bpiotrowski
x86_64 Community mayavi aginiewicz Complete aginiewicz
x86_64 Extra mercurial 4.5.2-1 bpiotrowski Complete bpiotrowski
any Extra mutagen 1.40.0-1 eric Complete eric
x86_64 Extra nmap 7.60-1 bisson Complete bisson
any Extra papyon Complete bpiotrowski
x86_64 Community pluma 1.20.0-1 cesura Complete flexiondotorg
any Community pychecker 0.8.19-4 arcanis Complete spupykin
x86_64 Extra pygtk 2.24.0-8 jgc Complete fyan
x86_64 Community pypy 5.10.0-5 svenstaro Complete svenstaro
x86_64 Community pypy3 5.10.1-1 svenstaro Complete svenstaro
x86_64 Extra python2 2.7.14-2 angvp, fyan Complete fyan
x86_64 Community python2-bsddb 6.2.5-2 bgyorgy Complete spupykin
x86_64 Community python2-cx_freeze 5.1-1 fyan Complete arodseth
any Extra python2-django 1.11.11-1 dan, angvp, jelle Complete dan
x86_64 Community python2-fonttools Complete aginiewicz
x86_64 Extra python2-gobject 3.26.1-1 jgc Complete bpiotrowski
x86_64 Extra python2-gobject2 2.28.7-1 heftig Complete heftig
any Community python2-google-api-python-client Complete aginiewicz
any Community python2-mpdclient2 Complete arodseth
x86_64 Community python2-numexpr 2.6.4-1 aginiewicz Complete aginiewicz
any Community python2-openpyxl1 Complete aginiewicz
x86_64 Community python2-pandas 0.22.0-1 aginiewicz Complete aginiewicz
x86_64 Community python2-pillow 5.0.0-1 kkeen Complete kkeen
any Extra python2-pip 9.0.1-3 dan, fyan Complete bpiotrowski
x86_64 Extra python2-pygame 1.9.3-1 eric Complete eric
x86_64 Community python2-scikit-learn 0.19.1-1 aginiewicz Complete aginiewicz
any Community python2-sqlobject 2.1.2-1 Foxboron Complete arodseth
x86_64 Community python2-statsmodels 0.8.0-1 aginiewicz Complete aginiewicz
x86_64 Extra python2-telepathy bgyorgy Complete bpiotrowski
any Extra python2-virtualenv 15.1.0-3 dan, fyan Complete bpiotrowski
any Community python2-webpy 0.37-6 fyan Complete arodseth
any Community python2-xlwt Complete aginiewicz
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 Complete spupykin
any Extra translate-toolkit jlichtblau, lfleischer Complete bpiotrowski
x86_64 Community vtk 8.1.0-3 arcanis Complete aginiewicz