Package: src:scikit-build-core
Version: 0.11.6-4
Severity: serious
Tags: sid forky
User: [email protected]
Usertags: python3.14

tests triggered by python3-defaults:

[...]
174s =================================== FAILURES =================================== 174s _____________________ test_prepare_metdata_for_build_wheel _____________________
174s
174s     @pytest.mark.usefixtures("package_simple_pyproject_ext")
174s     def test_prepare_metdata_for_build_wheel():
174s > metadata = build.util.project_wheel_metadata(str(Path.cwd()), isolated=False) 174s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
174s
174s /tmp/autopkgtest.mZB9Pb/autopkgtest_tmp/build/tests/test_pyproject_pep517.py:332: 174s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
174s
174s source_dir = '/tmp/pytest-of-test/pytest-0/test_prepare_metdata_for_build0/pkg' 174s isolated = False, runner = <function quiet_subprocess_runner at 0xf42492e8>
174s
174s     def project_wheel_metadata(
174s         source_dir: StrPath,
174s         isolated: bool = True,
174s         *,
174s runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner,
174s     ) -> importlib.metadata.PackageMetadata:
174s         """
174s         Return the wheel metadata for a project.
174s
174s Uses the ``prepare_metadata_for_build_wheel`` hook if available,
174s         otherwise ``build_wheel``.
174s
174s         .. deprecated:: 1.5.0
174s Generate metadata with the ``python -m build --metadata`` command instead.
174s
174s         :param source_dir: Project source directory
174s :param isolated: Whether or not to run invoke the backend in the current 174s environment or to create an isolated one and invoke it
174s                          there.
174s         :param runner: An alternative runner for backend subprocesses
174s         """
174s >       warnings.warn(
174s 'project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead',
174s             DeprecationWarning,
174s             stacklevel=2,
174s         )
174s E DeprecationWarning: project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead
174s
174s /usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning
174s ______________________ test_pep639_license_files_metadata ______________________
174s
174s     @pytest.mark.usefixtures("package_pep639_pure")
174s     def test_pep639_license_files_metadata():
174s > metadata = build.util.project_wheel_metadata(str(Path.cwd()), isolated=False) 174s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
174s
174s /tmp/autopkgtest.mZB9Pb/autopkgtest_tmp/build/tests/test_pyproject_pep517.py:372: 174s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
174s
174s source_dir = '/tmp/pytest-of-test/pytest-0/test_pep639_license_files_meta0/pkg' 174s isolated = False, runner = <function quiet_subprocess_runner at 0xf42492e8>
174s
174s     def project_wheel_metadata(
174s         source_dir: StrPath,
174s         isolated: bool = True,
174s         *,
174s runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner,
174s     ) -> importlib.metadata.PackageMetadata:
174s         """
174s         Return the wheel metadata for a project.
174s
174s Uses the ``prepare_metadata_for_build_wheel`` hook if available,
174s         otherwise ``build_wheel``.
174s
174s         .. deprecated:: 1.5.0
174s Generate metadata with the ``python -m build --metadata`` command instead.
174s
174s         :param source_dir: Project source directory
174s :param isolated: Whether or not to run invoke the backend in the current 174s environment or to create an isolated one and invoke it
174s                          there.
174s         :param runner: An alternative runner for backend subprocesses
174s         """
174s >       warnings.warn(
174s 'project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead',
174s             DeprecationWarning,
174s             stacklevel=2,
174s         )
174s E DeprecationWarning: project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead
174s
174s /usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning
174s =========================== short test summary info ============================
174s SKIPPED [1] tests/test_builder.py:77: MSVC only
174s SKIPPED [1] tests/test_dynamic_metadata.py:127: git is not installed
174s SKIPPED [1] tests/test_pyproject_pep517.py:307: Doesn't work yet
174s XFAIL tests/test_builder.py::test_get_python_library - Doesn't matter if this fails, usually not used 174s FAILED tests/test_pyproject_pep517.py::test_prepare_metdata_for_build_wheel 174s FAILED tests/test_pyproject_pep517.py::test_pep639_license_files_metadata - D... 174s = 2 failed, 371 passed, 3 skipped, 76 deselected, 1 xfailed in 66.80s (0:01:06) = 175s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.mZB9Pb/autopkgtest_tmp/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' 175s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.14 --parallel= returned exit code 13
175s make: *** [/tmp/mMycEUgbfr/run:4: pybuild-autopkgtest] Error 25
175s pybuild-autopkgtest: error: /tmp/mMycEUgbfr/run pybuild-autopkgtest returned exit code 2

Reply via email to