Skip to content

WIP: ENH: implement support for build-details.json (PEP 739)

3a80d89
Select commit
Loading
Failed to load commit list.
Draft

WIP: ENH: implement support for build-details.json (PEP 739) and cross compilation #779

WIP: ENH: implement support for build-details.json (PEP 739)
3a80d89
Select commit
Loading
Failed to load commit list.
Cirrus CI / freebsd failed Jul 16, 2025 in 1m 31s

Task Summary

Instruction test failed in 01:17

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 00:11 install
❌ 01:17 test

    def test_top_level_modules(package_module_types):
        with mesonpy._project() as project:
>           builder = mesonpy._EditableWheelBuilder(
                project._metadata, project._manifest, project._limited_api, project._allow_windows_shared_libs)
E           TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'

/tmp/cirrus-ci-build/tests/test_wheel.py:267: TypeError
----------------------------- Captured stdout call -----------------------------
+ meson setup /tmp/cirrus-ci-build/tests/packages/module-types /tmp/cirrus-ci-build/tests/packages/module-types/.mesonpy-sjodk4r4 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/cirrus-ci-build/tests/packages/module-types/.mesonpy-sjodk4r4/meson-python-native-file.ini
The Meson build system
Version: 1.8.2
Source dir: /tmp/cirrus-ci-build/tests/packages/module-types
Build dir: /tmp/cirrus-ci-build/tests/packages/module-types/.mesonpy-sjodk4r4
Build type: native build
Project name: module-types
Project version: 1.0.0
C compiler for the host machine: cc (clang 18.1.6 "FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)")
C linker for the host machine: cc ld.lld 18.1.6
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/tmp/cirrus-ci-build/env/bin/python3)
Did not find pkg-config by name 'pkg-config'
Found pkg-config: NO
Run-time dependency python found: YES 3.11
Build targets in project: 1

module-types 1.0.0

  User defined options
    Native files: /tmp/cirrus-ci-build/tests/packages/module-types/.mesonpy-sjodk4r4/meson-python-native-file.ini
    b_ndebug    : if-release
    b_vscrt     : md
    buildtype   : release

Found ninja-1.11.1 at /usr/local/bin/ninja
=========================== short test summary info ============================
SKIPPED [1] tests/test_project.py:337: requires MSVC
SKIPPED [3] tests/test_project.py:349: macOS specific test
SKIPPED [2] tests/test_project.py:366: macOS specific test
SKIPPED [3] tests/test_project.py:382: requires Python 3.13 or higher
SKIPPED [1] tests/test_tags.py:48: macOS specific test
SKIPPED [1] tests/test_tags.py:65: macOS specific test
SKIPPED [1] tests/test_tags.py:75: macOS specific test
SKIPPED [1] tests/test_tags.py:83: macOS specific test
SKIPPED [2] tests/test_wheel.py:283: macOS specific test
ERROR tests/test_editable.py::test_editable_install - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
ERROR tests/test_editable.py::test_editble_reentrant - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
ERROR tests/test_editable.py::test_editable_verbose - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
FAILED tests/test_tags.py::test_tag_empty_wheel - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
FAILED tests/test_tags.py::test_tag_purelib_wheel - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
FAILED tests/test_tags.py::test_tag_platlib_wheel - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
FAILED tests/test_tags.py::test_tag_stable_abi - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
FAILED tests/test_tags.py::test_tag_mixed_abi - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
FAILED tests/test_wheel.py::test_top_level_modules - TypeError: _WheelBuilder.__init__() missing 1 required positional argument: 'is_cross'
======== 6 failed, 115 passed, 15 skipped, 3 errors in 66.44s (0:01:06) ========
����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������