Bug 1792968 - python-nine fails to build with Python 3.9: _dummy_thread and dummy_threading modules have been removed
Summary: python-nine fails to build with Python 3.9: _dummy_thread and dummy_threading...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nine
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan ONDREJ
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-20 13:04 UTC by Miro Hrončok
Modified: 2020-01-22 17:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-22 12:49:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-20 13:04:02 UTC
python-nine fails to build with Python 3.9.0a2.

======================================================================
ERROR: test_import (nine.test_nine.TestNine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/nine-0.3.4/nine/test_nine.py", line 21, in test_import
    assert nimport(key)
  File "/builddir/build/BUILD/nine-0.3.4/nine/__init__.py", line 208, in nimport
    module = import_module(module)
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1016, in _gcd_import
  File "<frozen importlib._bootstrap>", line 993, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_dummy_thread'
----------------------------------------------------------------------

See https://docs.python.org/3.9/whatsnew/3.9.html#removed

"_dummy_thread and dummy_threading modules have been removed. These modules were deprecated since Python 3.7 which requires threading support."

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

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

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 Victor Stinner 2020-01-20 13:12:51 UTC
I proposed a fix upstream: https://github.com/nandoflorestan/nine/pull/4

Comment 3 Jan ONDREJ 2020-01-22 12:49:56 UTC
Build of nine-1.1.0 done in rawhide.
https://bodhi.fedoraproject.org/updates/FEDORA-2020-2bd55b9a81

Thanks to all for participating.

Comment 4 Victor Stinner 2020-01-22 17:02:31 UTC
Great, that was quick! I didn't notice that 1.1.0 was already released (yesterday).


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