FS#72994 - [libxml2] split to python2-xml2 and python-xml2?

Attached to Project: Arch Linux
Opened by DarcyHu (DarcyHu) - Monday, 13 December 2021, 13:05 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 20 February 2022, 22:23 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
Any plan to split this package to `python-xml2` and `python2-xml2`?

Currently, libxml2 contains both files for python2 and python3:
```text
usr/lib/python2.7/
usr/lib/python2.7/site-packages/
usr/lib/python2.7/site-packages/drv_libxml2.py
usr/lib/python2.7/site-packages/libxml2.py
usr/lib/python2.7/site-packages/libxml2mod.so
usr/lib/python3.10/
usr/lib/python3.10/site-packages/
usr/lib/python3.10/site-packages/drv_libxml2.py
usr/lib/python3.10/site-packages/libxml2.py
usr/lib/python3.10/site-packages/libxml2mod.so
```
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 20 February 2022, 22:23 GMT
Reason for closing:  None
Additional comments about closing:  py2 bindings are gone
Comment by Troy Engel (TE) - Sunday, 19 December 2021, 15:39 GMT
On my system (laptop with MATE, many random python apps and python libraries for them), this is the last remaining bit of python2 in `site-packages`; splitting this out would enable me/us to have a clean, non-python2-artifacts based system (finally!) which seems like a worthy cause after so many years. :)

$ ls /usr/lib/python2.7/site-packages/
README drv_libxml2.py libxml2.py libxml2mod.so

$ pacman -Q | grep -c ^python-
72

$ pacman -Q | grep -c ^python2-
0

Comment by Marcell Meszaros (MarsSeed) - Sunday, 20 February 2022, 21:41 GMT
Python 2 bindings already dropped as of libxml2-2.9.12-6:
https://github.com/archlinux/svntogit-packages/commit/56b3b2cebc796adaffc3bebb2cb4fe2c2d8d69ba

Packager decided to keep Python 3 bindings inside the package.

Loading...