Skip to content

add argument number dispatch mechanism for std::function casting #8146

add argument number dispatch mechanism for std::function casting

add argument number dispatch mechanism for std::function casting #8146

Triggered via pull request August 21, 2024 06:54
Status Failure
Total duration 27m 7s
Artifacts

ci.yml

on: pull_request
Manylinux on 🐍 3.13t • GIL
4m 42s
Manylinux on 🐍 3.13t • GIL
🐍 3.10 • CUDA 12.2 • Ubuntu 22.04
6m 19s
🐍 3.10 • CUDA 12.2 • Ubuntu 22.04
🐍 3 • NVHPC 23.5 • C++17 • x64
15m 12s
🐍 3 • NVHPC 23.5 • C++17 • x64
🐍 3 • ICC latest • x64
11m 55s
🐍 3 • ICC latest • x64
🐍 3.9 • Debian • x86 • Install
3m 52s
🐍 3.9 • Debian • x86 • Install
Documentation build test
53s
Documentation build test
macos-13 • brew install llvm
12m 1s
macos-13 • brew install llvm
Matrix: centos
Matrix: clang
Matrix: deadsnakes
Matrix: gcc
Matrix: mingw
Matrix: standard
Matrix: win32-debug
Matrix: win32
Matrix: windows-2022
Matrix: windows_clang
Fit to window
Zoom out
Zoom in

Annotations

22 errors
🐍 3.13 • ubuntu-20.04 • x64: tests/test_callbacks.py#L341
test_cpp_correct_overload_resolution pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: unraisableexception, Hook: pytest_runtest_call PytestUnraisableExceptionWarning: Exception ignored in PyObject_HasAttrString(); consider using PyObject_HasAttrStringWithError(), PyObject_GetOptionalAttrString() or PyObject_GetAttrString(): None Traceback (most recent call last): File "/home/runner/work/pybind11/pybind11/tests/test_callbacks.py", line 126, in test_cpp_correct_overload_resolution assert m.dummy_function_overloaded_std_func_arg(B()) == 14 AttributeError: 'B' object has no attribute '__code__'. Did you mean: '__call__'? For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
🐍 3.13 • ubuntu-20.04 • x64: tests/test_virtual_functions.py#L341
test_recursive_dispatch_issue pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: unraisableexception, Hook: pytest_runtest_call PytestUnraisableExceptionWarning: Exception ignored in PyObject_HasAttrString(); consider using PyObject_HasAttrStringWithError(), PyObject_GetOptionalAttrString() or PyObject_GetAttrString(): None Traceback (most recent call last): File "/home/runner/work/pybind11/pybind11/tests/test_virtual_functions.py", line 291, in test_recursive_dispatch_issue m.add3(Data(1), Data(2), Data(3), Adder(), store) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StoreResultVisitor' object has no attribute '__code__'. Did you mean: '__call__'? For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
🐍 3.13 • ubuntu-20.04 • x64
Process completed with exit code 2.
Manylinux on 🐍 3.13t • GIL
Process completed with exit code 2.
🐍 pypy-3.10 • ubuntu-20.04 • x64: tests/test_callbacks.py#L115
test_cpp_correct_overload_resolution SystemError: An exception was set, but function returned a value
🐍 pypy-3.10 • ubuntu-20.04 • x64: tests/test_virtual_functions.py#L286
test_recursive_dispatch_issue SystemError: An exception was set, but function returned a value
🐍 pypy-3.10 • ubuntu-20.04 • x64
Process completed with exit code 2.
🐍 3.13 • macos-13 • x64
Process completed with exit code 2.
🐍 3.13 • windows-2022 • x64
Process completed with exit code 1.
🐍 pypy-3.8 • ubuntu-20.04 • x64 -DPYBIND11_FINDPYTHON=ON: tests/test_callbacks.py#L115
test_cpp_correct_overload_resolution SystemError: An exception was set, but function returned a value
🐍 pypy-3.8 • ubuntu-20.04 • x64 -DPYBIND11_FINDPYTHON=ON: tests/test_callbacks.py#L133
test_cpp_function_roundtrip SystemError: Function returned a NULL result without setting an exception
🐍 pypy-3.8 • ubuntu-20.04 • x64 -DPYBIND11_FINDPYTHON=ON: tests/test_virtual_functions.py#L286
test_recursive_dispatch_issue SystemError: An exception was set, but function returned a value
🐍 pypy-3.8 • ubuntu-20.04 • x64 -DPYBIND11_FINDPYTHON=ON
Process completed with exit code 2.
🐍 pypy-3.9 • ubuntu-20.04 • x64: tests/test_callbacks.py#L115
test_cpp_correct_overload_resolution SystemError: An exception was set, but function returned a value
🐍 pypy-3.9 • ubuntu-20.04 • x64: tests/test_virtual_functions.py#L286
test_recursive_dispatch_issue SystemError: An exception was set, but function returned a value
🐍 pypy-3.9 • ubuntu-20.04 • x64
Process completed with exit code 2.
🐍 pypy-3.9 • macos-13 • x64
Process completed with exit code 2.
🐍 pypy-3.10 • windows-2022 • x64
Process completed with exit code 1.
🐍 pypy-3.10 • macos-13 • x64
Process completed with exit code 2.
🐍 pypy-3.8 • windows-2022 • x64
Process completed with exit code 1.
🐍 pypy-3.9 • windows-2022 • x64
Process completed with exit code 1.
🐍 pypy-3.8 • macos-13 • x64
Process completed with exit code 2.