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 1706194 - clufter FTBFS with Python 3.8
Summary: clufter FTBFS with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: clufter
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jan Pokorný [poki]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38 1731537
TreeView+ depends on / blocked
 
Reported: 2019-05-03 18:58 UTC by Charalampos Stratakis
Modified: 2019-08-15 00:08 UTC (History)
3 users (show)

Fixed In Version: clufter-0.77.2-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-15 00:08:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (351.00 KB, text/plain)
2019-05-03 18:58 UTC, Charalampos Stratakis
no flags Details

Description Charalampos Stratakis 2019-05-03 18:58:09 UTC
Created attachment 1562648 [details]
Full log from Copr

clufter fails to build with Python 3.8:

It seems there are many issues when running the tests and not only isolated to a specific one. One of those is already reported [0].

Full log attached.

[0] https://pagure.io/clufter/issue/5

Comment 1 Miro Hrončok 2019-07-10 10:54:17 UTC
Please respond.

Comment 2 Miro Hrončok 2019-08-06 09:21:58 UTC
Note: If the package doesn't rebuild with Python 3.8, it won't be installable in Fedora 32.

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

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

Comment 8 Miro Hrončok 2019-08-13 17:40:54 UTC
Python 3.8 will happen in Fedora 32, changing back to rawhide.

Comment 9 Jan Pokorný [poki] 2019-08-14 14:48:13 UTC
This shall be fixed in Rawhide and I am planning to respin f31 and f30
as well.

Indeed, there were couple of Python 3.8 related obstacles:
https://github.com/jnpkrn/clufter/compare/v0.77.1...v0.77.2

At this point, thanks for convenient instructions at
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/,
really saved me some time and effort.

Let me know if there are any other issues.

Comment 10 Miro Hrončok 2019-08-14 14:55:58 UTC
Thanks but %check still fails with Python 3.8:

Traceback (most recent call last):
  File "run-dev", line 87, in <module>
    from . import __main__
  File "/builddir/build/BUILD/clufter-0.77.2/clufter/__main__.py", line 11, in <module>
    from .main import run
  File "/builddir/build/BUILD/clufter-0.77.2/clufter/main.py", line 23, in <module>
    from distro import linux_distribution
ModuleNotFoundError: No module named 'distro'

https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/01001581-clufter/

Comment 11 Jan Pokorný [poki] 2019-08-14 15:09:58 UTC
Thanks for spotting this, matter of prefilled mock root and me
forgetting to add that BR.

Just rechecking the fix and will rebuild shortly.

Comment 12 Jan Pokorný [poki] 2019-08-14 16:02:15 UTC
I'd close this bug if clufter-0.77.2-2.fc32 works better
(fingers crossed -- if not, like the automatic dependency
extraction doesn't work so universally and extra Requires
will be needed as well).

Comment 13 Miro Hrončok 2019-08-14 22:24:10 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 14 Miro Hrončok 2019-08-15 00:08:47 UTC
(In reply to Jan Pokorný [poki] from comment #12)
> I'd close this bug if clufter-0.77.2-2.fc32 works better
> (fingers crossed -- if not, like the automatic dependency
> extraction doesn't work so universally and extra Requires
> will be needed as well).

That built and requires python3-distro. Thanks.


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