[pytest-dev] Setting up tox

Brianna Laugher brianna.laugher at gmail.com
Wed Apr 16 23:33:53 CEST 2014


That worked...mostly.
https://gist.github.com/pfctdayelise/b8e4b249f3ae2b0103ab#file-tox-output-without-devpi

Is the "flakes: commands failed" something to worry about?

ERROR: InvocationError:
'/home/brianna/workspace/pytest/.tox/flakes/bin/py.test --flakes -m
flakes _pytest testing'
__________________________________________________________________________________________________
summary __________________________________________________________________________________________________
  py27: commands succeeded
ERROR:   py33: InterpreterNotFound: python3.3
ERROR:   flakes: commands failed



Brianna




On 16 April 2014 17:16, holger krekel <holger at merlinux.eu> wrote:

> On Wed, Apr 16, 2014 at 17:11 -0400, Brianna Laugher wrote:
> > Error logs from tox:
> > https://gist.github.com/pfctdayelise/b8e4b249f3ae2b0103ab
> >
> > It seems like tox was happy to install sphinx when I built the docs.
>
> Seems like "devpi.net" is having troubles providing the correct package
> or so currently (not sure why).  It is used by "runtox.py".  What
> happens if you delete the line in "runtox.py" containing "-i",
> "http:/..."?
>
> holger
>
> > cheers
> > Brianna
> >
> >
> >
> > On 16 April 2014 16:58, holger krekel <holger at merlinux.eu> wrote:
> >
> > > On Wed, Apr 16, 2014 at 16:56 -0400, Brianna Laugher wrote:
> > > > OK, I will do that. Another question, how can I build the docs?
> > >
> > > "tox -e doc" should work.  Otherwise installing sphinx and going
> > > to "doc/en" and typing "make html" should work.  Or on windows
> > > some sphinx-build command that you find in the tox.ini file.
> > >
> > > best,
> > > holger
> > >
> > >
> > > > Brianna
> > > >
> > > > On 16 April 2014 16:44, holger krekel <holger at merlinux.eu> wrote:
> > > >
> > > > > Hi Brianna,
> > > > >
> > > > > On Wed, Apr 16, 2014 at 16:39 -0400, Brianna Laugher wrote:
> > > > > > Hello,
> > > > > >
> > > > > > The contributing guide (
> http://pytest.org/latest/contributing.html) is
> > > > > > still missing a couple of steps I'm afraid...
> > > > > >
> > > > > > I installed tox in my virtualenv and then ran "python runtox.py
> -e
> > > > > > py27,py33,flakes" as advised. At the end of the run tox tells me:
> > > > > >
> > > > > > ERROR:   py27: could not install deps [nose, mock]
> > > > > > ERROR:   py33: InterpreterNotFound: python3.3
> > > > > > ERROR:   flakes: could not install deps [pytest-flakes>=0.2]
> > > > > >
> > > > > > I can manually pip install nose, mock and pytest-flakes, but I
> don't
> > > know
> > > > > > how to make python3.3 (which I have installed from my OS repo)
> > > "visible"
> > > > > or
> > > > > > available to this virtualenv. Any ideas?
> > > > >
> > > > > It should be on the PATH, so invoking "python3.3" should basically
> > > work.
> > > > > As to the "could not install deps" error, could you use the "-v"
> option
> > > > > and/or attach the full tox output log?
> > > > >
> > > > > best,
> > > > > holger
> > > > >
> > > > >
> > > > > > Thanks,
> > > > > > Brianna
> > > > > >
> > > > > > --
> > > > > > They've just been waiting in a mountain for the right moment:
> > > > > > http://modernthings.org/
> > > > >
> > > > > > _______________________________________________
> > > > > > Pytest-dev mailing list
> > > > > > Pytest-dev at python.org
> > > > > > https://mail.python.org/mailman/listinfo/pytest-dev
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > They've just been waiting in a mountain for the right moment:
> > > > http://modernthings.org/
> > >
> > > > _______________________________________________
> > > > Pytest-dev mailing list
> > > > Pytest-dev at python.org
> > > > https://mail.python.org/mailman/listinfo/pytest-dev
> > >
> > >
> >
> >
> > --
> > They've just been waiting in a mountain for the right moment:
> > http://modernthings.org/
>
> > _______________________________________________
> > Pytest-dev mailing list
> > Pytest-dev at python.org
> > https://mail.python.org/mailman/listinfo/pytest-dev
>
>


-- 
They've just been waiting in a mountain for the right moment:
http://modernthings.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20140416/bcbc6e49/attachment.html>


More information about the Pytest-dev mailing list