Hello, I'm trying to install Koji via pip for our CI runs, but I get the following error when it installs the Koji dependency rpm-py-installer:
rpm-py-installer
Collecting rpm-py-installer (from koji->-r /srv/jenkins/workspace/fm-orchestrator/requirements.txt (line 12)) Using cached rpm-py-installer-0.5.0.tar.gz Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info/rpm_py_installer.egg-info writing top-level names to pip-egg-info/rpm_py_installer.egg-info/top_level.txt writing dependency_links to pip-egg-info/rpm_py_installer.egg-info/dependency_links.txt writing pip-egg-info/rpm_py_installer.egg-info/PKG-INFO writing manifest file 'pip-egg-info/rpm_py_installer.egg-info/SOURCES.txt' reading manifest file 'pip-egg-info/rpm_py_installer.egg-info/SOURCES.txt' writing manifest file 'pip-egg-info/rpm_py_installer.egg-info/SOURCES.txt' [INFO] Installing... [INFO] Created working directory '/tmp/tmpb3cDxR-rpm-py-installer' [INFO] Downloading source by git clone. 'branch: origin/master' [ERROR] CMD: [git clone -b origin/master --depth=1 https://github.com/rpm-software-management/rpm.git], Return Code: [128] at [/tmp/tmpb3cDxR-rpm-py-installer] Stderr: [Cloning into 'rpm'... warning: Could not find remote branch origin/master to clone. fatal: Remote branch origin/master not found in upstream origin ] Traceback (most recent call last): File "install.py", line 1069, in <module> main() File "install.py", line 1064, in main app.run() File "install.py", line 38, in run self.rpm_py.download_and_install() File "install.py", line 170, in download_and_install top_dir_name = self.downloader.download_and_expand() File "install.py", line 332, in download_and_expand top_dir_name = self._download_and_expand_by_git() File "install.py", line 379, in _download_and_expand_by_git self._do_git_clone() File "install.py", line 416, in _do_git_clone Cmd.sh_e(git_clone_cmd) File "install.py", line 900, in sh_e raise e __main__.InstallError: CMD: [git clone -b origin/master --depth=1 https://github.com/rpm-software-management/rpm.git], Return Code: [128] at [/tmp/tmpb3cDxR-rpm-py-installer] Stderr: [Cloning into 'rpm'... warning: Could not find remote branch origin/master to clone. fatal: Remote branch origin/master not found in upstream origin
Is cloning from GitHub not allowed on Fedora's Jenkins? Could there be an exception somehow for this?
This was actually caused by this issue: https://github.com/junaruga/rpm-py-installer/issues/104
Closing now.
Metadata Update from @mprahl: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.