File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Features
34
34
* ``--looponfail ``: run your tests repeatedly in a subprocess. After each run
35
35
pytest waits until a file in your project changes and then re-runs
36
36
the previously failing tests. This is repeated until all tests pass
37
- after which again a full run is performed.
37
+ after which again a full run is performed (DEPRECATED) .
38
38
39
39
* :ref: `Multi-Platform ` coverage: you can specify different Python interpreters
40
40
or different platforms and run tests in parallel on all of them.
Original file line number Diff line number Diff line change 5
5
Sending tests to remote SSH accounts
6
6
====================================
7
7
8
+ .. deprecated :: 3.0
9
+
10
+ .. warning ::
11
+
12
+ This feature is deprecated because the support for ``rsync `` is faulty
13
+ in terms of reproducing the development environment in the remote
14
+ worker, and there is no clear solution moving forward.
15
+
16
+ This feature is scheduled to be removed in release 4.0, to let the team
17
+ focus on a smaller set of features.
18
+
8
19
Suppose you have a package ``mypkg `` which contains some
9
20
tests that you can successfully run locally. And you
10
21
have a ssh-reachable machine ``myhost ``. Then
Original file line number Diff line number Diff line change @@ -196,6 +196,13 @@ def pytest_configure(config):
196
196
)
197
197
config .issue_config_time_warning (warning , 2 )
198
198
199
+ if config .getoption ("rsyncdir" , None ) or config .getini ("rsyncdirs" ):
200
+ warning = DeprecationWarning (
201
+ "The --rsyncdir command line argument and rsyncdirs config variable are deprecated.\n "
202
+ "The rsync feature will be removed in pytest-xdist 4.0."
203
+ )
204
+ config .issue_config_time_warning (warning , 2 )
205
+
199
206
config_line = (
200
207
"xdist_group: specify group for tests should run in same session."
201
208
"in relation to one another. " + "Provided by pytest-xdist."
You can’t perform that action at this time.
0 commit comments