mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Metaclass conflict check improvements

Open robsdedude opened this issue 1 year ago • 4 comments

This PR fixes some points of #14033:

  • Give metaclass errors to their own error code (I chose metaclass).
  • Document shortcomings of and workarounds for mypy's metaclass handling.

I didn't attempt to fix that mypy follows the logic for determining the metaclass as documented whereas it should follow what the interpreter is actually doing (https://github.com/python/mypy/issues/14033#issuecomment-1314025562). I think such a change is better kept as a separate PR, which is why I don't want to close the issue with this PR.

robsdedude avatar Aug 16 '24 12:08 robsdedude

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:31: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:75: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:70: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:74: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:78: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:82: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:86: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:90: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:98: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:130: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:134: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:138: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:142: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:147: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:151: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:155: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:159: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:163: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:169: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:31: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:75: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:70: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:74: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:78: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:82: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:86: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:90: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]

... (truncated 356 lines) ...

ibis (https://github.com/ibis-project/ibis)
- ibis/common/collections.py:280: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/collections.py:280: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/collections.py:305: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/collections.py:305: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: ibis.common.bases.AbstractMeta, abc.ABCMeta  [metaclass]
- ibis/common/tests/test_patterns.py:273: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:273: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/tests/test_patterns.py:486: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:486: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/tests/test_patterns.py:1211: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:1211: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: ibis.common.bases.AbstractMeta, abc.ABCMeta  [metaclass]

comtypes (https://github.com/enthought/comtypes)
- comtypes/typeinfo.py:194: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:194: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:289: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:289: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:406: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:406: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:450: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:450: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:455: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:455: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:459: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:459: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:470: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:470: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:1073: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:1073: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:1090: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:1090: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:10: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:10: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:38: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:38: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/automation.py:642: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/automation.py:642: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/automation.py:777: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/automation.py:777: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/unknwn.py:371: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:371: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - own metaclass comtypes._post_coinit.unknwn._compointer_meta is not a subclass of   [metaclass]
- comtypes/_post_coinit/unknwn.py:487: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:487: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - own metaclass comtypes._post_coinit.unknwn._cominterface_meta is not a subclass of _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/misc.py:47: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/misc.py:47: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/misc.py:62: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/misc.py:62: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:22: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:22: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:36: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:36: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:63: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:63: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:154: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:154: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:214: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:214: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/connectionpoints.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/connectionpoints.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/connectionpoints.py:25: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]

... (truncated 33 lines) ...

steam.py (https://github.com/Gobot1234/steam.py)
- steam/utils.py:432: error: Dynamic metaclass not supported for "StructIO"  [misc]
+ steam/utils.py:432: error: Dynamic metaclass not supported for "StructIO"  [metaclass]

github-actions[bot] avatar Aug 16 '24 13:08 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:31: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:75: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:70: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:74: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:78: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:82: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:86: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:90: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:98: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:130: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:134: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:138: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:142: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:147: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:151: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:155: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:159: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:163: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:169: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:31: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:75: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:70: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:74: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:78: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:82: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:86: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:90: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]

... (truncated 356 lines) ...

ibis (https://github.com/ibis-project/ibis)
- ibis/common/collections.py:280: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/collections.py:280: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/collections.py:305: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/collections.py:305: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: ibis.common.bases.AbstractMeta, abc.ABCMeta  [metaclass]
- ibis/common/tests/test_patterns.py:273: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:273: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/tests/test_patterns.py:486: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:486: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/tests/test_patterns.py:1211: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:1211: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: ibis.common.bases.AbstractMeta, abc.ABCMeta  [metaclass]

comtypes (https://github.com/enthought/comtypes)
- comtypes/typeinfo.py:194: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:194: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:289: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:289: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:406: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:406: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:450: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:450: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:455: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:455: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:459: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:459: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:470: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:470: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:1073: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:1073: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:1090: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:1090: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:10: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:10: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:38: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:38: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/automation.py:642: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/automation.py:642: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/automation.py:777: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/automation.py:777: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/unknwn.py:371: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:371: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - own metaclass comtypes._post_coinit.unknwn._compointer_meta is not a subclass of   [metaclass]
- comtypes/_post_coinit/unknwn.py:487: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:487: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - own metaclass comtypes._post_coinit.unknwn._cominterface_meta is not a subclass of _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/misc.py:47: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/misc.py:47: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/misc.py:62: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/misc.py:62: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:22: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:22: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:36: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:36: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:63: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:63: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:154: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:154: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:214: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:214: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/connectionpoints.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/connectionpoints.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/connectionpoints.py:25: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]

... (truncated 33 lines) ...

steam.py (https://github.com/Gobot1234/steam.py)
- steam/utils.py:432: error: Dynamic metaclass not supported for "StructIO"  [misc]
+ steam/utils.py:432: error: Dynamic metaclass not supported for "StructIO"  [metaclass]

github-actions[bot] avatar Aug 16 '24 14:08 github-actions[bot]

The tests passed locally. I'm not quite sure what's going on. I'll dig deeper when I'm back from vacation in about a week.

robsdedude avatar Aug 16 '24 16:08 robsdedude

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:31: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/versions/__init__.py:75: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:70: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:74: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:78: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:82: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:86: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:90: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:98: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:130: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:134: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:138: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:142: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:147: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:151: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:155: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:159: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:163: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:169: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:31: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/versions/__init__.py:75: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:70: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:74: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:78: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:82: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:86: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]
+ src/arti/types/__init__.py:90: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: arti.internal.models.ModelMeta, pydantic._internal._model_construction.ModelMetaclass  [metaclass]

... (truncated 356 lines) ...

ibis (https://github.com/ibis-project/ibis)
- ibis/common/collections.py:280: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/collections.py:280: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/collections.py:305: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/collections.py:305: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: ibis.common.bases.AbstractMeta, abc.ABCMeta  [metaclass]
- ibis/common/tests/test_patterns.py:273: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:273: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/tests/test_patterns.py:486: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:486: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: abc.ABCMeta, ibis.common.bases.AbstractMeta  [metaclass]
- ibis/common/tests/test_patterns.py:1211: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ ibis/common/tests/test_patterns.py:1211: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: ibis.common.bases.AbstractMeta, abc.ABCMeta  [metaclass]

comtypes (https://github.com/enthought/comtypes)
- comtypes/typeinfo.py:194: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:194: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:289: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:289: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:406: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:406: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:450: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:450: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:455: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:455: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:459: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:459: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:470: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:470: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:1073: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:1073: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/typeinfo.py:1090: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/typeinfo.py:1090: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:10: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:10: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/errorinfo.py:38: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/errorinfo.py:38: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/automation.py:642: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/automation.py:642: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/automation.py:777: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/automation.py:777: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/unknwn.py:371: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:371: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - own metaclass comtypes._post_coinit.unknwn._compointer_meta is not a subclass of   [metaclass]
- comtypes/_post_coinit/unknwn.py:487: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:487: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - own metaclass comtypes._post_coinit.unknwn._cominterface_meta is not a subclass of _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/misc.py:47: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/misc.py:47: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/_post_coinit/misc.py:62: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/misc.py:62: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:22: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:22: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:36: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:36: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:63: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:63: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:154: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:154: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/persist.py:214: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/persist.py:214: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/connectionpoints.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/connectionpoints.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - found metaclasses of bases: _ctypes._CDataMeta  [metaclass]
- comtypes/connectionpoints.py:25: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]

... (truncated 33 lines) ...

steam.py (https://github.com/Gobot1234/steam.py)
- steam/utils.py:432: error: Dynamic metaclass not supported for "StructIO"  [misc]
+ steam/utils.py:432: error: Dynamic metaclass not supported for "StructIO"  [metaclass]

github-actions[bot] avatar Aug 26 '24 13:08 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- tests/arti/internal/test_models.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]

comtypes (https://github.com/enthought/comtypes)
- comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - comtypes._post_coinit.unknwn._compointer_meta (meta of comtypes._post_coinit.unknwn._compointer_base) conflicting with _ctypes._PyCSimpleType (metaclass of _ctypes._SimpleCData)  [metaclass]

steam.py (https://github.com/Gobot1234/steam.py)
- steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [misc]
+ steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [metaclass]

github-actions[bot] avatar Jun 29 '25 22:06 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
- tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
+ tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]
- tests/arti/internal/test_models.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicting with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)  [metaclass]

comtypes (https://github.com/enthought/comtypes)
- comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - comtypes._post_coinit.unknwn._compointer_meta (meta of comtypes._post_coinit.unknwn._compointer_base) conflicting with _ctypes._PyCSimpleType (metaclass of _ctypes._SimpleCData)  [metaclass]

steam.py (https://github.com/Gobot1234/steam.py)
- steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [misc]
+ steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [metaclass]

github-actions[bot] avatar Jun 29 '25 23:06 github-actions[bot]

@hauntsaninja You offered to have a look, thanks again. The PR is ready for review.

robsdedude avatar Jun 30 '25 07:06 robsdedude

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/versions/__init__.py:17: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/statistics/__init__.py:8: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/annotations/__init__.py:8: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:26: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:44: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:48: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:61: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:347: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/thresholds/__init__.py:11: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/partitions/__init__.py:21: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/formats/__init__.py:11: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/__init__.py:24: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/__init__.py:45: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/__init__.py:65: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/artifacts/__init__.py:24: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/views/__init__.py:20: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/backends/__init__.py:133: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/producers/__init__.py:56: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/producers/__init__.py:464: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/graphs/__init__.py:94: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/graphs/__init__.py:294: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/executors/__init__.py:17: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/google/cloud/storage.py:18: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:13: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:17: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:43: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:54: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:84: note: arti.internal.models.ModelMeta (metaclass of arti.internal.models.Model) conflicts with pydantic._internal._model_construction.ModelMetaclass (metaclass of pydantic.main.BaseModel)
- tests/arti/internal/test_models.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]

... (truncated 1 lines) ...

comtypes (https://github.com/enthought/comtypes)
- comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ comtypes/_post_coinit/unknwn.py:266: note: comtypes._post_coinit.unknwn._compointer_meta (meta of comtypes._post_coinit.unknwn._compointer_base) conflicts with _ctypes._PyCSimpleType (metaclass of _ctypes._SimpleCData)

steam.py (https://github.com/Gobot1234/steam.py)
- steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [misc]
+ steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [metaclass]

github-actions[bot] avatar Jul 01 '25 00:07 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

artigraph (https://github.com/artigraph/artigraph)
- src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/versions/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/versions/__init__.py:17: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/statistics/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/statistics/__init__.py:8: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/annotations/__init__.py:8: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/annotations/__init__.py:8: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:26: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:26: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:44: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:44: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:48: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:48: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:61: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:61: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/types/__init__.py:347: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/types/__init__.py:347: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/thresholds/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/thresholds/__init__.py:11: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/partitions/__init__.py:21: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/partitions/__init__.py:21: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/formats/__init__.py:11: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/formats/__init__.py:11: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/__init__.py:24: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:45: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/__init__.py:45: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/__init__.py:65: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/__init__.py:65: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/artifacts/__init__.py:24: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/artifacts/__init__.py:24: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/views/__init__.py:20: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/views/__init__.py:20: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/backends/__init__.py:133: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/backends/__init__.py:133: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/producers/__init__.py:56: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/producers/__init__.py:56: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/producers/__init__.py:464: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/producers/__init__.py:464: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/graphs/__init__.py:94: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/graphs/__init__.py:94: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/graphs/__init__.py:294: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/graphs/__init__.py:294: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/executors/__init__.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/executors/__init__.py:17: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ src/arti/storage/google/cloud/storage.py:18: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ src/arti/storage/google/cloud/storage.py:18: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:13: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:13: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:17: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:17: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:43: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:43: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:54: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:54: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ tests/arti/internal/test_models.py:84: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ tests/arti/internal/test_models.py:84: note: "arti.internal.models.ModelMeta" (metaclass of "arti.internal.models.Model") conflicts with "pydantic._internal._model_construction.ModelMetaclass" (metaclass of "pydantic.main.BaseModel")
- tests/arti/internal/test_models.py:108: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]

... (truncated 2 lines) ...

comtypes (https://github.com/enthought/comtypes)
- comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [misc]
+ comtypes/_post_coinit/unknwn.py:266: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases  [metaclass]
+ comtypes/_post_coinit/unknwn.py:266: note: "comtypes._post_coinit.unknwn._compointer_meta" (metaclass of "comtypes._post_coinit.unknwn._compointer_base") conflicts with "_ctypes._PyCSimpleType" (metaclass of "_ctypes._SimpleCData")

steam.py (https://github.com/Gobot1234/steam.py)
- steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [misc]
+ steam/utils.py:458: error: Dynamic metaclass not supported for "StructIO"  [metaclass]

github-actions[bot] avatar Jul 01 '25 01:07 github-actions[bot]