Bug 1737270 - python-cliapp fails to build with Python 3.8 [NEEDINFO]
Summary: python-cliapp fails to build with Python 3.8
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cliapp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Michel Alexandre Salim
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F32FTBFS F32FailsToInstall PYTHON38
TreeView+ depends on / blocked
Reported: 2019-08-04 22:35 UTC by Miro Hrončok
Modified: 2019-10-18 08:50 UTC (History)
1 user (show)

Fixed In Version: python-cliapp-1.20180121-5.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-10-18 08:50:35 UTC
Type: Bug
mhroncok: needinfo? (michel)

Attachments (Terms of Use)

Description Miro Hrončok 2019-08-04 22:35:33 UTC
python-cliapp fails to build with Python 3.8.0b3.

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XZgUUw
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-cliapp-1.20180121
+ rm -rf build
+ /usr/bin/python3 -m CoverageTestRunner --ignore-missing-from=without-tests
/usr/lib/python3.8/site-packages/CoverageTestRunner.py:22: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
error: Bad exit status from /var/tmp/rpm-tmp.XZgUUw (%check)


Statements missed by per-module tests:
  Module             Missed statements
  cliapp/runcmd.py   223

0 failures, 0 errors
291 excluded statements
14 excluded modules
Time: 2.5 s

This seems like a DeprecationWarning turned into an error.

For the build logs, see:

For all our attempts to build python-cliapp with Python 3.8, see:

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.8:

Let us know here if you have any questions.

Comment 1 Ben Cotton 2019-08-13 17:09:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 18:34:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Miro Hrončok 2019-08-14 22:24:51 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:

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 4 Miro Hrončok 2019-08-21 16:35:39 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-


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

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

Comment 6 Miro Hrončok 2019-09-16 08:52:47 UTC
This issue is blocking the Python 3.8 rebuilds. If this package won't build with 3.8, it won't be installable, along with all its dependent packages, in Fedora 32.
Furthermore, as it fails to install, its dependent packages will fail to install and/or build as well.

Could you please look into this?

Comment 7 Zbigniew Jędrzejewski-Szmek 2019-10-18 08:50:35 UTC
Built in rawhide.

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