Comment 0 for bug 1743558

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Runtime dependency on a universe package

landscape-client is in main, and according to policy it cannot have runtime dependencies on universe packages.

Since the py3 port, it started to depend on python3-passlib:
commit 1cb27c2a3fd5d03f37c866d2cd71e13659761069
Author: Steffen Allner <email address hidden>
Date: Thu Mar 23 09:10:14 2017 +0100

    Add passlib as dependency for Python 3 tests.

Maybe just for tests initially, but now it's runtime:

./landscape/client/user/management.py:from passlib.hash import md5_crypt

And it shows:

ubuntu@bionic-landscape-client:~$ apt-cache show landscape-common|grep passlib
Depends: python3:any (>= 3.5~), debconf (>= 0.5) | debconf-2.0, python3-twisted, python3-configobj, python3-apt, python3-passlib, ca-certificates, python3-gdbm, lsb-release, lsb-base, adduser, bc, lshw, libpam-modules

It's a bit odd that the py2 version of passlib is in main, same exact version, but I think a MIR request for the py3 one will take too long. We should try to replace this dependency with something else if possible.