#1143418 scikit-build-core: FTBFS: E DeprecationWarning: project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead

#1143418#5
Date:
2026-08-01 22:39:20 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:scikit-build-core, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
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:142: Building wheel for python3.13 with "build" module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core
* Building wheel...
Successfully built scikit_build_core-0.11.6-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core
* Building wheel...
Successfully built scikit_build_core-0.11.6-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build; python3.13 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash'
============================= test session starts ==============================
platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0
installed packages of interest: build==1.5.1 cattrs==26.1.0 fastjsonschema==2.21.1 hatch-fancy-pypi-readme==25.1.0 hatchling==1.30.1 numpy==2.4.6 packaging==26.2 pathspec==1.0.4 pytest==9.1.1 pytest-subprocess==1.5.3 pytest-xdist==3.8.0 scikit_build_core==0.11.6 setuptools==78.1.1 setuptools-scm==9.2.2 typing-extensions==4.16.0 validate-pyproject==0.25 virtualenv==21.5.1 wheel==0.47.0
sysconfig platform: linux-x86_64
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build
configfile: pyproject.toml
testpaths: tests
plugins: xdist-3.8.0, subprocess-1.5.3, typeguard-4.4.4
collected 453 items / 76 deselected / 377 selected

tests/test_auto.py ...................                                   [  5%]
tests/test_broken_fallback.py ....                                       [  6%]
tests/test_build_cli.py .......                                          [  7%]
tests/test_builder.py .........xs.................                       [ 15%]
tests/test_cmake_ast.py .............................                    [ 23%]
tests/test_dynamic_metadata.py .s..............                          [ 27%]
tests/test_dynamic_metadata_unit.py ..........                           [ 29%]
tests/test_editable_redirect.py .                                        [ 30%]
tests/test_editable_unit.py ..                                           [ 30%]
tests/test_file_processor.py ...........                                 [ 33%]
tests/test_fileapi.py ....                                               [ 34%]
tests/test_generator_default.py ...                                      [ 35%]
tests/test_json_schema.py ........                                       [ 37%]
tests/test_logging.py ........                                           [ 39%]
tests/test_module_dir.py ..                                              [ 40%]
tests/test_name_main.py ...                                              [ 41%]
tests/test_printouts.py .                                                [ 41%]
tests/test_process_scripts.py .                                          [ 41%]
tests/test_pyproject_abi3.py .                                           [ 41%]
tests/test_pyproject_extra_dirs.py ..                                    [ 42%]
tests/test_pyproject_pep517.py .........sF.F..                           [ 46%]
tests/test_pyproject_pep660.py ..                                        [ 46%]
tests/test_pyproject_purelib.py .                                        [ 47%]
tests/test_schema.py ...............................................     [ 59%]
tests/test_settings.py ...................................               [ 68%]
tests/test_settings_docs.py ...                                          [ 69%]
tests/test_settings_overrides.py ....................................... [ 80%]
......................................                                   [ 90%]
tests/test_shutil.py ..                                                  [ 90%]
tests/test_simple_pure.py ...                                            [ 91%]
tests/test_simplest_c.py .....                                           [ 92%]
tests/test_skbuild_settings.py .........................                 [ 99%]
tests/test_wheelfile_utils.py ..                                         [100%]

=================================== FAILURES ===================================

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build/tests/test_pyproject_pep517.py:332:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

source_dir = '/tmp/pytest-of-sbuild/pytest-0/test_prepare_metdata_for_build0/pkg'
isolated = False, runner = <function quiet_subprocess_runner at 0x7faef10eccc0>

    def project_wheel_metadata(
        source_dir: StrPath,
        isolated: bool = True,
        *,
        runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner,
    ) -> importlib.metadata.PackageMetadata:
        """
        Return the wheel metadata for a project.

        Uses the ``prepare_metadata_for_build_wheel`` hook if available,
        otherwise ``build_wheel``.

        .. deprecated:: 1.5.0
           Generate metadata with the ``python -m build --metadata`` command instead.

        :param source_dir: Project source directory
        :param isolated: Whether or not to run invoke the backend in the current
                         environment or to create an isolated one and invoke it
                         there.
        :param runner: An alternative runner for backend subprocesses
        """
/usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build/tests/test_pyproject_pep517.py:372:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

source_dir = '/tmp/pytest-of-sbuild/pytest-0/test_pep639_license_files_meta0/pkg'
isolated = False, runner = <function quiet_subprocess_runner at 0x7faef10eccc0>

    def project_wheel_metadata(
        source_dir: StrPath,
        isolated: bool = True,
        *,
        runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner,
    ) -> importlib.metadata.PackageMetadata:
        """
        Return the wheel metadata for a project.

        Uses the ``prepare_metadata_for_build_wheel`` hook if available,
        otherwise ``build_wheel``.

        .. deprecated:: 1.5.0
           Generate metadata with the ``python -m build --metadata`` command instead.

        :param source_dir: Project source directory
        :param isolated: Whether or not to run invoke the backend in the current
                         environment or to create an isolated one and invoke it
                         there.
        :param runner: An alternative runner for backend subprocesses
        """
/usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning
=========================== short test summary info ============================
SKIPPED [1] tests/test_builder.py:77: MSVC only
SKIPPED [1] tests/test_dynamic_metadata.py:127: git is not installed
SKIPPED [1] tests/test_pyproject_pep517.py:307: Doesn't work yet
XFAIL tests/test_builder.py::test_get_python_library - Doesn't matter if this fails, usually not used
FAILED tests/test_pyproject_pep517.py::test_prepare_metdata_for_build_wheel
FAILED tests/test_pyproject_pep517.py::test_pep639_license_files_metadata - D...
===== 2 failed, 371 passed, 3 skipped, 76 deselected, 1 xfailed in 31.58s ======
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build; python3.13 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash'
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build; python3.14 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash'
============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0
installed packages of interest: build==1.5.1 cattrs==26.1.0 fastjsonschema==2.21.1 hatch-fancy-pypi-readme==25.1.0 hatchling==1.30.1 numpy==2.4.6 packaging==26.2 pathspec==1.0.4 pytest==9.1.1 pytest-subprocess==1.5.3 pytest-xdist==3.8.0 scikit_build_core==0.11.6 setuptools==78.1.1 setuptools-scm==9.2.2 typing-extensions==4.16.0 validate-pyproject==0.25 virtualenv==21.5.1 wheel==0.47.0
sysconfig platform: linux-x86_64
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build
configfile: pyproject.toml
testpaths: tests
plugins: xdist-3.8.0, subprocess-1.5.3, typeguard-4.4.4
collected 453 items / 76 deselected / 377 selected

tests/test_auto.py ...................                                   [  5%]
tests/test_broken_fallback.py ....                                       [  6%]
tests/test_build_cli.py .......                                          [  7%]
tests/test_builder.py .........xs.................                       [ 15%]
tests/test_cmake_ast.py .............................                    [ 23%]
tests/test_dynamic_metadata.py .s..............                          [ 27%]
tests/test_dynamic_metadata_unit.py ..........                           [ 29%]
tests/test_editable_redirect.py .                                        [ 30%]
tests/test_editable_unit.py ..                                           [ 30%]
tests/test_file_processor.py ...........                                 [ 33%]
tests/test_fileapi.py ....                                               [ 34%]
tests/test_generator_default.py ...                                      [ 35%]
tests/test_json_schema.py ........                                       [ 37%]
tests/test_logging.py ........                                           [ 39%]
tests/test_module_dir.py ..                                              [ 40%]
tests/test_name_main.py ...                                              [ 41%]
tests/test_printouts.py .                                                [ 41%]
tests/test_process_scripts.py .                                          [ 41%]
tests/test_pyproject_abi3.py .                                           [ 41%]
tests/test_pyproject_extra_dirs.py ..                                    [ 42%]
tests/test_pyproject_pep517.py .........sF.F..                           [ 46%]
tests/test_pyproject_pep660.py ..                                        [ 46%]
tests/test_pyproject_purelib.py .                                        [ 47%]
tests/test_schema.py ...............................................     [ 59%]
tests/test_settings.py ...................................               [ 68%]
tests/test_settings_docs.py ...                                          [ 69%]
tests/test_settings_overrides.py ....................................... [ 80%]
......................................                                   [ 90%]
tests/test_shutil.py ..                                                  [ 90%]
tests/test_simple_pure.py ...                                            [ 91%]
tests/test_simplest_c.py .....                                           [ 92%]
tests/test_skbuild_settings.py .........................                 [ 99%]
tests/test_wheelfile_utils.py ..                                         [100%]

=================================== FAILURES ===================================
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build/tests/test_pyproject_pep517.py:332:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

source_dir = '/tmp/pytest-of-sbuild/pytest-1/test_prepare_metdata_for_build0/pkg'
isolated = False, runner = <function quiet_subprocess_runner at 0x7f4f37db09e0>

    def project_wheel_metadata(
        source_dir: StrPath,
        isolated: bool = True,
        *,
        runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner,
    ) -> importlib.metadata.PackageMetadata:
        """
        Return the wheel metadata for a project.

        Uses the ``prepare_metadata_for_build_wheel`` hook if available,
        otherwise ``build_wheel``.

        .. deprecated:: 1.5.0
           Generate metadata with the ``python -m build --metadata`` command instead.

        :param source_dir: Project source directory
        :param isolated: Whether or not to run invoke the backend in the current
                         environment or to create an isolated one and invoke it
                         there.
        :param runner: An alternative runner for backend subprocesses
        """
/usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build/tests/test_pyproject_pep517.py:372:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

source_dir = '/tmp/pytest-of-sbuild/pytest-1/test_pep639_license_files_meta0/pkg'
isolated = False, runner = <function quiet_subprocess_runner at 0x7f4f37db09e0>

    def project_wheel_metadata(
        source_dir: StrPath,
        isolated: bool = True,
        *,
        runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner,
    ) -> importlib.metadata.PackageMetadata:
        """
        Return the wheel metadata for a project.

        Uses the ``prepare_metadata_for_build_wheel`` hook if available,
        otherwise ``build_wheel``.

        .. deprecated:: 1.5.0
           Generate metadata with the ``python -m build --metadata`` command instead.

        :param source_dir: Project source directory
        :param isolated: Whether or not to run invoke the backend in the current
                         environment or to create an isolated one and invoke it
                         there.
        :param runner: An alternative runner for backend subprocesses
        """
/usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning
=========================== short test summary info ============================
SKIPPED [1] tests/test_builder.py:77: MSVC only
SKIPPED [1] tests/test_dynamic_metadata.py:127: git is not installed
SKIPPED [1] tests/test_pyproject_pep517.py:307: Doesn't work yet
XFAIL tests/test_builder.py::test_get_python_library - Doesn't matter if this fails, usually not used
FAILED tests/test_pyproject_pep517.py::test_prepare_metdata_for_build_wheel
FAILED tests/test_pyproject_pep517.py::test_pep639_license_files_metadata - D...
===== 2 failed, 371 passed, 3 skipped, 76 deselected, 1 xfailed in 32.42s ======
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build; python3.14 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143418#10
Date:
2026-08-24 16:56:39 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
scikit-build-core, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143418@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated scikit-build-core package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 24 Aug 2026 17:18:18 +0100
Source: scikit-build-core
Architecture: source
Version: 0.11.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1143418
Changes:
 scikit-build-core (0.11.6-3) unstable; urgency=medium
 .
   * Team upload.
   * tests: stop using deprecated build.util.project_wheel_metadata (closes:
     #1143418).
   * Drop "Priority: optional", default as of dpkg-dev 1.22.13.
   * Standards-Version: 4.7.4.
Checksums-Sha1:
 70f0470aa6ac3f67d89d94fac6f16bd0f2d7dad4 2928 scikit-build-core_0.11.6-3.dsc
 1d14f17f2fef046aec6727c51b8028fb24a8401a 5112 scikit-build-core_0.11.6-3.debian.tar.xz
 044ce3f429f1a0f5675631a45c5449a88a311ce4 588208 scikit-build-core_0.11.6-3.git.tar.xz
 2c8a3ca0d1936798d6a69acd065716eba6da5a14 17704 scikit-build-core_0.11.6-3_source.buildinfo
Checksums-Sha256:
 a4dd2a8222d4c28cf473a2727c1d7774dcb96c6c7914f684f1c9b0b3972339dc 2928 scikit-build-core_0.11.6-3.dsc
 82c41643774a31dfc98251dc88da79295ac064bca149442efcb560da88465e02 5112 scikit-build-core_0.11.6-3.debian.tar.xz
 2cd2fc22c766777d70182074c7ac292808921b3467d710a048c341b08b6605d6 588208 scikit-build-core_0.11.6-3.git.tar.xz
 fd9ad7867c3091863a938b0e8bace056538bf4ed9bf3a531e16e41a1f50f9888 17704 scikit-build-core_0.11.6-3_source.buildinfo
Files:
 ff0cd1d0365d931e597518a227c8a2ab 2928 python optional scikit-build-core_0.11.6-3.dsc
 de6052e85177ee38d617af0608237b42 5112 python optional scikit-build-core_0.11.6-3.debian.tar.xz
 d6609986435ce41e8910326afb9154e3 588208 python None scikit-build-core_0.11.6-3.git.tar.xz
 75e5cacea39136511422ee239d6f27fc 17704 python optional scikit-build-core_0.11.6-3_source.buildinfo
Git-Tag-Info: tag=da3891fbb38b0f9226de862d44056e35e0255dbe fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqMcpIACgkQYG0ITkaD
wHklmA//VJuwsyK4GDBRbx/Gv5beL9qcSXwd/vh8urgF74b23HSUUgSAFkLtMHpc
84yTp6UelPLHYL5p96wj/xRGz9IGX20VadohHtcYS3AKaW4AFFkiRufpNSJ9QqHY
iDah3cFhvyH+Mum/GDalKnWee08Eu+uM8KVw/xZdZ7j67MIy+mGkBhUg2QyrlMUp
MVoaIfFPZtFBcbfdDFjpCpr7Clrsrj81LmSExIQ2BnMCE4Gf0GYxGzp/KtHQMUSN
aMvf+4U4+Vr4aIGb/z0x6akKw38nkWuizIO2p5+s1hOQVNvgtPg3uGSd93v48eVx
0s1PChafrPb9V9sBew+9QgBfkO1TC9CZa8Vr8JKpn0JVYxCX3W51MTNTDSTkCSY+
s2mcGef4tRqenQRy6KycJsdxiYrvlzceiwmQAC/BE++6/jlMdyeJexI1YXynmN0Z
It5Jtv858PbwvH6DoBUisTCmGb8UmNdazF7rcvi1lkJedrblyKPJ/jXFEnk5gx6Y
jtZa1q193PrkEan4Z+iBXTE04cQAltU1JqMw4BrHc8WVRIOAwzd5o71CLp/EurId
ERNDkpB/BjGYD4PMC/yYyfxS4jpQi+IHN29/0qi/3v6HoxQDM34b9VCYLPwxNy4d
/IR3cvDsSZcAuEmyDVnSrlC4a9qFrqajtJ5MT1awYPNRoh/phdA=
=5HV2
-----END PGP SIGNATURE-----