RWTH-IAEW / cimpyorm

Python ORM middleware for IEC CIM and CGMES datasets
http://www.iaew.rwth-aachen.de
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Small Code Updates to support Python3.11 #13

Closed mspi92 closed 11 months ago

mspi92 commented 1 year ago

When using cimpyorm with python 3.11 there is an Import Error for from collections import ..., Iterable, ... see also:

The Iterable abstract class was removed from collections in Python 3.10. See the deprecation note in the 3.9 [collections docs](https://docs.python.org/3.9/library/collections.html). In the section [Removed](https://docs.python.org/3/whatsnew/3.10.html#removed) of the 3.10 docs, the item

Remove deprecated aliases to [Collections Abstract Base Classes](https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes) from the collections module. (Contributed by Victor Stinner in bpo-37324.)

This PR fixes the Code Issue.

Additionally i adjusted the pylintrc config (got some warnings) and GitlabCI + GithubAction config to support for a broader range of Python Versions being tested

mspi92 commented 1 year ago

Jo @TOffergeld, Thanks for the quick review, I guess once you are Maintainer of a project and didn't turn off notifications you'll get notified :D Do you know of the person responsible for this repo or was there any agreement on whoever is the maintainer? Otherwise we can also try to get into contact with the IAEW