Description of problem: In a couple of review recently that have included python3 libraries I've encountered false positives of python-bytecode-without-source. The PEP-3147 behaviour was added back in the F14 timeline but behaviour has changed in rawhide which is causing this. Version-Release number of selected component (if applicable): rpmlint-1.8-2.fc23.noarch How reproducible: Always Steps to Reproduce: 1. Use rpmlint (or carry out a fedora-review) in a python3 library in rawhide 2. See the false positive Actual results: $ rpmlint python3-bugzilla-1.2.2-2.fc24.noarch.rpm python3-bugzilla.noarch: W: python-bytecode-without-source /usr/lib/python3.5/site-packages/bugzilla/__pycache__/__init__.cpython-35.opt-1.pyc python3-bugzilla.noarch: W: python-bytecode-without-source /usr/lib/python3.5/site-packages/bugzilla/__pycache__/base.cpython-35.opt-1.pyc python3-bugzilla.noarch: W: python-bytecode-without-source /usr/lib/python3.5/site-packages/bugzilla/__pycache__/bug.cpython-35.opt-1.pyc python3-bugzilla.noarch: W: python-bytecode-without-source /usr/lib/python3.5/site-packages/bugzilla/__pycache__/apiversion.cpython-35.opt-1.pyc python3-bugzilla.noarch: W: python-bytecode-without-source /usr/lib/python3.5/site-packages/bugzilla/__pycache__/rhbugzilla.cpython-35.opt-1.pyc python3-bugzilla.noarch: W: python-bytecode-without-source /usr/lib/python3.5/site-packages/bugzilla/__pycache__/bugzilla4.cpython-35.opt-1.pyc python3-bugzilla.noarch: W: python-bytecode-without-source /usr/lib/python3.5/site-packages/bugzilla/__pycache__/bugzilla3.cpython-35.opt-1.pyc python3-bugzilla.noarch: E: unknown-key RSA#81b46521 (MD5 1 packages and 0 specfiles checked; 1 errors, 7 warnings. Expected results: $ rpmlint python3-bugzilla-1.2.2-1.fc23.noarch.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Additional info: rpmlint works fine against the python3 rpms in fc23 ... something in rawhide with it doesn't like - possibly changed behaviour from python34 to python35 ? Note that the fc24 with py35 stuff includes a opt-1 file in pycache that does not exist in fc23 with py34
Ah it appears to be this PEP that includes the optimization level in the cache object filename (opt-1): https://www.python.org/dev/peps/pep-0488/
Fixed upstream in https://github.com/rpm-software-management/rpmlint/commit/3b0286ba7f2192807b6d1eadf1fe7c46cc364854
rpmlint-1.8-4.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-b4da76610b
rpmlint-1.8-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-037f1f4db5
rpmlint-1.8-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update rpmlint' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-1153251876
rpmlint-1.8-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update rpmlint' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-037f1f4db5
rpmlint-1.8-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.8-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.