[TIP] tox-1.1: bug fixes and improved workflow

holger krekel holger at merlinux.eu
Tue Jul 12 00:32:28 PDT 2011


On Tue, Jul 12, 2011 at 07:39 +0200, Alexander Steinert wrote:
> holger krekel, Sat 2011-07-09 12:33 CEST:
> > The release incorporates a number of bug fixes and an enhanced work
> > flow: repeatedly calling tox without increasing version numbers now
> > works (by calling pip -U --nodeps).  
> 
> Great!
>
> > - inline virtualenv.py (1.6.1) script to avoid a number of issues, 
> >   particularly failing to install python3 environents from a python2 
> >   virtualenv installation.
> 
> That comes with virtualenv not being required by tox anymore and breaks
> tox offline usage.

indeed.  Can you open an issue about it?

> I tried to fix that (and provide a patch for tox) by placing a
> virtualenv_support directory (containing {distribute,pip}*.tar.gz) next
> to tox/virtualenv.py as done in a vanilla virtualenv installation. It
> works (for me) if done directly in an installed tox package. However, I
> have trouble creating a tox sdist with package_data: It is packaged into
> the sdist but won't be installed from it. In addition, I have no
> capacity for testing with the many many Pythons and platforms which tox
> supports. Would you even consider putting virtualenv_support into tox?

Thanks for your efforts.  Yes, i'd consider including distribute/pip as well
into the tox distribution.  I've messaged Carl Meyer on #distutils to ask
his opinion how to best achieve it. I'll let you know of answers - maybe
you can also join that channel (or #python-testing alternatively where
both Carl and me are present).

best,
holger



More information about the testing-in-python mailing list