#16 Koji plugin needs to be python2 compatible
Closed: Invalid 4 years ago by cverna. Opened 4 years ago by cverna.

Hi guys, I was looking for inspiration on how to do unit tests for a koji plugin and I noticed that some of the code of rpmautospec is using features that are only available in python3 (like f-strings).

Koji running in Fedora infra is running on python 2.7 on a rhel7 host, so I think you will want to have code that is python2 and python3 compatible.


Our assumptions is/was that the koji plugin will be executed on the builders which are all Fedora as I understand it

Our assumptions is/was that the koji plugin will be executed on the builders which are all Fedora as I understand it

Ah ok I did not know that you could have plugins only on the builders. I thoughts plugins were installed on the hub but I don't know koji that well :-)

Let's close this then :-)

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

4 years ago

Login to comment on this ticket.

Metadata