Hide Forgot
Created attachment 602481 [details] Update the magic number for Python 3.3 bytecode (and the comment) Description of problem: rpmlint is currently using magic number 3190 for Python 3.3 bytecode. However, that's now out-of-date (it was the magic number in 3.3a0), and it should be using 3230 (as of 3.3a4; given that 3.3 is at feature freeze and that I've done most of the mass rebuild for 3.3 in Fedora I'm very much hoping that this magic number will be the one for 3.3 final). Within Python-3.3.0b1.tar.xz, Python/import.c has this value for the known magic values: Python 3.3a4 3230 (revert changes to implicit __class__ closure) and within the latest hg it's moved to Lib/importlib/_bootstrap.py ; http://hg.python.org/cpython/file/80a1ae3a1b39/Lib/importlib/_bootstrap.py also contains: "Python 3.3a4 3230 (revert changes to implicit __class__ closure)" (at line 395) I'm attaching a patch. Version-Release number of selected component (if applicable): rpmlint-1.4-7.fc18.noarch How reproducible: 100% Steps to Reproduce: 1. yum install python3-six 2. rpmlint python3-six Actual results: python3-six.noarch: E: python-bytecode-wrong-magic-value /usr/lib/python3.3/site-packages/__pycache__/six.cpython-33.pyo expected 3190 (3.3), found 3230 (unknown) python3-six.noarch: E: python-bytecode-wrong-magic-value /usr/lib/python3.3/site-packages/__pycache__/six.cpython-33.pyc expected 3190 (3.3), found 3230 (unknown) Expected results: No warnings about python bytecode.
Already fixed upstream, will be in the next release: http://sourceforge.net/p/rpmlint/code/ci/671bf6d21c6e878e6ee551ee4e2871df8947ac52/
rpmlint-1.4-8.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/rpmlint-1.4-8.fc16
rpmlint-1.4-8.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/rpmlint-1.4-8.fc17
Package rpmlint-1.4-8.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpmlint-1.4-8.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11919/rpmlint-1.4-8.fc17 then log in and leave karma (feedback).
rpmlint-1.4-8.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.4-8.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.