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
51 packages displayed out of 51 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
any Extra alacarte 1:3.44.2-1 heftig Complete bpiotrowski
any Community ansible 7.4.0-1 svenstaro, Antiz Complete bpiotrowski
x86_64 Extra aubio dvzrv Complete schiv
x86_64 Extra avahi 0.8+22+gfd482a7-3 heftig Complete bisson
any Extra deluge 1:2.1.1-3 heftig Complete heftig
x86_64 Community flumotion Complete spupykin
any Community freevo Complete ronald
any Extra gajim anthraxx Complete eric
any Extra getmail Complete andyrtr
any Community gnome-schedule Complete bpiotrowski
x86_64 Extra gobject-introspection 1.76.1-1 heftig Complete bpiotrowski
x86_64 Extra libkate 0.4.1-9 dvzrv Complete bpiotrowski
x86_64 Extra libsmbios 2.4.3-5 Complete bpiotrowski
x86_64 Community mayavi Complete aginiewicz
x86_64 Extra mercurial 6.4-1 Complete bpiotrowski
any Extra mutagen Complete eric
x86_64 Extra nmap 7.93-1 anthraxx Complete bisson
any Extra papyon Complete bpiotrowski
x86_64 Community pluma 1.26.0-2 alex19EP Complete flexiondotorg
any Community pychecker Complete spupykin
x86_64 Extra pygtk Complete felixonmars
x86_64 Community pypy 7.3.11-1 svenstaro Complete svenstaro
x86_64 Community pypy3 7.3.11-3 svenstaro Complete svenstaro
x86_64 Extra python2 Complete felixonmars
x86_64 Community python2-bsddb bgyorgy Complete spupykin
x86_64 Community python2-cx_freeze Complete arodseth
any Extra python2-django jelle Complete dan
x86_64 Community python2-fonttools Complete aginiewicz
x86_64 Extra python2-gobject heftig Complete bpiotrowski
x86_64 Extra python2-gobject2 Complete heftig
any Community python2-google-api-python-client Complete aginiewicz
any Community python2-mpdclient2 Complete arodseth
x86_64 Community python2-numexpr Archange Complete aginiewicz
any Community python2-openpyxl1 Complete aginiewicz
x86_64 Community python2-pandas Archange, Foxboron Complete aginiewicz
x86_64 Community python2-pillow Archange, grawlinson Complete kkeen
any Extra python2-pip dvzrv Complete bpiotrowski
x86_64 Extra python2-pygame Foxboron Complete eric
x86_64 Community python2-scikit-learn Archange, alerque Complete aginiewicz
any Community python2-sqlobject Complete arodseth
x86_64 Community python2-statsmodels Archange Complete aginiewicz
x86_64 Extra python2-telepathy Complete bpiotrowski
any Extra python2-virtualenv felixonmars Complete bpiotrowski
any Community python2-webpy Complete arodseth
any Community python2-xlwt Complete aginiewicz
x86_64 Community sage-mathematics Complete arcanis
any Community scribes Complete jlichtblau
any Community singularity 1.00-5 svenstaro Complete svenstaro
any Community synce-kde Complete spupykin
any Extra translate-toolkit jlichtblau, lfleischer Complete bpiotrowski
x86_64 Community vtk 9.2.6-4 Archange Complete aginiewicz