I am developing on a project (gedit) that requires libxml2 in Python 3.
I have noticed that in arch 'extra/' there is libxml2 only for Python 2. For Python 3 it only gives lxml.
I presume there is a reason why libxml2 is not there for Python 3. Is there a way to rig it up so I can get this dependency to work for this project?
libxml2 is a C library, not a Python library. It provides bindings for various other languages, including Python. However, it currently only supports Python 2.
lxml is a separate Python XML library that is built on libxml2 and libxslt. It supports both Python 2 and Python 3.
Are you absolutely sure that your gedit project "requires libxml2 in Python 3" (whatever that means)? Why can't you use Python 2, or lxml?
Ah. You are right. I needed to change it such that the script (itstool) uses Python2 instead of Python3. Looks like someone already submitted a patch for that:
Still a little confusing since the changelog mentions Python3 though.