add argument number dispatch mechanism for std::function casting #8150
ci.yml
on: pull_request
Manylinux on 🐍 3.13t • GIL
4m 34s
🐍 3.10 • CUDA 12.2 • Ubuntu 22.04
6m 19s
🐍 3 • NVHPC 23.5 • C++17 • x64
15m 21s
🐍 3 • ICC latest • x64
12m 35s
🐍 3.9 • Debian • x86 • Install
3m 39s
Documentation build test
48s
macos-13 • brew install llvm
8m 31s
Matrix: centos
Matrix: clang
Matrix: deadsnakes
Matrix: gcc
Matrix: mingw
Matrix: standard
Matrix: win32-debug
Matrix: win32
Matrix: windows-2022
Matrix: windows_clang
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 127, 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#L116
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 • windows-2022 • x64
Process completed with exit code 1.
|
🐍 pypy-3.9 • ubuntu-20.04 • x64:
tests/test_callbacks.py#L116
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.8 • ubuntu-20.04 • x64 -DPYBIND11_FINDPYTHON=ON:
tests/test_callbacks.py#L116
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#L134
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.10 • macos-13 • x64
Process completed with exit code 2.
|
🐍 3.13 • macos-13 • x64
Process completed with exit code 2.
|
🐍 pypy-3.10 • windows-2022 • x64
Process completed with exit code 1.
|
🐍 pypy-3.8 • macos-13 • x64
Process completed with exit code 2.
|
🐍 pypy-3.9 • windows-2022 • x64
Process completed with exit code 1.
|
🐍 pypy-3.8 • windows-2022 • x64
Process completed with exit code 1.
|
🐍 pypy-3.9 • macos-13 • x64
Process completed with exit code 2.
|