#7208 freeipa: binary RPMs require both Python 2 and Python 3
Closed: fixed Opened by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1489509

The freeipa-client, freeipa-server, freeipa-server-dns and
freeipa-server-trust-ad RPMs require both Python 2 and Python 3.
Except in very special circumstances, there is no need for one package
to drag in both Python stacks. Usually, this is a packaging error: in this case
the packages have Python 2 dependencies and '/usr/bin/python3' shebangs which
introduce the dependency on Python 3. There is a section on
shebangs in the Python RPM Porting Guide [0].
As freeipa upstream supports Python 3 starting the latest release 4.6.0 [1],
please switch the packages to Python 3. If there is anything blocking this,
then please let us know.
It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 26 as well.
If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing this issue!
[0] http://python-rpm-porting.readthedocs.io/en/latest/application-modules.html
#are-shebangs-dragging-you-down-to-python-2
[1] https://www.freeipa.org/page/Releases/4.6.0#Enhancements

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1489509

Metadata Update from @pvoborni:
- Issue set to the milestone: FreeIPA 4.7 (was: FreeIPA 4.8)

Metadata Update from @tkrizek:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1203
- Issue assigned to tkrizek
- Issue priority set to: normal
- Issue set to the milestone: FreeIPA 4.6.2 (was: FreeIPA 4.7)

Moving DNSSEC support in Python 3 to a separate ticket: https://pagure.io/freeipa/issue/7257

master:

  • 3c84b0146b8ae12a836978df98d0f21142a7e7a4 py3 spec: use proper python2 package names
  • e203e9f86e2abb49f6daafc76ad47dcb8a0022e3 py3 spec: remove python2 dependencies from freeipa-server
  • 49c77d7781c7da6591851c3444bb4ed956656295 py3 spec: remove python2 dependencies from server-trust-ad

ipa-4-6:

  • b03d51555e22cf138fc93c85584493eb64aba0cd py3 spec: use proper python2 package names
  • d4f47d17f1077f3c839c325fd3d86b363772434b py3 spec: remove python2 dependencies from freeipa-server
  • aaf2621e84243ab8978054cad14164ae50b539b8 py3 spec: remove python2 dependencies from server-trust-ad

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

Metadata