Re: Help needed triaging build failures without distutils

2023-01-05 Thread Justin Z
Added for kig in https://src.fedoraproject.org/rpms/kig/c/d1d0c99facdb10dce32a8bf583750efaa565eefe?branch=rawhide ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to

Re: Help needed triaging build failures without distutils

2022-11-04 Thread Victor Stinner
Hi, On Tue, Oct 18, 2022 at 11:34 AM Miro Hrončok wrote: > The Python standard library distutils module will be removed from Python 3.12+ > https://peps.python.org/pep-0632/ It's done: https://github.com/python/cpython/commit/0faa0ba240e815614e5a2900e48007acac41b214 I created a discussion to

Re: 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 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 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
[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: 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

Re: Help needed triaging build failures without distutils

2022-10-21 Thread Miro Hrončok
On 21. 10. 22 12:16, Miro Hrončok wrote: On 18. 10. 22 11:27, Miro Hrončok wrote: I suspect most of the packages will fail to build with Python 3.12 (planned for Fedora 39, change proposal TBD). The python3-setutpools package provides a distutils module [^1], so sometimes "simply" adding

Re: Help needed triaging build failures without distutils

2022-10-21 Thread Miro Hrončok
On 18. 10. 22 11:27, Miro Hrončok wrote: I suspect most of the packages will fail to build with Python 3.12 (planned for Fedora 39, change proposal TBD). The python3-setutpools package provides a distutils module [^1], so sometimes "simply" adding BuildRequires: python3-setuptools might

Re: Help needed triaging build failures without distutils

2022-10-20 Thread Ben Beasley
The failure in pipx is because argparse-manpage[1], which is not in this list, requires distutils at runtime. + /usr/bin/python3 scripts/generate_man.py Traceback (most recent call last): File "/builddir/build/BUILD/pipx-1.1.0/scripts/generate_man.py", line 7, in from

Re: Help needed triaging build failures without distutils

2022-10-20 Thread Miro Hrončok
On 20. 10. 22 6:42, Elliott Sales de Andrade wrote: For python-mplcursors, it appears to have setuptools installed anyway, but it also looks like a crash in pyproject_buildrequires.py Looks like https://github.com/anntzer/mplcursors/commit/625dc7b42ca2b0c61e85aa31a70298053e32615e For

Re: Help needed triaging build failures without distutils

2022-10-19 Thread Elliott Sales de Andrade
On Tue, Oct 18, 2022 at 5:28 AM Miro Hrončok wrote: > > Hey Pythonistas. > > The Python standard library distutils module will be removed from Python 3.12+ > > https://peps.python.org/pep-0632/ > > As preparatory work, we build all python packages in a Copr repository with > Python 3.11 sans

Re: Help needed triaging build failures without distutils

2022-10-18 Thread Miro Hrončok
On 18. 10. 22 13:58, Hans Ulrich Niedermann wrote: I have picked up the then orphaned csound on 2022-10-17 to fix its unrelated FTBFS issues, and the current csound-6.16.2-7 package successfully builds locally with your below build instructions which "rm -rf" distutils from the mock buildroot.

Re: Help needed triaging build failures without distutils

2022-10-18 Thread Hans Ulrich Niedermann
I have picked up the then orphaned csound on 2022-10-17 to fix its unrelated FTBFS issues, and the current csound-6.16.2-7 package successfully builds locally with your below build instructions which "rm -rf" distutils from the mock buildroot. So the csound-6.16.2-7 package appears to be good to

Re: Help needed triaging build failures without distutils

2022-10-18 Thread Miro Hrončok
On 18. 10. 22 11:27, Miro Hrončok wrote: libarcus churchyard gferon https://src.fedoraproject.org/rpms/libarcus/pull-request/22 libsavitar   churchyard gferon https://src.fedoraproject.org/rpms/libsavitar/pull-request/15 -- Miro Hrončok -- Phone: +420777974800 IRC:

Re: Help needed triaging build failures without distutils

2022-10-18 Thread Miro Hrončok
On 18. 10. 22 11:27, Miro Hrončok wrote: pipenv   churchyard ksurma torsava + sphinx-build-3 docs html Running Sphinx v5.1.1 Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File

Help needed triaging build failures without distutils

2022-10-18 Thread Miro Hrončok
Hey Pythonistas. The Python standard library distutils module will be removed from Python 3.12+ https://peps.python.org/pep-0632/ As preparatory work, we build all python packages in a Copr repository with Python 3.11 sans distutils: