Bug 1715257 - koji-builder requires both /usr/bin/python2 and /usr/bin/python3
Summary: koji-builder requires both /usr/bin/python2 and /usr/bin/python3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: koji
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike McLean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3-PYTHON2
TreeView+ depends on / blocked
 
Reported: 2019-05-30 00:16 UTC by Miro Hrončok
Modified: 2019-05-31 07:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-31 02:40:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-05-30 00:16:46 UTC
$ repoquery --repo=compose --requires koji-builder | grep python
/usr/bin/python2
/usr/bin/python3
python3-cheetah
python3-koji = 1.17.0-6.fc31
python3-librepo
python3-multilib

$ repoquery --repo=compose koji-builder
koji-builder-0:1.17.0-6.fc31.noarch

$ head -n1 /usr/libexec/kojid/mergerepos
#!/usr/bin/python2


$ grep import /usr/libexec/kojid/mergerepos
from __future__ import absolute_import
import createrepo
import os.path
import rpmUtils.miscutils
import shutil
import sys
import tempfile
import yum
import yum.misc
from optparse import OptionParser


This file cannot work without python2-createrepo and python2-yum. Since that, the dependency solely on /usr/bin/python2 is useles and this file should be excluded form the package, or kept without executable permission, or if absolutely desired to be kept as is, the dependency shall be filtered out.

Comment 1 Kevin Fenzi 2019-05-30 17:04:33 UTC
Yeah, I will just drop the file... will try and do a build today.

Comment 2 Kevin Fenzi 2019-05-31 02:40:44 UTC
Fixed in rawhide. https://koji.fedoraproject.org/koji/rpminfo?rpmID=17662411

Comment 3 Miro Hrončok 2019-05-31 07:27:53 UTC
Thanks.


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