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 incompatible with python 3.10 #66

Closed vincent-hatakeyama closed 2 years ago

vincent-hatakeyama commented 2 years ago

https://github.com/OCA/odoorpc/blob/cda0bb1d31c9c78f013fffed1bad2540ae604bc5/odoorpc/tools.py#L17

MutableMapping is in collections.abc since Python 3.3. In python 3.10, this import does not work anymore.

debalance commented 2 years ago

This is now affecting Debian testing / unstable and with that the next release of Debian (12, a.k.a. "bookworm"). See https://bugs.debian.org/1001425 for more details.

timodenissen commented 2 years ago

The PR fixes the issue on Arch with Python 3.10.