[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3573: Some typechecks fail with "Cannot determine consistent method resolution order"

Tahoe-LAFS trac at tahoe-lafs.org
Sat Dec 26 17:30:28 UTC 2020


#3573: Some typechecks fail with "Cannot determine consistent method resolution
order"
---------------------+---------------------------
 Reporter:  jaraco   |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 While working on #3399, there were several cases where mypy could not
 determine a consistent MRO:

 {{{
 src/allmydata/test/test_storage_client.py:94: error: Cannot determine
 consistent method resolution order (MRO) for
 "NativeStorageServerWithVersion"
 src/allmydata/test/no_network.py:264: error: Cannot determine consistent
 method resolution order (MRO) for "_NoNetworkClient"
 src/allmydata/test/web/test_web.py:192: error: Cannot determine consistent
 method resolution order (MRO) for "FakeDisplayableServer"
 src/allmydata/test/web/test_web.py:258: error: Cannot determine consistent
 method resolution order (MRO) for "FakeClient"
 src/allmydata/test/test_dirnode.py:1590: error: Cannot determine
 consistent method resolution order (MRO) for "FakeClient2"
 }}}

 This issue appears only to occur in some environments, though the factors
 that determine which environments are yet unclear.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3573>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list