Fix workspace_unsatisfiable_member_dependencies (#14429)

This commit is contained in:
Zanie Blue 2025-07-02 15:11:50 -05:00 committed by GitHub
parent 3bb8ac610c
commit a58969feef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1351,7 +1351,7 @@ fn workspace_unsatisfiable_member_dependencies() -> Result<()> {
leaf.child("src/__init__.py").touch()?; leaf.child("src/__init__.py").touch()?;
// Resolving should fail. // Resolving should fail.
uv_snapshot!(context.filters(), context.lock().current_dir(&workspace), @r###" uv_snapshot!(context.filters(), context.lock().current_dir(&workspace), @r"
success: false success: false
exit_code: 1 exit_code: 1
----- stdout ----- ----- stdout -----
@ -1359,9 +1359,9 @@ fn workspace_unsatisfiable_member_dependencies() -> Result<()> {
----- stderr ----- ----- stderr -----
Using CPython 3.12.[X] interpreter at: [PYTHON-3.12] Using CPython 3.12.[X] interpreter at: [PYTHON-3.12]
× No solution found when resolving dependencies: × No solution found when resolving dependencies:
Because only httpx<=1.0.0b0 is available and leaf depends on httpx>9999, we can conclude that leaf's requirements are unsatisfiable. Because only httpx<=0.27.0 is available and leaf depends on httpx>9999, we can conclude that leaf's requirements are unsatisfiable.
And because your workspace requires leaf, we can conclude that your workspace's requirements are unsatisfiable. And because your workspace requires leaf, we can conclude that your workspace's requirements are unsatisfiable.
"### "
); );
Ok(()) Ok(())