ports/186706: py-virtualenv is missing run dependency on py-setuptools.

Scott Sturdivant scott.sturdivant at gmail.com
Wed Feb 12 21:00:00 UTC 2014


>Number:         186706
>Category:       ports
>Synopsis:       py-virtualenv is missing run dependency on py-setuptools.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 12 21:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Scott Sturdivant
>Release:        9.2
>Organization:
>Environment:
FreeBSD host 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Koobs and I have discussed this, but I'm recording it here so that it can be tracked.  

The py-virtualenv port is missing a run dependency on py-setuptools.  Thus, you're able to install py-virtualenv and when trying to create a virtualenv, you're met with this error:


------------
Traceback (most recent call last):
  File "/usr/local/bin/virtualenv", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
------------

If you've installed via ports, you won't run into this issue unless you remove the py-setuptools port (because it is installed as a build dep).  However, with packages on a clean machine, installing py-virtualenv will only require python which is insufficient.
>How-To-Repeat:
Build a py-virtualenv package, install it, then execute /usr/local/bin/virtualenv foo.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list