Inconsistent behavior with circular import on MacOS #9168
Labels
macOS
Needs investigation 🔬
A bug or crash where it's not immediately obvious what is happenning
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
Bug description
The issue appeared when the code allegedly had a circular dependency.
pylint
did not complained on a MacOS machine, but did complain on Linux. However, I was able to narrow it down to a file-system (???) issue by demonstrating an inconsistent behavior when running inside a container on a local folder versus a mounted folder (when the host is a MacOS).I added details and how-to reproduce here
TL;DR - to reproduce on MacOS run:
git clone git@github.com:guyarad/pylint-macos-issue.git cd pylint-macos-issue make bug_repro
Configuration
No response
Command used
pylint --recursive=y --disable=W,C0114,C0115,C0116,R0903 -s=n .
Pylint output
Inconsistent - on Linux:
But on a MacOS it was successful.
Expected behavior
Consistent behavior when running on a mounted folder and local folder (when all files are identical).
Pylint version
OS / Environment
Model Name: MacBook Pro
Model Identifier: Mac14,10
Chip: Apple M2 Pro
OS Version: Ventura 13.5
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: