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

refactor: pull out dependency_constraint #2347

Merged
merged 3 commits into from
Apr 9, 2025

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Apr 3, 2025

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!).

henryiii added 2 commits April 8, 2025 11:24
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii force-pushed the henryiii/refactor/depconst branch from 50605ed to cbce985 Compare April 8, 2025 15:54
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii force-pushed the henryiii/refactor/depconst branch from cbce985 to 6d7d94c Compare April 8, 2025 16:13
@@ -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
Copy link
Contributor Author

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'}
Copy link
Contributor Author

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.

@henryiii henryiii merged commit 93314a8 into pypa:main Apr 9, 2025
24 checks passed
@henryiii henryiii deleted the henryiii/refactor/depconst branch April 9, 2025 13:58
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

Successfully merging this pull request may close these issues.

3 participants