Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rsync deprecation warning #1085

Open
rzuckerm opened this issue May 20, 2024 · 2 comments
Open

Rsync deprecation warning #1085

rzuckerm opened this issue May 20, 2024 · 2 comments

Comments

@rzuckerm
Copy link

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.

@caarmen
Copy link

caarmen commented Jun 3, 2024

For info, I had this error too. Updating pytest-cov from 4.1.0 to 5.0.0 made it go away in my case.

@nicoddemus
Copy link
Member

What might be happening is a plugin configuring that option... I recall this happening with pytest-coverage or something like that (don't have the time to search for it now sorry).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants