add argument number dispatch mechanism for std::function casting #8144
ci.yml
on: pull_request
Manylinux on π 3.13t β’ GIL
4m 41s
π 3.10 β’ CUDA 12.2 β’ Ubuntu 22.04
6m 27s
π 3 β’ NVHPC 23.5 β’ C++17 β’ x64
7m 39s
π 3 β’ ICC latest β’ x64
7m 42s
π 3.9 β’ Debian β’ x86 β’ Install
3m 41s
Documentation build test
54s
macos-13 β’ brew install llvm
7m 39s
Matrix: centos
Matrix: clang
Matrix: deadsnakes
Matrix: gcc
Matrix: mingw
Matrix: standard
Matrix: win32-debug
Matrix: win32
Matrix: windows-2022
Matrix: windows_clang
Annotations
63 errors
π 3.11 (deadsnakes) β’ x64
Process completed with exit code 2.
|
π 3.10 β’ windows-latest β’ clang-latest
Process completed with exit code 1.
|
π 3.9 β’ MSVC 2022 C++20 β’ x64
Process completed with exit code 1.
|
π 3.12 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 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.
|
π pypy-3.8 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3.8 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π pypy-3.10 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π pypy-3.9 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
Manylinux on π 3.13t β’ GIL
Process completed with exit code 2.
|
π 3.9 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3.9 β’ windows-2019 β’ x64
Process completed with exit code 1.
|
π 3.8 β’ windows-2019 β’ x64 -DPYBIND11_FINDPYTHON=ON
Process completed with exit code 1.
|
π 3.9 β’ MSVC 2019 (Debug) β’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
|
π 3.11 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
|
π 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 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3.8 β’ MSVC 2019 (Debug) β’ x86 -DCMAKE_CXX_STANDARD=17
Process completed with exit code 1.
|
π 3.13 β’ macos-13 β’ x64
Process completed with exit code 2.
|
π 3.10 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
|
π 3.12 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
|
π 3.9 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=20
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.
|
π 3.8 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=17
Process completed with exit code 1.
|
π 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.10 β’ macos-13 β’ x64
Process completed with exit code 2.
|
π 3.11 β’ ubuntu-latest β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3.11 β’ ubuntu-latest β’ x64
The operation was canceled.
|
π 3 β’ windows-latest β’ mingw64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3 β’ windows-latest β’ mingw64
The operation was canceled.
|
π 3 β’ windows-latest β’ mingw32
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3 β’ windows-latest β’ mingw32
The operation was canceled.
|
π 3 β’ NVHPC 23.5 β’ C++17 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3 β’ NVHPC 23.5 β’ C++17 β’ x64
The operation was canceled.
|
π 3 β’ ICC latest β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3 β’ ICC latest β’ x64
The operation was canceled.
|
π 3.9 β’ ubuntu-20.04 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3.9 β’ ubuntu-20.04 β’ x64
The operation was canceled.
|
π 3.8 β’ macos-13 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3.8 β’ macos-13 β’ x64
The operation was canceled.
|
π pypy-3.8 β’ macos-13 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π pypy-3.8 β’ macos-13 β’ x64
The operation was canceled.
|
macos-13 β’ brew install llvm
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
macos-13 β’ brew install llvm
The operation was canceled.
|
π 3.8 β’ ubuntu-20.04 β’ x64 -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_FLAGS="-D_=1"
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3.8 β’ ubuntu-20.04 β’ x64 -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_FLAGS="-D_=1"
The operation was canceled.
|
π pypy-3.9 β’ macos-13 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π pypy-3.9 β’ macos-13 β’ x64
The operation was canceled.
|
π 3.12 β’ macos-13 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3.12 β’ macos-13 β’ x64
The operation was canceled.
|
π 3.12 β’ ubuntu-20.04 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3.12 β’ ubuntu-20.04 β’ x64
The operation was canceled.
|
π 3.9 β’ macos-13 β’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5285/merge' exists
|
π 3.9 β’ macos-13 β’ x64
The operation was canceled.
|