On Fri, Sep 29, 2023 at 07:32:45PM +0100, Sérgio Basto wrote:
Hi,
Recent build of some packages like opencv and an old gpgme shows that
python-3.12 disutils has gone for good , but just after all mass
rebuilds and recently , what you advice to do ?
Any quick way to replace distutils ? the python 3.12 final release,
currently is scheduled for 2023-10-02 ...
We had to replace distutils in a few packages upstream. It's
unfortunately not straightforward. It *looks* as if old
distutils.sysconfig can be simply replaced by new sysconfig, but it
turns out they're not really compatible.
I only know about distutils.sysconfig, not other parts of distutils.
Anyway here are the changes we made for inspiration:
https://github.com/libguestfs/hivex/commit/068ce21cee3d726aaf19d0b3a706bd...
https://github.com/libguestfs/libguestfs/commit/26940f64a740676103b0ee49b...
https://gitlab.com/nbdkit/libnbd/-/commit/8c802dd9459f695ab2195f7b29fbe71...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top