Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928005 - dev-python/pybind11-2.12.0 fails tests
Summary: dev-python/pybind11-2.12.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-28 07:39 UTC by Agostino Sarubbo
Modified: 2024-03-28 10:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,578.95 KB, text/plain)
2024-03-28 07:39 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-28 07:39:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pybind11-2.12.0 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-28 07:39:03 UTC
Created attachment 888868 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-28 07:39:04 UTC
Error(s) that match a know pattern:


E       AttributeError: module 'pybind11_tests.call_policies' has no attribute 'ParentGC'
E       AttributeError: module 'pybind11_tests.methods_and_attributes' has no attribute 'DynamicClass'
E       AttributeError: module 'pybind11_tests.pickling' has no attribute 'PickleableWithDict'
E       AttributeError: module 'pybind11_tests.pickling' has no attribute 'PickleableWithDictNew'
E       AttributeError: module 'sys' has no attribute 'getrefcount'
E       ImportError: cannot import name 'getrefcount' from 'sys' (unknown location)
Error: cmake execution failed
E       RuntimeError: eval_file not supported in PyPy3. Use eval
E       TypeError: object.__new__() takes exactly one argument (the type to instantiate)
FAILED: tests/test_cmake_build/CMakeFiles/test_build_installed_function /var/tmp/portage/dev-python/pybind11-2.12.0/work/pybind11-2.12.0_build-pypy3/tests/test_cmake_build/CMakeFiles/test_build_installed_function 
KeyError: 'bar'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_buffers.py:11: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_builtin_casters.py:320: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_builtin_casters.py:488: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_eigen_matrix.py:5: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_eigen_tensor.py:5: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_exceptions.py:365: PyErr_NormalizeException Segmentation fault
SKIPPED [1] ../../pybind11-2.12.0/tests/test_numpy_array.py:6: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_numpy_dtypes.py:9: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_numpy_vectorize.py:5: could not import 'numpy': No module named 'numpy'
SKIPPED [1] ../../pybind11-2.12.0/tests/test_stl_binders.py:89: could not import 'numpy': No module named 'numpy'
Comment 3 Larry the Git Cow gentoo-dev 2024-03-28 10:56:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2d4e07f290be97290cddf5548205f611891773

commit 0a2d4e07f290be97290cddf5548205f611891773
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-03-28 10:42:26 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-03-28 10:42:58 +0000

    dev-python/pybind11: Revert "Bump to 2.12.0"
    
    I'm sorry, I was supposed to remove this one while rebasing.
    
    Reverts: 5f221bdeb641ac09a0d9ac07348f39d1e1a76f42
    Closes: https://bugs.gentoo.org/928005
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pybind11/Manifest               |  1 -
 dev-python/pybind11/pybind11-2.12.0.ebuild | 68 ------------------------------
 2 files changed, 69 deletions(-)