Comment 15 for bug 1817665

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I found this issue when trying the tool with the packages from proposed: https://github.com/CanonicalLtd/ubuntu-advantage-client/issues/243

tl;dr
19:32 $ ua
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 444, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 632, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (libnacl 1.4.5 (/usr/lib/python3/dist-packages), Requirement.parse('libnacl>=1.3.6,<1.4'))

python3-pymacaroons is asking for libnacl < 1.4 in its setup.py. That was later resolved in https://github.com/ecordell/pymacaroons/issues/21 by relaxing that to "< 1.5".

The code works just fine, but the /usr/bin/ua entrypoint generated by the ubuntu-advantage package's setup.py checks for this.