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 1704219 - python-tblib 1.3.2-8.fc31 FTBFS with Python 3.8
Summary: python-tblib 1.3.2-8.fc31 FTBFS with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tblib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-04-29 11:26 UTC by Miro Hrončok
Modified: 2019-08-24 08:59 UTC (History)
2 users (show)

Fixed In Version: python-tblib-1.4.0-4.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-24 08:59:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ionelmc python-tblib issues 40 0 None None None 2019-05-06 16:03:56 UTC

Description Miro Hrončok 2019-04-29 11:26:01 UTC
Check: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-tblib/

The package hangs for 21+ hours after pytest:

+ PYTHONPATH=/builddir/build/BUILDROOT/python-tblib-1.3.2-8.fc31.x86_64/usr/lib/python3.8/site-packages:tests
+ py.test-3.8 -ra tests README.rst
============================= test session starts ==============================
platform linux -- Python 3.8.0a3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /builddir/build/BUILD/tblib-1.3.2, inifile: setup.cfg
collected 1 item

README.rst .                                                             [100%]

=========================== 1 passed in 0.15 seconds ===========================
 !! Copr timeout => sending INT

Comment 1 Elliott Sales de Andrade 2019-05-06 06:41:53 UTC
Can you try again with 1.4.0? I don't really see how it would fix anything, but maybe we're lucky?

Comment 3 Miro Hrončok 2019-05-06 15:55:56 UTC
Smells like a deadlock:

<mock-chroot> sh-5.0# PYTHONPATH=/builddir/build/BUILDROOT/python-tblib-1.4.0-1.fc31.x86_64/usr/lib/python3.8/site-packages:tests py.test-3.8 README.rst
============================================== test session starts ==============================================
platform linux -- Python 3.8.0a3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /builddir/build/BUILD/tblib-1.4.0, inifile: setup.cfg
collected 1 item                                                                                                

README.rst .                                                                                              [100%]

=========================================== 1 passed in 0.08 seconds ============================================
^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python3.8/multiprocessing/util.py", line 265, in _run_finalizers
    finalizer()
  File "/usr/lib64/python3.8/multiprocessing/util.py", line 189, in __call__
    res = self._callback(*self._args, **self._kwargs)
  File "/usr/lib64/python3.8/multiprocessing/pool.py", line 689, in _terminate_pool
    cls._help_stuff_finish(inqueue, task_handler, len(pool))
  File "/usr/lib64/python3.8/multiprocessing/pool.py", line 674, in _help_stuff_finish
    inqueue._rlock.acquire()
KeyboardInterrupt

Let's report upstream (tblib) and see if this isn't a Python bug.

Comment 4 Miro Hrončok 2019-05-06 16:03:57 UTC
https://github.com/ionelmc/python-tblib/issues/40

Comment 6 Elliott Sales de Andrade 2019-05-16 04:41:47 UTC
OK, I can backport this if there's no release and it appears necessary.

Comment 7 Miro Hrončok 2019-05-16 07:47:28 UTC
It only blocks python-pyphi and that doesn't block anything. So until we proceed with the side tag, I'm good.

Comment 8 Ben Cotton 2019-08-13 16:48:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 9 Miro Hrončok 2019-08-14 22:24:12 UTC
The coordinated rebuild of Python 3.8 has started in the `f32-python` side tag.

If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead:

    on branch master:
    $ fedpkg build --target=f32-python

To wait for a build to show up in the side tag, do:

    $ koji wait-repo f32-python --build=<nvr>

Where <nvr> is name-version-release of the source package, e.g. python-foo-1.1-2.fc32.

An updated mock config is posted at:
http://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Note that it will take a while before the essential packages are rebuilt, so don't expect all your dependencies to be available right away.

Thanks. Let us know if you need up to date info, or if you have any questions.



PS this message is mass posted to all the bugs that block the PYTHON38 bug. If this is also a Fedora 31 FTBFS bug and you manage to fix it, you can do a f31 build as usual:

    on branch f31:
    $ fedpkg build

Comment 10 Miro Hrončok 2019-08-21 16:34:26 UTC
The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged:

  $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32


If your built already started in f32-python, after it is finished, please tag it to rawhide with:

  $ koji tag-build f32-pending <nvr>

For example:

  $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32

Thanks!

(This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.)

Comment 11 Miro Hrončok 2019-08-21 17:29:01 UTC
(Python 3.8 has landed in the rawhide buildroot.)

Comment 12 Elliott Sales de Andrade 2019-08-24 08:59:23 UTC
Backported the patches to fix this.


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