mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-14 00:35:00 +00:00
Avoid warning about bad Python interpreter links for empty project environment directories (#7527)
Someone reported this a while back (will try to find the issue), and I ran into it working on #7522
This commit is contained in:
parent
4fdf5fc73f
commit
6b08aaecad
4 changed files with 48 additions and 21 deletions
|
@ -78,6 +78,9 @@ pub enum Error {
|
|||
|
||||
#[error(transparent)]
|
||||
MissingEnvironment(#[from] environment::EnvironmentNotFound),
|
||||
|
||||
#[error(transparent)]
|
||||
InvalidEnvironment(#[from] environment::InvalidEnvironment),
|
||||
}
|
||||
|
||||
// The mock interpreters are not valid on Windows so we don't have unit test coverage there
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue