mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Small forking log improvements (#4894)
I found the current messages insufficient when tracking down a bug.
This commit is contained in:
parent
4f340580c7
commit
57cfe1e229
1 changed files with 6 additions and 2 deletions
|
@ -340,7 +340,10 @@ impl<InstalledPackages: InstalledPackagesProvider> ResolverState<InstalledPackag
|
||||||
'FORK: while let Some(mut state) = forked_states.pop() {
|
'FORK: while let Some(mut state) = forked_states.pop() {
|
||||||
if !state.markers.is_universal() {
|
if !state.markers.is_universal() {
|
||||||
if let Some(requires_python) = state.requires_python.as_ref() {
|
if let Some(requires_python) = state.requires_python.as_ref() {
|
||||||
debug!("Solving split {} ({})", state.markers, requires_python);
|
debug!(
|
||||||
|
"Solving split {} (requires-python: {})",
|
||||||
|
state.markers, requires_python
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
debug!("Solving split {}", state.markers);
|
debug!("Solving split {}", state.markers);
|
||||||
}
|
}
|
||||||
|
@ -548,8 +551,9 @@ impl<InstalledPackages: InstalledPackagesProvider> ResolverState<InstalledPackag
|
||||||
diverging_packages,
|
diverging_packages,
|
||||||
} => {
|
} => {
|
||||||
debug!(
|
debug!(
|
||||||
"Splitting resolution on {} over {}",
|
"Splitting resolution on {}=={} over {}",
|
||||||
state.next,
|
state.next,
|
||||||
|
version,
|
||||||
diverging_packages
|
diverging_packages
|
||||||
.iter()
|
.iter()
|
||||||
.map(ToString::to_string)
|
.map(ToString::to_string)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue