tox.ini should specify python2.7 for cover environment

Bug #1123261 reported by Tim Simpson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Unassigned

Bug Description

The .coveragerc file lists the source property as ".tox/cover/lib/python2.7/site-packages/reddwarf". However, this path does not exist unless Python 2.7 is used to create the "cover" tox environment. Tox uses the version of Python used to invoke Tox itself on any environments not named after a Python version (like py26, p27) so on OSX and Ubuntu -ecover will use Pyhton 2.7, however on Debian Python 2.6 is used even if 2.7 has been installed.

The fix is simple: just specify "basepython = python2.7" under the [testenv:cover] section of the tox.ini file.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to reddwarf (master)

Fix proposed to branch: master
Review: https://review.openstack.org/21795

Changed in reddwarf:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to reddwarf (master)

Reviewed: https://review.openstack.org/21795
Committed: http://github.com/stackforge/reddwarf/commit/8ae94f2566ca820a0af1c2ff60e5712f729118a1
Submitter: Jenkins
Branch: master

commit 8ae94f2566ca820a0af1c2ff60e5712f729118a1
Author: Tim Simpson <email address hidden>
Date: Tue Feb 12 11:21:30 2013 -0600

    Specify Python 2.7 for cover environment in Tox.

    Fixed bug #1123261

    Change-Id: I0066176be489a94a99d48bba4b3548ae348809cf

Changed in reddwarf:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: havana-2 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.