Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576400 - app-crypt/letsencrypt-0.4.1 -- The 'parsedatetime<2.0' distribution was not found and is required by letsencrypt
Summary: app-crypt/letsencrypt-0.4.1 -- The 'parsedatetime<2.0' distribution was not f...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-04 00:40 UTC by Gary E. Miller
Modified: 2016-03-06 22:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2016-03-04 00:40:06 UTC
letsencrypt-0.4.0 worked great for me.  After update to 0.4.1 not so much.

A re-emerge, python-updater, revdep-rebuild, etc. no help.

Here is the failure:

kong ~ # letsencrypt renew
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/letsencrypt", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2912, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2898, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2925, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 644, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 657, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 830, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'parsedatetime<2.0' distribution was not found and is required by letsencrypt
Comment 1 Gary E. Miller 2016-03-04 00:42:32 UTC
I see my parsedatetime is too new (>=2.0)

kong ~ # eix parsedatetime
[I] dev-python/parsedatetime
     Available versions:  (~)0.8.7[1] (~)1.5 (~)2.1 {doc test PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5"}
     Installed versions:  2.1(11:04:58 AM 03/03/2016)(-test PYTHON_TARGETS="python2_7 python3_4 python3_5")
     Homepage:            https://github.com/bear/parsedatetime
     Description:         Parse human-readable date/time strings
Comment 2 Gary E. Miller 2016-03-04 00:48:28 UTC
Downgrading to dev-python/parsedatetime-1.5::gentoo fixes my letsencrypt 0.4.1
installation.
Comment 3 Steve Herber 2016-03-05 07:37:48 UTC
I had the same problem but downgrading my parsedatetime to 1.5
uncovered another version problem:

# letsencrypt
An unexpected error occurred:
VersionConflict: (letsencrypt 0.4.1 (/usr/lib64/python2.7/site-packages), Requirement.parse('letsencrypt==0.5.0.dev0'))
Please see the logfile 'letsencrypt.log' for more details.
# cat letsencrypt.log 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/letsencrypt", line 9, in <module>
    load_entry_point('letsencrypt==0.4.1', 'console_scripts', 'letsencrypt')()
  File "/usr/lib64/python2.7/site-packages/letsencrypt/cli.py", line 1943, in main
    plugins = plugins_disco.PluginsRegistry.find_all()
  File "/usr/lib64/python2.7/site-packages/letsencrypt/plugins/disco.py", line 168, in find_all
    plugin_ep = PluginEntryPoint(entry_point)
  File "/usr/lib64/python2.7/site-packages/letsencrypt/plugins/disco.py", line 31, in __init__
    self.plugin_cls = entry_point.load()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2354, in load
    self.require(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2371, in require
    items = working_set.resolve(reqs, env, installer)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 844, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
VersionConflict: (letsencrypt 0.4.1 (/usr/lib64/python2.7/site-packages), Requirement.parse('letsencrypt==0.5.0.dev0'))
#
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2016-03-05 11:25:36 UTC
Please try again with 0.4.2
Comment 5 Gary E. Miller 2016-03-06 22:54:11 UTC
0.4.2 works fine for me.  I tried on 2 unstable gentoo hosts.

Thanks!