Description of problem: python2 pylint throws "bad-python3-import" warning on `import stat` lines in source codes Version-Release number of selected component (if applicable): python2-pylint-1.7.2-1.fc26.noarch How reproducible: Always Steps to Reproduce: 1. Have a python source code with `import stat` line 2. Run pylint2 on it Actual results (example): ipaserver/install/dsinstance.py:30: [W1648(bad-python3-import), ] Module moved in Python 3) Expected results: No warning. Additional info: Fixed upstream: https://github.com/PyCQA/pylint/issues/1565
Added a few labels, this is blocking our CI in Fedora 26 and the fix is simple.
pylint-1.7.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d64f60d3bc
pylint-1.7.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2b69c91ef9
pylint-1.7.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
pylint-1.7.2-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d64f60d3bc
pylint-1.7.2-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
For the record, the issue hasn't been fixed in upstreams' 1.7 branch yet. I requested a backport to have the issue fixed in 1.7.5. https://github.com/PyCQA/pylint/issues/1708
This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Problem has been fixed in F27 and F28.