Summary: | dev-python/pybind11-2.12.0: fails tests on hppa | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Jason Zaman <perfinion> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | hppa, matoro_gentoo, python |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | HPPA | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=929173 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log and emerge --info |
Description
Sam James
2023-08-26 01:58:07 UTC
Sorry, the actual failure is this I think: ``` =================================== FAILURES =================================== _____________ test_round_trip[pybind11_tests.eigen_tensor.c_style] _____________ m = <module 'pybind11_tests.eigen_tensor.c_style'> @pytest.mark.parametrize("m", submodules) def test_round_trip(m): assert_equal_tensor_ref(m.round_trip_tensor(tensor_ref)) with pytest.raises(TypeError, match="^Cannot cast array data from"): assert_equal_tensor_ref(m.round_trip_tensor2(tensor_ref)) assert_equal_tensor_ref(m.round_trip_tensor2(np.array(tensor_ref, dtype=np.int32))) assert_equal_tensor_ref(m.round_trip_fixed_tensor(tensor_ref)) > assert_equal_tensor_ref(m.round_trip_aligned_view_tensor(m.reference_tensor())) E TypeError: round_trip_aligned_view_tensor(): incompatible function arguments. The following argument types are supported: E 1. (arg0: numpy.ndarray[numpy.float64[?, ?, ?], flags.writeable, flags.c_contiguous]) -> numpy.ndarray[numpy.float64[?, ?, ?], flags.writeable, flags.c_contiguous] E E Invoked with: array([[[ 0., 1.], E [ 2., 3.], E [ 4., 5.], E [ 6., 7.], E [ 8., 9.]], E E [[10., 11.], E [12., 13.], E [14., 15.], E [16., 17.], E [18., 19.]], E E [[20., 21.], E [22., 23.], E [24., 25.], E [26., 27.], E [28., 29.]]]) m = <module 'pybind11_tests.eigen_tensor.c_style'> ../../pybind11-2.11.1/tests/test_eigen_tensor.py:215: TypeError _____________ test_round_trip[pybind11_tests.eigen_tensor.f_style] _____________ m = <module 'pybind11_tests.eigen_tensor.f_style'> @pytest.mark.parametrize("m", submodules) def test_round_trip(m): assert_equal_tensor_ref(m.round_trip_tensor(tensor_ref)) with pytest.raises(TypeError, match="^Cannot cast array data from"): assert_equal_tensor_ref(m.round_trip_tensor2(tensor_ref)) assert_equal_tensor_ref(m.round_trip_tensor2(np.array(tensor_ref, dtype=np.int32))) assert_equal_tensor_ref(m.round_trip_fixed_tensor(tensor_ref)) > assert_equal_tensor_ref(m.round_trip_aligned_view_tensor(m.reference_tensor())) E TypeError: round_trip_aligned_view_tensor(): incompatible function arguments. The following argument types are supported: E 1. (arg0: numpy.ndarray[numpy.float64[?, ?, ?], flags.writeable, flags.f_contiguous]) -> numpy.ndarray[numpy.float64[?, ?, ?], flags.writeable, flags.f_contiguous] E E Invoked with: array([[[ 0., 1.], E [ 2., 3.], E [ 4., 5.], E [ 6., 7.], E [ 8., 9.]], E E [[10., 11.], E [12., 13.], E [14., 15.], E [16., 17.], E [18., 19.]], E E [[20., 21.], E [22., 23.], E [24., 25.], E [26., 27.], E [28., 29.]]]) m = <module 'pybind11_tests.eigen_tensor.f_style'> ../../pybind11-2.11.1/tests/test_eigen_tensor.py:215: TypeError ``` Created attachment 895890 [details]
build.log and emerge --info
Only one of these remaining on 2.12.0.
FAILED ../../pybind11-2.12.0/tests/test_eigen_tensor.py::test_round_trip[pybind11_tests.eigen_tensor.f_style] - TypeError: round_trip_aligned_view_tensor(): incompatible function arguments. The following argument types are supported:
|