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

[FIX] Support for python 3.10+ #73

Closed bosd closed 2 years ago

bosd commented 2 years ago

Use collections.abc.MutableMapping instead of deprecated collections.MutableMapping that is removed with Python 3.9+

bosd commented 2 years ago

Fixes #66

robertrottermann commented 2 years ago

checked on ubuntu 22.04 with python Python 3.10.4 works fine

moylop260 commented 2 years ago

@yajo @sebalix

Is missing a release of the package for this fix?

yajo commented 2 years ago

I'm not an active mainatiner of this package and I see main branch ❌ so I'll wait for @sebalix to do the release.

In the mean time, you can install from master.

sebalix commented 2 years ago

Tests need to be updated yes... I have currently no time to do this, but this should not block the creation of a release.

StefanRijnhart commented 1 year ago

@sebalix we're hitting this bug on the github workflow of the 16.0 branches, because they run on Python 3.10: https://github.com/OCA/server-tools/actions/runs/3192626295/jobs/5210317886. Do you think that it would be a good time to release 9.0?