Bug 1830801

Summary: python-blist fails to build with Python 3.9: undefined symbol: _PyObject_GC_IS_TRACKED
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-blistAssignee: Michel Lind <michel>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, igor.raits, mhroncok, michel, mplch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-12 04:29:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1785415    

Description Miro Hrončok 2020-05-03 22:53:27 UTC
python-blist fails to build with Python 3.9.0a6.

ERROR: test_blist (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_blist
Traceback (most recent call last):
  File "/usr/lib64/python3.9/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/builddir/build/BUILD/blist-1.3.6/test_blist.py", line 40, in <module>
    import blist, pickle
  File "/builddir/build/BUILD/blist-1.3.6/blist/__init__.py", line 2, in <module>
    from blist._blist import *
ImportError: /builddir/build/BUILD/blist-1.3.6/blist/_blist.cpython-39-x86_64-linux-gnu.so: undefined symbol: _PyObject_GC_IS_TRACKED


The _PyObject_GC_IS_TRACKED symbol has been moved to the internal API:
https://github.com/python/cpython/pull/19494


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01365452-python-blist/

For all our attempts to build python-blist with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-blist/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Michel Lind 2020-05-12 04:29:31 UTC
Upstream has unfortunately been inactive for years - even the py37 compatibility patch didn't get merged after 2 years and several comments on the PR. The only dependent is python-ujson which no longer needs blist as of its 2.0.0 stable release in March (latest is now 2.0.3), and Igor just updated Rawhide with the newest version.

I've retired the package, hopefully it gets auto-removed from the COPR repo?

Comment 2 Miro Hrončok 2020-05-12 07:04:36 UTC
> I've retired the package, hopefully it gets auto-removed from the COPR repo?

Thanks.

I'll get notified once the retirement propagates to Koji and I semi-automatically remove such packages from the copr repo.