install_venv not compatible with python2.7
Bug #821279 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Rick Harris |
Bug Description
The install_venv script hard-codes in 'python2.6' when creating files under the virtualenv path. When running Python 2.7 that generates a traceback like:
http://
Assuming only one version of Python is installed in the venv, we should be able to pick the first one that starts with 'python'.
Changed in glance: | |
importance: | Undecided → Low |
Changed in glance: | |
assignee: | nobody → Rick Harris (rconradharris) |
status: | New → In Progress |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | none → diablo-4 |
Changed in glance: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Verified. This seems to mostly be a Lion issue. Huge pain in the ass.
On Aug 5, 2011, at 12:24 AM, Rick Harris <email address hidden> wrote:
> Public bug reported: paste.openstack .org/show/ 2098/ /bugs.launchpad .net/bugs/ 821279 paste.openstack .org/show/ 2098/ /bugs.launchpad .net/glance/ +bug/821279/ +subscriptions
>
> The install_venv script hard-codes in 'python2.6' when creating files
> under the virtualenv path. When running Python 2.7 that generates a
> traceback like:
>
> http://
>
> Assuming only one version of Python is installed in the venv, we should
> be able to pick the first one that starts with 'python'.
>
> ** Affects: glance
> Importance: Low
> Status: New
>
> ** Changed in: glance
> Importance: Undecided => Low
>
> --
> You received this bug notification because you are a member of Glance
> Bug Team, which is subscribed to Glance.
> https:/
>
> Title:
> install_venv not compatible with python2.7
>
> Status in OpenStack Image Registry and Delivery Service (Glance):
> New
>
> Bug description:
> The install_venv script hard-codes in 'python2.6' when creating files
> under the virtualenv path. When running Python 2.7 that generates a
> traceback like:
>
> http://
>
> Assuming only one version of Python is installed in the venv, we
> should be able to pick the first one that starts with 'python'.
>
> To manage notifications about this bug go to:
> https:/