Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52330 - [python-setuptools] missing compiled/optimized bytecode

Attached to Project: Arch Linux
Opened by Eli Schwartz (eschwartz) - Monday, 02 January 2017, 00:25 GMT
Last edited by Felix Yan (felixonmars) - Monday, 02 January 2017, 03:12 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Angel Velasquez (angvp)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When updating Python 3.6 + rebuild all the things, I was checking in /usr/lib/python3.5 for things that weren't rebuilt, and I happened to notice python-setuptools had left .pyc files behind.

Further investigation showed that python{,2}-setuptools does not seem to contain any bytecode, even though setup.py is told to create it... when I locally rebuilt the packages, they contained the bytecode, so this may be the result of bootstrapping the package from nothing.
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 02 January 2017, 03:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  1:33.0.0-1
Comment by Felix Yan (felixonmars) - Monday, 02 January 2017, 03:12 GMT
It turns out to be my exports in check() were affecting package() and stopped python from writting bytecode. Fixed in 1:33.0.0-1.

Loading...