[Letsencrypt-devel] Bug#818587: python-letsencrypt: Dependencies on python-dialog, python-psutil and python-parsedatetime need to be versioned

Michael Deegan bugs at wibble.darktech.org
Fri Mar 18 10:03:27 UTC 2016


Package: python-letsencrypt
Version: 0.4.1-1~bpo8+1
Severity: minor

Hello,

Those sneaking the python-letsencrypt wheezy backport onto their wheezy
machines might experience:

    Traceback (most recent call last):
      File "/usr/bin/letsencrypt", line 5, in <module>
        from pkg_resources import load_entry_point
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
        working_set.require(__requires__)
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
        needed = self.resolve(parse_requirements(requirements))
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
        raise DistributionNotFound(req)
    pkg_resources.DistributionNotFound: python2-pythondialog>=3.2.2rc1

It appears wheezy's python-parsedatetime is not new enough either (but is
not described in the egg-info):

    Traceback (most recent call last):
      File "/usr/bin/letsencrypt", line 9, in <module>
        load_entry_point('letsencrypt==0.4.1', 'console_scripts', 'letsencrypt')()
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
        return get_distribution(dist).load_entry_point(group, name)
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
        return ep.load()
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
        entry = __import__(self.module_name, globals(),globals(), ['__name__'])
      File "/usr/lib/python2.7/dist-packages/letsencrypt/cli.py", line 34, in <module>
        from letsencrypt import client
      File "/usr/lib/python2.7/dist-packages/letsencrypt/client.py", line 27, in <module>
        from letsencrypt import storage
      File "/usr/lib/python2.7/dist-packages/letsencrypt/storage.py", line 29, in <module>
        def add_time_interval(base_time, interval, textparser=parsedatetime.Calendar()):
    AttributeError: 'module' object has no attribute 'Calendar'

Updating all three packages to jessie's version makes things work as expected (of course).

I'm mindful that wheezy users might not be a high priority, but it would be
nice if the Dependencies were described accurately.  :P

Thanks,

-- System Information:
Debian Release: 7.9
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (480, 'stable'), (470, 'testing'), (460, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python-letsencrypt depends on:
ii  python-acme            0.4.1-1~bpo8+1
ii  python-configargparse  0.10.0-2
ii  python-configobj       4.7.2+ds-4
ii  python-cryptography    1.1.1-1~bpo8+1
ii  python-dialog          2.7-1
ii  python-mock            0.8.0-3
ii  python-openssl         0.15.1-2~bpo8+1
ii  python-parsedatetime   0.8.7-3
ii  python-pkg-resources   0.6.24-1
ii  python-psutil          0.5.1-1
ii  python-rfc3339         1.0-4
ii  python-six             1.9.0-3~bpo8+1
ii  python-tz              2012c-1
ii  python-zope.component  3.10.0-3
ii  python-zope.interface  3.6.1-3
pn  python:any             <none>

Versions of packages python-letsencrypt recommends:
ii  letsencrypt  0.4.1-1~bpo8+1

python-letsencrypt suggests no packages.

-- no debconf information

-MD

-- 
-------------------------------------------------------------------------------
Michael Deegan                Hugaholic                http://www.deegan.id.au/
-------------------------  Jung, zr jbeel?  -----------------------------------



More information about the Letsencrypt-devel mailing list