marazt / object-mapper

ObjectMapper is a class for automatic object mapping in Python
MIT License
102 stars 28 forks source link

Update to collections module structure to support python 3.9+ #30

Open jerdmanGH opened 2 years ago

jerdmanGH commented 2 years ago

Update to the collections module import to support newer versions of python where the MutableMapping module has changed. Tested with Python 3.6, 3.8, 3.9, and 3.10 - all tests pass successfully in all versions.

AsmisAlan commented 1 year ago

please, can u merge this pr ?

infinidem commented 1 year ago

Agreed, this should be merged to support Python 3.8+, currently on 3.11.3

SofyaSasnavik-sm commented 1 year ago

Please merge it, really need it to use it with python 3.11

jakobkogler commented 1 year ago

@infinidem @SofyaSasnavik-sm Feel free to switch to library https://github.com/dataclass-mapper/dataclass-mapper/. It has pretty much the same features as object-mapper, and it is maintained (by me :smile: ).