Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1830801 - python-blist fails to build with Python 3.9: undefined symbol: _PyObject_GC_IS_TRACKED
Summary: python-blist fails to build with Python 3.9: undefined symbol: _PyObject_GC_I...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blist
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Alexandre Salim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-05-03 22:53 UTC by Miro Hrončok
Modified: 2020-05-12 07:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-12 04:29:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 Alexandre Salim 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.


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