OCA / odoorpc

Python module to pilot your Odoo servers through JSON-RPC.
http://pythonhosted.org/OdooRPC/
GNU Lesser General Public License v3.0
231 stars 123 forks source link

OdooRPC no longer works with python 3.10 #78

Closed mbello closed 2 years ago

mbello commented 2 years ago

collections.MutableMapping was deprecated since python 3.3 and now in 3.10 it has been removed.

tools.py has:

import collections
(...)
class Config(collections.MutableMapping):

which should be:

import collections.abc
(...)
class Config(collections.abc.MutableMapping):

Quite an easy fix

mbello commented 2 years ago

Now I see it has been closed already, hoping someone will release the fix soon.