scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.37k stars 513 forks source link

Python 3.10 collections change breaks compat.__init__ #770

Closed Adriyst closed 1 year ago

Adriyst commented 2 years ago

The change to the collections library in python 3.10 breaks the compat.init script, as reported in #750. The highlighted lines in that issue is actually the problem. From the collections documentation:

Deprecated since version 3.3, will be removed in version 3.10: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.9.

kascodeo commented 1 year ago

This issue is fixed in python-pptx-fix

scanny commented 1 year ago

Fixed in release 0.6.22 circa Aug 28, 2023.