Bug#1069217: pysolid ftbfs with Python 3.12

Antonio Valentino antonio.valentino at tiscali.it
Fri Apr 19 07:30:10 BST 2024


Dear Matthias,

On Thu, 18 Apr 2024 07:33:50 +0200 Matthias Klose <doko at debian.org> wrote:
> Package: src:pysolid
> Version: 0.3.2-1
> Severity: important
> Tags: sid trixie patch
> User: debian-python at lists.debian.org
> Usertags: python3.12
> 
> [...]
> dh binary --buildsystem=pybuild
>     dh_update_autotools_config -O--buildsystem=pybuild
>     dh_autoreconf -O--buildsystem=pybuild
>     dh_auto_configure -O--buildsystem=pybuild
>     dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with 
> "build" module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pysolid
> * Building wheel...
> Traceback (most recent call last):
>    File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 353, in <module>
>      main()
>    File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 335, in main
>      json_out['return_val'] = hook(**hook_input['kwargs'])
>                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 251, in build_wheel
>      return _build_backend().build_wheel(wheel_directory, config_settings,
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 
> 434, in build_wheel
>      return self._build_with_temp_dir(
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 
> 419, in _build_with_temp_dir
>      self.run_setup()
>    File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 
> 341, in run_setup
>      exec(code, locals())
>    File "<string>", line 6, in <module>
> ModuleNotFoundError: No module named 'numpy.distutils'
> 
> ERROR Backend subprocess exited when trying to invoke build_wheel

Sorry I'm not able to reproduce.
It seems more an issue in the setup rather than in pysolid.
Moreover I see that this issue is tagged "patch" but I can't find a 
patch attached.

Could you please provide more information about how to reproduce the issue?

kind regards
-- 
Antonio Valentino



More information about the Pkg-grass-devel mailing list