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

Allow custom scheduler names in --dist command line argument #1148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 1, 2024

  1. Allow custom scheduler names in --dist command line argument

    There seems to be no way to fix the argument validation, at least without
    complicating things unnecessarily.
    
    So simply remove it. Instead, check `pytest_xdist_make_scheduler` return
    value.
    
    Also, convert every builtin scheduler to a separate plugin.
    
    Fixes: pytest-dev#970
    amezin committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    f3a90e0 View commit details
    Browse the repository at this point in the history