Hey,

On Thu, Oct 24, 2019 at 09:45:48AM -0300, Bruno Oliveira wrote:
> Because of this, we have been discussing creating a new package,
> pytest-xdist2 (other suggestions are welcome), without any backward
> compatibility guarantees with pytest-xdist.

pytest-[yz]dist? ;)

> pytest-xdist2 would, at first, only support local test distribution using
> multiprocessing (-n flag), no new hooks, and no remote execution.

Personally I've only used pytest-xdist for that (local multiprocessing), and I
bet there are other people for whom the same applies. If you add remote test
distribution to the mix, you'd win even more users over.

I guess the question is how many pytest-xdist users are left at that point, who
need the hooks and other advanced features. I'm guessing not that many, but I
could be wrong.

GitHub says that pytest-xdist is used by 4.7k repos.

Searching for "def pytest_xdist" on GitHub shows about 300 results:
https://github.com/search?p=1&q=%22def+pytest_xdist%22&type=Code

If you scroll through them, you'll see that almost all of them are because
people committed their virtualenvs, so it's from the xdist package itself.

I found something like 20 projects which actually use an xdist hook, some of
them pytest plugins (pytest_mozlog, pytest-sugar).

I'm guessing there will be more than 20 projects/people happy about the
problems such a rewrite would solve.

Florian

-- 
https://www.qutebrowser.org | m...@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pytest-dev mailing list
pytest-dev@python.org
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to