Bug 1758474 - pybind11: FTBFS with Python 3.8.0rc1
Summary: pybind11: FTBFS with Python 3.8.0rc1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pybind11
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL: http://koschei.fedoraproject.org/pack...
Whiteboard:
Depends On:
Blocks: F32FTBFS PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-10-04 09:10 UTC by Miro Hrončok
Modified: 2019-10-08 17:24 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-10-08 17:03:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pybind pybind11 issues 1946 0 None closed Test failure with Python 3.8.0 2020-12-22 16:09:18 UTC

Description Miro Hrončok 2019-10-04 09:10:29 UTC
Description of problem:
Package pybind11 fails to build from source in Fedora rawhide with Python 3.8.0rc1:

_____________________________ test_class_refcount ______________________________
    @pytest.unsupported_on_pypy
    def test_class_refcount():
        """Instances must correctly increase/decrease the reference count of their types (#1029)"""
        from sys import getrefcount
    
        class PyDog(m.Dog):
            pass
    
        for cls in m.Dog, PyDog:
            refcount_1 = getrefcount(cls)
            molly = [cls("Molly") for _ in range(10)]
            refcount_2 = getrefcount(cls)
    
            del molly
            pytest.gc_collect()
            refcount_3 = getrefcount(cls)
    
>           assert refcount_1 == refcount_3
E           assert 6 == 16
test_class.py:255: AssertionError

Version-Release number of selected component (if applicable):
2.4.2-1.fc32

Steps to Reproduce:
koji build --scratch f32 pybind11-2.4.2-1.fc32.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://koschei.fedoraproject.org/package/pybind11

Comment 1 Susi Lehtola 2019-10-04 16:47:05 UTC
Reported upstream at https://github.com/pybind/pybind11/issues/1946

Comment 2 Miro Hrončok 2019-10-08 17:24:43 UTC
Awesome!


Note You need to log in before you can comment on or make changes to this bug.