#6875 Correct wheel package dependencies
Closed: fixed 6 years ago Opened 6 years ago by cheimes.

Python wheel packages have some incorrect dependencies:

  • Python 2.7 wheels use pyldap instead of python-ldap but Python 2.7 Fedora packages use python-ldap. FreeIPA should use the same library.
  • The extra dependency otptoken_yubikey specifies the wrong libraries. It's python-yubico and pysub, not yubico and usb. The names yubico and usb are the Python package names (e.g. import yubico), not the PyPI package names.
  • otptoken_yubikey should really be optional.
  • ipapython claims to depend on jwcrypto and requests but never imports any of the libraries directly.
  • On the other hand ipaserver depends on jwcrypto and requests but fails to declare the dependencies.
  • tox.ini references ipapython[certmonger] but this extra dependency does no longer exist. It was removed during development. pip only warns but not fails for missing extra dependencies.

All problems should be fixed in master and 4.5.


Metadata Update from @cheimes:
- Issue priority set to: blocker
- Issue set to the milestone: FreeIPA 4.5.1
- Issue tagged with: integration

6 years ago

Metadata Update from @pvoborni:
- Issue set to the milestone: 0.0 NEEDS_TRIAGE (was: FreeIPA 4.5.1)

6 years ago

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to 0
- Issue priority set to: critical (was: blocker)
- Issue set to the milestone: FreeIPA 4.5.1 (was: 0.0 NEEDS_TRIAGE)

6 years ago

master:

  • 26ab51d Correct PyPI package dependencies
  • 994d24d Band-aid for pip dependency bug

Not closing the ticket, 4.5.1 branch requires different patches

ipa-4-5:

  • b91ee12 Correct PyPI package dependencies

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

6 years ago

Metadata Update from @mbasti:
- Issue status updated to: Open (was: Closed)

6 years ago

master:

  • bea7236 ipasetup: fix dependencies handling based on python version

ipa-4-5:

  • c49e146 ipasetup: fix dependencies handling based on python version

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

6 years ago

Login to comment on this ticket.

Metadata