On 11/11/23 10:36, Matthias Klose wrote:
On 10.11.23 13:51, Sebastiaan Couwenberg wrote:
python3-gdal_3.7.3+dfsg-1_amd64.deb doesn't have any extensions for
3.12.
The installation for 3.12 fails:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/build-py3.12/swig/python/setup.py", line
14, in <module>
from setuptools.command.build_ext import build_ext
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line
9, in <module>
import distutils.core
ModuleNotFoundError: No module named 'distutils'
There is an issue with setuptools in your build environment.
it might be difficult to reproduce in Debian without having 3.12 enabled
as the default. But your reluctance to point a removed distutils module
in 3.12 to some issue in "my build environment" is odd.
I won't waste any more effort into this until you get the RC report from
the next test rebuild of unstable.
`python3.12 -c "from setuptools.command.build_ext import build_ext"`
works just fine in Debian unstable.
setuptools bundles distutils, so I suspect _distutils_hack.override is
not working as expected.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1