Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Aug 2016 19:27:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211627] security/certbot (the program itself not the port) requires py-parsedatetime<2.0 but 2.1 is in ports
Message-ID:  <bug-211627-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211627

            Bug ID: 211627
           Summary: security/certbot (the program itself not the port)
                    requires py-parsedatetime<2.0 but 2.1 is in ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: stdin@niklaas.eu

I just ran into the very same issue as described here

https://forums.freebsd.org/threads/57094/

The thing is that `certbot` itself requires parsedatetime<2.0 while there is
v2.1 in the ports tree.
Thus, it gives the following error:

Traceback (most recent call last):
  File "/usr/local/bin/letsencrypt", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
3141, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
3127, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
3154, in _initialize_master_working_set
    working_set =3D WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
642, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
655, in _build_from_requirements
    dists =3D ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
828, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'parsedatetime<2.0' distribution was
not found and is required by letsencrypt

$ pkg info | grep parsedatetime
py27-parsedatetime-2.1         Python module for parsing 'human readable'
date/time expressions

Although the thread mentioned above is marked as solved, the workaround
provided (to modify devel/py-parsedatetime's Makefile to v1.4 manually) is =
not
a real solution, I guess. If the dependency in the Makefile was false, I wo=
uld
have provided a patch but this looks like some change of the actual python =
code
is needed, which I think I can't cope with. :-) I had a quick look on wheth=
er
there is a bug report about this upstream, but as far as I can judge there =
is
none.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211627-13>