pytest-dev / pytest-dev/pytest-xdist
Rsync deprecation warning
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 287
- Avg merge
- 9h 30m
- Merged PRs (30d)
- 2
Description
I am not using the --rsyncdir command-line option, yet I'm seeing this deprecation warning:
.../site-packages/xdist/plugin.py:259: DeprecationWarning: The --rsyncdir command line argument and rsyncdirs config variable are deprecated.
The rsync feature will be removed in pytest-xdist 4.0.
config.issue_config_time_warning(warning, 2)
The only option I'm using is -n auto, so I don't understand why I'm seeing this warning. What do I need to do to stop this warning?
By the way, I am aware of #1081 , but that issue did not seem a good place to comment since my use-case is just running tests across multiple CPUs as opposed to running them on separate remote hosts.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at site-packages/xdist/plugin.py line 259 and trace why the deprecation warning is emitted when only -n auto is used. Read the related discussion in issue #1081, then reproduce the reported invocation; done means -n auto no longer produces the unexpected rsync deprecation warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100