Description of problem: The recent update [1] seems to have broken pylint (which didn't change in two months). Two days ago, python-dbusmock's pylint tests started to fail [2] with lots of messages like dbusmock/mockobject.py:47:7: E1101: Module 'os' has no 'path' member (no-member) dbusmock/mockobject.py:762:8: E1101: Module 'os' has no 'write' member (no-member) These are bogus - of course the standard library `os` module knows about these. Version-Release number of selected component (if applicable): python-astroid-2.11.6-1.fc37 python3-pylint-2.13.7-2.fc37.noarch How reproducible: Always Steps to Reproduce: 1. git clone https://github.com/martinpitt/python-dbusmock/ 2. cd python-dbusmock 3. python3 -m pylint dbusmock/*.py Additional info: [1] https://bodhi.fedoraproject.org/updates/FEDORA-2022-4f1ff0f531 [2] https://github.com/martinpitt/python-dbusmock/runs/7035892203?check_suite_focus=true
https://github.com/PyCQA/astroid/issues/1669
Fixed in 2.12.1 which I just built: https://koji.fedoraproject.org/koji/buildinfo?buildID=2000066 I'm also updating pylint, hold for that.