Commit Graph

86 Commits

Author SHA1 Message Date
staticdev 40fa7b091d Add python 3.9 to classifiers 2021-01-19 20:39:44 +01:00
Bruno Oliveira 607d8288d4 Add psutil extra and introduce pytest_xdist_auto_num_workers hook
This makes using psutil optional and opens up the possibility of customization
through the pytest_xdist_auto_num_workers hook, making things like #477 possible.

Fix #585
2020-08-25 08:38:28 -03:00
Bruno Oliveira e469fc7b80 Revert "Merge pull request #560 from utapyngo/logical-cpu-count"
This reverts commit 0094b29a14, reversing
changes made to c6255faad4.
2020-08-24 14:50:36 -03:00
Zac-HD de3e54fd27 Finish removal of "slave" terminology
See issue #234.  It's time.
2020-08-03 22:51:42 +10:00
Ivan Zaikin 3312dcde61 Apply black 2020-07-23 10:42:18 +07:00
Ivan Zaikin 77e5fdfef9 Use psutil.cpu_count(logical=False) in auto_detect_cpus() 2020-07-23 10:18:43 +07:00
Hugo 8f1e6ad10c Drop support for EOL Python 3.4 2019-12-02 17:56:08 +02:00
Hugo 20532ec93c Add support for Python 3.8 2019-11-09 16:45:40 +02:00
Bruno Oliveira 7d41db3685 Adopt 'src' layout and add 'testing' extras 2019-06-06 19:35:13 -03:00
Bruno Oliveira 89d07a5cf2 Use serialization hooks from pytest 4.4 2019-04-01 18:37:03 -03:00
Mickaël Schoentgen f6ecaa9b7f Fix ResourceWarning: unclosed file in setup.py
Also uniformize the usage of the 'with' context manager.

Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-14 22:59:36 +01:00
Bruno Oliveira f9a13fe53b Drop support to old pytest versions and test with python 3.7 2018-11-11 11:27:30 -02:00
Bruno Oliveira a72f25335b Merge remote-tracking branch 'upstream/master' into release-1.22.5 2018-07-28 09:12:22 -03:00
Bruno Oliveira f92242652d Include six as dependency 2018-07-28 09:06:04 -03:00
Bruno Oliveira fced1645cb Run pre-commit: black, whitespaces, rst 2018-07-27 17:50:55 -03:00
Bruno Oliveira b8154cf655 Revert "Drop support to old pytest versions (<3.4)"
This reverts commit b5abe791ad.
2018-07-27 17:02:20 -03:00
Bruno Oliveira b5abe791ad Drop support to old pytest versions (<3.4)
Let's take the opportunity to reduce the build matrix and test with latest
pytest versions as well
2018-07-23 19:32:56 -03:00
Ville Skyttä 663bbd5338 Use pytest instead of py.test per upstream recommendation, #dropthedot
http://blog.pytest.org/2016/whats-new-in-pytest-30/
https://twitter.com/hashtag/dropthedot
2018-07-07 00:01:11 +03:00
Hugo ed2db3d03a Drop support for EOL Python 2.6 2017-12-21 10:55:57 +02:00
Ronny Pfannschmidt 5db31f1ee7 add support for --boxed by aliasing to --forked of pytest-foked 2017-08-04 21:31:01 +02:00
Ronny Pfannschmidt ad3e45590f remove the boxed plugin code 2017-08-04 21:01:36 +02:00
Carlos Jenkins b0916f06ce Implemented a load scheduler that groups tests by scope. 2017-07-28 23:55:09 -06:00
Carlos Jenkins 8356cfa39d Split schedulers into their own submodule. 2017-07-28 23:55:09 -06:00
John Vandenberg cd12d174c4 Removal of unnecessary dependency on py
`pytest-xdist` depends on `pytest>=3`.
`pytest 3.0.0` requires `py>=1.4.29`
and latest pytest requires `py>=1.4.33`.
Thus it is unnecessary for pytest-xdist to include
a requirement on `py>=1.4.22`

Fixes https://github.com/pytest-dev/pytest-xdist/issues/105
2017-07-14 19:40:40 +07:00
Tim Hou 6256608669 Update tox and appveyor for CI tests to exclude pytest < 3
Update the install requires versions for pytest
2017-06-21 13:37:02 -05:00
Bruno Oliveira e5d8064534 Test using pytest 3.0
Fix #99
2016-12-05 20:12:29 -02:00
Bruno Oliveira 8954f0d63d Add Framework::Pytest to list of classifiers 2016-03-22 20:53:07 -03:00
Ronny Pfannschmidt b14e9a48e2 fix project url 2015-09-01 22:39:59 +02:00
Ronny Pfannschmidt 0f5ef95be8 flake8 cleanup 2015-09-01 22:37:51 +02:00
Ronny Pfannschmidt 0495fe517d fix setup.py and use setuptools_scm dep for tox 2015-09-01 21:22:11 +02:00
Ronny Pfannschmidt eba5319fdb clean up setup.py and use setuptools_scm 2015-08-18 08:29:23 +02:00
Ronny Pfannschmidt ec89a3c36b split up the plugin and extend tox test matrix 2015-08-08 11:57:08 +02:00
holger krekel 54a43db053 add support for releasing as universal wheel 2015-05-07 12:30:29 +02:00
holger krekel 2ea07f73a7 finalize 1.12 version, some more adaptation for pytest versions, streamlining tox.ini 2015-05-06 13:41:39 +02:00
holger krekel bfd00a58ff bump version, add py34 to tox.ini 2014-07-20 08:51:53 +02:00
holger krekel ed12f57193 depend on latest py dev version to support "--boxed" properly 2014-07-05 17:34:56 +02:00
holger krekel 4441002e95 fix pytest/xdist issue485 (also depends on py-1.4.21.dev1):
attach stdout/stderr on --boxed processes that die.
2014-03-26 18:33:09 +01:00
holger krekel e26d4486fc send multiple "to test" indices in one network message to a slave
and improve heuristics for sending chunks where the chunksize
depends on the number of remaining tests rather than fixed numbers.
This reduces the number of master -> node messages (but not the
reverse direction)
2014-01-27 11:37:40 +01:00
holger krekel 8e88261c15 ignore dot files for file changes (editors write tmp/swap files etc.) 2013-10-07 10:20:24 +02:00
holger krekel b88b23e358 some test fixes and configure tox-testing against pytest==2.3.5 and pytest>=2.4.2 2013-10-04 10:34:24 +02:00
holger krekel df66687eae bump version 2013-04-30 17:08:06 +02:00
holger krekel 34eec1ef17 - changed LICENSE to MIT
- attribute Jeremy's change
2013-04-02 10:33:36 +02:00
holger krekel a771352f01 merge 2013-04-02 10:29:51 +02:00
holger krekel 0387c57b76 merge 2011-12-16 11:59:17 +00:00
holger krekel 5488b6d9a1 bump versions 2011-12-16 10:47:33 +00:00
holger krekel aed7a5a07e fix tests by properly removing __pycache__ files 2011-12-15 07:41:09 +01:00
holger krekel 8c6fea9895 remove usage of final_logerrors now that we have better teardown information 2011-12-02 21:03:58 +00:00
holger krekel 1f6d410481 fix issue 93 of pytest - avoid delayed teardowns 2011-12-02 21:03:29 +00:00
holger krekel d5ff8b066a tag 1.7 2011-11-18 19:08:05 +00:00
holger krekel c1f27bf87e depend on 2.2.0 2011-11-18 18:50:26 +00:00