Skip to content

2.11.6 creates pylint regression #1669

Closed
@limburgher

Description

@limburgher

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions