#1488 pungi is failing with due to circular import (not sure)
Closed: Fixed by mohanboddu. Opened by mohanboddu.

We updated the rawhide compose box to F33 with pungi-4.2.7-2.fc33.noarch running, the recent compose failed with:

cannot import name 'GatherMethodContainer' from partially initialized module 'pungi.phases.gather.method' (most likely due to a circular import) (/usr/lib/python3.9/site-packages/pungi/phases/gather/method.py)

But I dont seem to find the circular import as method.py is only importing kobo.plugins

Thanks for the help.


This could be something with kobo.plugins which does imports on its own.

I can't replicate it, so I'm only guessing. One option might be to stop using that library: #1489

This compose was done with the linked patch and it was more-or-less successful.
https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20210127.n.1/

Thanks @lsedlar the patch seemed to work.

Closing the ticket.

Metadata Update from @mohanboddu:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Commit c87fce30 relates to this ticket

Commit 0f4b0577 relates to this ticket

Commit 83458f26 relates to this ticket

Metadata Update from @onosek:
- Issue set to the milestone: 4.2.8

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/1488

Please continue any further discussion there.

Metadata
Related Pull Requests