Re: [Libguestfs] distutils use in hivex libdnet libnbd (and more) [was: Re: Help needed triaging build failures without distutils]

2022-10-24 Thread Miro Hrončok
On 24. 10. 22 12:46, Richard W.M. Jones wrote: I'm not sure what could have happened here. The RPM would have failed to build if the Python bindings had been ./configure-d out. The link shows libguestfs as "not build yet / Disabled":

Re: [Libguestfs] distutils use in hivex libdnet libnbd (and more) [was: Re: Help needed triaging build failures without distutils]

2022-10-24 Thread Miro Hrončok
On 24. 10. 22 15:14, Richard W.M. Jones wrote: Original code: $ python3 -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0));' /usr/lib64/python3.11/site-packages Potential replacement: $ python3 -c 'import sysconfig; print(sysconfig.get_path("platlib"));'

Re: [Libguestfs] distutils use in hivex libdnet libnbd (and more) [was: Re: Help needed triaging build failures without distutils]

2022-10-24 Thread Richard W.M. Jones
On Mon, Oct 24, 2022 at 06:00:31PM +0200, Miro Hrončok wrote: > On 24. 10. 22 15:14, Richard W.M. Jones wrote: > >Original code: > > > > $ python3 -c 'import distutils.sysconfig; > > print(distutils.sysconfig.get_python_lib(1,0));' > > /usr/lib64/python3.11/site-packages > > > >Potential

Re: [Libguestfs] distutils use in hivex libdnet libnbd (and more) [was: Re: Help needed triaging build failures without distutils]

2022-10-24 Thread Richard W.M. Jones
[Sending 2nd email again since it didn't reach the Python-devel list first time] On Tue, Oct 18, 2022 at 11:13:47AM +0100, Richard W.M. Jones wrote: > On Tue, Oct 18, 2022 at 10:53:12AM +0100, Richard W.M. Jones wrote: > >

Re: [Libguestfs] distutils use in hivex libdnet libnbd (and more) [was: Re: Help needed triaging build failures without distutils]

2022-10-24 Thread Richard W.M. Jones
[Sending again since it didn't reach the Python-devel list first time] On Tue, Oct 18, 2022 at 10:53:12AM +0100, Richard W.M. Jones wrote: > On Tue, Oct 18, 2022 at 11:27:47AM +0200, Miro Hrončok wrote: > > Hey Pythonistas. > > > > The Python standard library distutils module will be removed