On Mon, May 13, 2019 at 2:28 PM John Florian <jflorian(a)doubledog.org> wrote:
On 5/13/19 11:58 AM, Neal Gompa wrote:
> On Mon, May 13, 2019 at 11:40 AM John Florian <jflorian(a)doubledog.org> wrote:
>> Is this intended? The shebang in /usr/sbin/kojid wants python2. From
>> what I read of the PR[0], librepo is preferred over yum. However, Fedora
>> 30 no longer has python2-librepo. It does have python3-librepo. But as
>> things are packaged, it would seem that it's required to use yum or hold
>> builders back on Fedora 29.
>>
> This is unfortunately intentional. I would have switched everything
> over, but I'm still waiting for imagefactory to switch to Python 3[1].
>
> I wish someone would deal with that now, since koji is now broken in
> Fedora 31 (there is no librepo Python 2 bindings or yum in Rawhide).
>
> [1]:
https://github.com/redhat-imaging/imagefactory/pull/424
>
>
>
Thanks for the info Neal. I suspected it was some dependency like this,
but was having no luck in finding out for certain. I don't (think I)
use imagefactory. I make ISOs with the livemedia-creator via
spin-livemedia tasks. Is librepo so much more preferable to yum that I
might be better editing the shebang? Do they yield the same results and
librepo is just faster? It's a lot of ecosystem to try to keep up
with. I'm similarly lost with what's happening with Sigul.
If you're not using imagefactory, editing the shebang to use python3
will work fine. Just make sure python3-librepo and python3-dnf are
installed.
As for Sigul...? Patrick is doing something there:
https://pagure.io/fork/puiterwijk/sigul/commits/py3
But unfortunately, he hasn't gotten back to working on this in a while...
--
真実はいつも一つ!/ Always, there's only one truth!