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

Implement uv tree #4708

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Implement uv tree #4708

wants to merge 6 commits into from

Conversation

ibraheemdev
Copy link
Member

@ibraheemdev ibraheemdev commented Jul 1, 2024

Summary

Implements the uv tree, which displays dependencies from the lockfile as a tree. Resolves #4699.

@ibraheemdev ibraheemdev added the preview Experimental behavior label Jul 1, 2024
Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me. Nice.

Base automatically changed from ibraheem/lock-metadata to main July 2, 2024 18:03
@ibraheemdev ibraheemdev force-pushed the ibraheem/uv-tree branch 2 times, most recently from 30eb67f to 579bc1e Compare July 2, 2024 18:27
@ibraheemdev ibraheemdev enabled auto-merge (squash) July 2, 2024 18:33
@@ -302,7 +302,7 @@ impl TestContext {
if cfg!(all(windows, debug_assertions)) {
// TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the
// default windows stack of 1MB
command.env("UV_STACK_SIZE", (8 * 1024 * 1024).to_string());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the contributing guide too

@ibraheemdev ibraheemdev disabled auto-merge July 2, 2024 19:00
konstin added a commit that referenced this pull request Jul 3, 2024
Fix windows stack sizes for #4708

In this case, box clap arguments so that clap parsing can be done in the default 1MB stack on windows.
konstin added a commit that referenced this pull request Jul 3, 2024
The changes in #4708 caused an overflow in debug mode only of the 1MB default stack size in windows during clap. This means that even trivial wrong argument tests would fail without increasing the stack size. As remedy, we box the clap types.
konstin added a commit that referenced this pull request Jul 3, 2024
Fix windows stack sizes for #4708

In this case, box clap arguments so that clap parsing can be done in the default 1MB stack on windows.
konstin added a commit that referenced this pull request Jul 3, 2024
The changes in #4708 caused an
overflow in debug mode only of the 1MB default stack size in windows
during clap. This means that even trivial wrong argument tests would
fail without increasing the stack size. As remedy, we box the clap
types.
@konstin
Copy link
Member

konstin commented Jul 4, 2024

I expect that #4796 (box the project commands type) will also fix the tests here. How do you want to proceeed @ibraheemdev? I can make the changes from #4796 but it will cause merge conflicts with both this and the uv init PR.

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

Successfully merging this pull request may close these issues.

Implement uv tree
4 participants