Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 20:58:41 GMT
From:      Scott Sturdivant <scott.sturdivant@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186706: py-virtualenv is missing run dependency on py-setuptools.
Message-ID:  <201402122058.s1CKwf5a042049@cgiserv.freebsd.org>
Resent-Message-ID: <201402122100.s1CL00YG060685@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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