Re: [pytest-dev] 2.8.0 release plan? 2.7.2?

2015-06-18 Thread Tibor Arpas
How about the new hook call system vs the old __multicall__ ? Is the plan still to deprecate the old way in 2.8 and remove in 2.9? Any idea how many plugin-s use it and will brake (or were already updated)? Tibor On Thu, Jun 18, 2015 at 7:47 AM, holger krekel wrote: > On Wed, Jun 17, 2015 at 2

Re: [pytest-dev] 2.8.0 release plan? 2.7.2?

2015-06-18 Thread holger krekel
On Thu, Jun 18, 2015 at 10:22 +0200, Tibor Arpas wrote: > How about the new hook call system vs the old __multicall__ ? Is the plan > still to deprecate the old way in 2.8 and remove in 2.9? yes, that's the plan. > Any idea how many plugin-s use it and will brake (or were already updated)? IIRC

[pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Florian Bruhin
Hi, I'm currently trying to run my tests with my application frozen via cx_Freeze. To do so, I wrote a separate script to freeze the tests into a separate executable, which uses pytest.freeze_includes(): https://github.com/The-Compiler/qutebrowser/blob/frozen-tests/scripts/freeze_tests.py https:

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Bruno Oliveira
Hi Florian, I have this problem as well and was trying to find a better solution before bringing up this issue, but let me share my solution so far. The problem is that the mechanism for plugin discovered used by pytest (setupttools entry points) doesn't work with frozen executables so pytest can

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Florian Bruhin
Hey, * Bruno Oliveira [2015-06-18 13:50:59 +]: > The problem is that the mechanism for plugin discovered used by pytest > (setupttools entry points) doesn't work with frozen executables so pytest > can't find any plugins. Hm, I see. I'm not really aware how setuptools entry points are implem

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Florian Bruhin
> Another solution would be to explicitly pass the plugin in the command line > using `-p pytestq.plugin`. Sorry for the double-post - I found an (IMHO) slightly better solution :) As said before I'm using a separate test executable, and I noticed pytest.main takes a plugins-argument with a list

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Bruno Oliveira
Nice, thanks for sharing! :) Cheers, On Thu, Jun 18, 2015 at 12:21 PM Florian Bruhin wrote: > > Another solution would be to explicitly pass the plugin in the command > line > > using `-p pytestq.plugin`. > > Sorry for the double-post - I found an (IMHO) slightly better solution > :) > > As sai

[pytest-dev] pytest plugins popularity

2015-06-18 Thread Tibor Arpas
Hi, I was curious how much usage does pytest and it's plugins get. Of course that's quite impossible to find out. The only very loosely related thing is a statistics of downloads from PyPi . I tried to pick download counts of releases older than 15 days but the script might have had a bug anyway.

Re: [pytest-dev] 2.8.0 release plan? 2.7.2?

2015-06-18 Thread Bruno Oliveira
On Thu, Jun 18, 2015 at 2:47 AM holger krekel wrote: > On Wed, Jun 17, 2015 at 22:06 -0700, Floris Bruynooghe wrote: > > I think Ronny had some 2.7.2 plans as well or wanted it soon for some > reason? > pytest-cache integration into the core perhaps? > Maybe we can just aim for pytest-2.8 in t

Re: [pytest-dev] pytest plugins popularity

2015-06-18 Thread Bruno Oliveira
On Thu, Jun 18, 2015 at 1:07 PM Tibor Arpas wrote: > Hi, > > I was curious how much usage does pytest and it's plugins get. Of course > that's quite impossible to find out. The only very loosely related thing is > a statistics of downloads from PyPi . > > I tried to pick download counts of releas

Re: [pytest-dev] Trove Classifier for pytest plugins

2015-06-18 Thread Laura Creighton
In a message of Thu, 18 Jun 2015 04:03:05 -, Bruno Oliveira writes: >Hi, > >Recently Jason R. Coombs proposed to create an specific trove classifier >for pytest plugins: > >https://github.com/pytest-dev/plugincompat/issues/16 > >One benefit is that it would make it easier for people to find pyt

Re: [pytest-dev] Trove Classifier for pytest plugins

2015-06-18 Thread Bruno Oliveira
On Thu, Jun 18, 2015 at 6:49 PM Laura Creighton wrote: > So I think this is a great idea. I see no downside at all. > > What would it be? > People commented on the issue I posted supporting this idea, so I moved this forward by requesting to add a new Trove classifier here: https://bitbucket.o

Re: [pytest-dev] 2.8.0 release plan? 2.7.2?

2015-06-18 Thread Laura Creighton
In a message of Thu, 18 Jun 2015 10:22:40 +0200, Tibor Arpas writes: >How about the new hook call system vs the old __multicall__ ? Is the plan >still to deprecate the old way in 2.8 and remove in 2.9? > >Any idea how many plugin-s use it and will brake (or were already updated)? > >Tibor > E.

Re: [pytest-dev] 2.8.0 release plan? 2.7.2?

2015-06-18 Thread Bruno Oliveira
On Thu, Jun 18, 2015 at 7:24 PM Laura Creighton wrote: > E. Can somebody point me at the new hook system. I have code > I had no idea was in immenent threat of breakage > Here are a couple of examples: https://github.com/pytest-dev/pytest-qt/blob/master/pytestqt/plugin.py#L582 https:

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Laura Creighton
cx_Freeze is buggy. I think you hit one. Laura ___ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev