cjdrake / pyeda

Python EDA
BSD 2-Clause "Simplified" License
301 stars 55 forks source link

Python 3.10: Use collections.abc.Sequence instead of collections.Sequence #167

Closed functionpointer closed 2 years ago

functionpointer commented 2 years ago

collections.Sequence was moved to collections.abc.Sequence and with Python 3.10 the grace period has ended.

This PR fixes the wrong usages, introducing compatibility with Python 3.10.

See also: https://stackoverflow.com/questions/69596494/unable-to-import-freegames-python-package-attributeerror-module-collections