-
Notifications
You must be signed in to change notification settings - Fork 262
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
refactor: pull out dependency_constraint #2347
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
@@ -27,7 +27,7 @@ jobs: | |||
- bash: | | |||
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.
@@ -7,7 +7,7 @@ pr: | |||
jobs: | |||
- 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.
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!).