torchbox / wagtail-wordpress-import

A package for Wagtail CMS to import WordPress blog content from an XML file into Wagtail
MIT License
44 stars 16 forks source link

Installation fails (Python 3.12) #181

Open eriverosr opened 8 months ago

eriverosr commented 8 months ago

Package installation fails if it is installed with pip using Python 3.12.

The error is related to lxml version (v4.7.1):

src/lxml/etree.c:522:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}

It could be related to this change in Python 3.11.

I tried changing the setup.py requirements of the lxml package to [>4.7,<5.0] and it completed the installation.