mirror of https://github.com/astral-sh/uv
Remove unnecessary distribution clone (#11004)
This commit is contained in:
parent
bd9607bbf9
commit
bbba2c7bce
|
|
@ -347,7 +347,7 @@ impl<'a, Context: BuildContext> DistributionDatabase<'a, Context> {
|
|||
tags: &Tags,
|
||||
hashes: HashPolicy<'_>,
|
||||
) -> Result<LocalWheel, Error> {
|
||||
let lock = self.locks.acquire(&Dist::Source(dist.clone())).await;
|
||||
let lock = self.locks.acquire(dist).await;
|
||||
let _guard = lock.lock().await;
|
||||
|
||||
let built_wheel = self
|
||||
|
|
|
|||
Loading…
Reference in New Issue