scanny / python-pptx

Create Open XML PowerPoint documents in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python 3.10 collections change breaks compat.__init__

Adriyst opened this issue · comments

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.

This issue is fixed in python-pptx-fix

Fixed in release 0.6.22 circa Aug 28, 2023.