- 
        Couldn't load subscription status. 
- Fork 292
refactor: pull out dependency_constraint #2347
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
Conversation
Signed-off-by: Henry Schreiner <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
50605ed    to
    cbce985      
    Compare
  
    Signed-off-by: Henry Schreiner <[email protected]>
cbce985    to
    6d7d94c      
    Compare
  
    | python -m pip install dependency-groups | ||
| python -m dependency_groups test | xargs python -m pip install -e. | ||
| python ./bin/run_tests.py --num-processes 2 | ||
| python ./bin/run_tests.py | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This speeds up the macOS tests quite a bit. The docs say they have 3 cores, but 4 are reported. Either way, it's faster not to limit it. Also in #1538.
| - job: linux_311 | ||
| timeoutInMinutes: 120 | ||
| pool: {vmImage: 'Ubuntu-20.04'} | ||
| pool: {vmImage: 'Ubuntu-22.04'} | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
20.04 is in brownout.
As mentioned in pypa#2347 (comment) Rework the way test venvs are created to reuse the same mechanisms as build venvs.
As mentioned in pypa#2347 (comment) Rework the way test venvs are created to reuse the same mechanisms as build venvs.
As mentioned in #2347 (comment) Rework the way test venvs are created to reuse the same mechanisms as build venvs.
Pulled out from #2322 to simplify that one. Passes the actual Path or None instead of passing the flags and then parsing the argument back out (!). Also switches to using the URI, but I could do that in 2322 instead if there are any issues (edit: seems fine!).