#448 Fix python3 deps
Merged 6 years ago by mikem. Opened 6 years ago by mikem.
mikem/koji fix-py3-deps  into  master

file modified
+11 -1
@@ -82,7 +82,7 @@ 

  Summary: Build system tools python library

  %{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}

  BuildRequires: python%{python3_pkgversion}-devel

- Requires: python%{python3_pkgversion}-rpm

+ Requires: rpm-python%{python3_pkgversion}

  Requires: python%{python3_pkgversion}-pyOpenSSL

  Requires: python%{python3_pkgversion}-requests

  Requires: python%{python3_pkgversion}-requests-kerberos
@@ -108,6 +108,8 @@ 

  Requires: python-simplejson

  %endif

  Requires: %{name} = %{version}-%{release}

+ # we need the python2 lib here

+ Requires: python2-%{name} = %{version}-%{release}

  

  %description hub

  koji-hub is the XMLRPC interface to the koji database
@@ -146,6 +148,8 @@ 

  License: LGPLv2 and GPLv2+

  #mergerepos (from createrepo) is GPLv2+

  Requires: %{name} = %{version}-%{release}

+ # we need the python2 lib here

+ Requires: python2-%{name} = %{version}-%{release}

  Requires: mock >= 0.9.14

  Requires(pre): /usr/sbin/useradd

  Requires: squashfs-tools
@@ -183,6 +187,8 @@ 

  Group: Applications/System

  License: LGPLv2

  Requires: %{name} = %{version}-%{release}

+ # we need the python2 lib here

+ Requires: python2-%{name} = %{version}-%{release}

  %if %{use_systemd}

  Requires(post): systemd

  Requires(preun): systemd
@@ -208,6 +214,8 @@ 

  License: LGPLv2

  Requires: python-psycopg2

  Requires: %{name} = %{version}-%{release}

+ # we need the python2 lib here

+ Requires: python2-%{name} = %{version}-%{release}

  %if %{use_systemd}

  Requires(post): systemd

  Requires(preun): systemd
@@ -231,6 +239,8 @@ 

  Requires: python-psycopg2

  Requires: python-cheetah

  Requires: %{name} = %{version}-%{release}

+ # we need the python2 lib here

+ Requires: python2-%{name} = %{version}-%{release}

  Requires: python-krbV >= 1.0.13

  

  %description web

rpm-python3 dep was misnamed
hub/web/builder/etc require python2-koji for now

It is actually python3-rpm in Fedora.

That appears to have changed in F25. It is still rpm-python3 on F24 (not yet eol), and the python3-rpm package has a provides for backwards compatibility.

@mikem Do you plan to have a release before Fedora 24 EOLs?

@mikem Do you plan to have a release before Fedora 24 EOLs?

Well, yes. We expect to release 1.13 later this month. F24 will persist at least a month past the F26 GA, which is currently showing as 7/11.

Also, I currently run F24 on my laptop, and I routinely run Koji from HEAD there. I would rather that continue to work.

rebased

6 years ago

Commit 3062b4e fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

6 years ago

Filed Issue #454 to change the dep later