#7208 freeipa: binary RPMs require both Python 2 and Python 3
Closed: fixed 6 years ago Opened 6 years ago 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

6 years ago

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

6 years ago

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)

6 years ago

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

master:

  • 3c84b01 py3 spec: use proper python2 package names
  • e203e9f py3 spec: remove python2 dependencies from freeipa-server
  • 49c77d7 py3 spec: remove python2 dependencies from server-trust-ad

ipa-4-6:

  • b03d515 py3 spec: use proper python2 package names
  • d4f47d1 py3 spec: remove python2 dependencies from freeipa-server
  • aaf2621 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)

6 years ago

Login to comment on this ticket.

Metadata