Koji only supports python3 for the cli and the core library so far. The
builder definitely does not support python3 right now.
Our spec has an explicit python2-koji requires for the builder package,
Fedora's does not for some reason.
Python3 support was added to the client in 1.13. The change was described
here:
https://docs.pagure.org/koji/release_notes_1.13/
On Tue, Nov 28, 2017 at 4:23 PM, John Florian <john(a)doubledog.org> wrote:
I am deploying a new builder on Fedora 27 and am getting
`ImportError:
No module named koji`. In comparing this with my other CentOS 7
builders, I see the difference appears to be that they have python2-
koji while the F27 builder has python3-koji. If I install python2-koji
the builder is able to start successfully.
First this seems like a packaging bug somehow. I'd blame the deps, but
I get the desire to be moving to Python 3 where possible. So I imagine
that there's some config option that tells the builder which to use? I
looked at a virgin kojid.conf but didn't see any hint. Nor did I in
the 1.14 release notes. What am I missing?
_______________________________________________
koji-devel mailing list -- koji-devel(a)lists.fedorahosted.org
To unsubscribe send an email to koji-devel-leave(a)lists.fedorahosted.org