On Mon, Nov 03, 2025 at 03:26:01PM -0800, Elliott Mitchell wrote:
> Are Python 3 scripts.

If it would be just about scripts, it should be possible to make it
depends on any python3 version, but there are also a bunch of python
libs:
/usr/lib/xen-4.20/lib/python/grub/ExtLinuxConf.py
/usr/lib/xen-4.20/lib/python/grub/GrubConf.py
/usr/lib/xen-4.20/lib/python/grub/LiloConf.py
/usr/lib/xen-4.20/lib/python/grub/__init__.py
/usr/lib/xen-4.20/lib/python/pygrub-0.7.egg-info/PKG-INFO
/usr/lib/xen-4.20/lib/python/pygrub-0.7.egg-info/dependency_links.txt
/usr/lib/xen-4.20/lib/python/pygrub-0.7.egg-info/top_level.txt
/usr/lib/xen-4.20/lib/python/xen-3.0.egg-info/PKG-INFO
/usr/lib/xen-4.20/lib/python/xen-3.0.egg-info/dependency_links.txt
/usr/lib/xen-4.20/lib/python/xen-3.0.egg-info/top_level.txt
/usr/lib/xen-4.20/lib/python/xen/__init__.py
/usr/lib/xen-4.20/lib/python/xen/lowlevel/__init__.py
/usr/lib/xen-4.20/lib/python/xen/lowlevel/xc.cpython-313-x86_64-linux-gnu.so
/usr/lib/xen-4.20/lib/python/xen/lowlevel/xs.cpython-313-x86_64-linux-gnu.so
/usr/lib/xen-4.20/lib/python/xen/migration/__init__.py
/usr/lib/xen-4.20/lib/python/xen/migration/legacy.py
/usr/lib/xen-4.20/lib/python/xen/migration/libxc.py
/usr/lib/xen-4.20/lib/python/xen/migration/libxl.py
/usr/lib/xen-4.20/lib/python/xen/migration/public.py
/usr/lib/xen-4.20/lib/python/xen/migration/tests.py
/usr/lib/xen-4.20/lib/python/xen/migration/verify.py
/usr/lib/xen-4.20/lib/python/xen/migration/xl.py
/usr/lib/xen-4.20/lib/python/xen/util.py
/usr/lib/xen-4.20/lib/python/xenfsimage.cpython-313-x86_64-linux-gnu.so

Some of those might be used by other software.

> I would suggest creating xen-utils-X.YY-python to split the Python
> scripts out of the main xen-utils-X.YY package.

That might help, if such xen-utils-X.YY-python would not be installed
(or at least would not be needed during upgrade). But is it the case?

> Other trick is grub-xen-host sort of makes PyGRUB deprecated.

TBH, it's a good idea to get rid of PyGRUB anyway, for so many
reasons...

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

Attachment: signature.asc
Description: PGP signature

Reply via email to