mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 10:50:29 +00:00
Avoid persisting uv add calls that result in resolver errors (#5664)
## Summary Closes https://github.com/astral-sh/uv/issues/5622.
This commit is contained in:
parent
54398fa7bc
commit
4b8a127c54
4 changed files with 92 additions and 5 deletions
|
|
@ -50,6 +50,12 @@ impl PartialEq for PyProjectToml {
|
|||
|
||||
impl Eq for PyProjectToml {}
|
||||
|
||||
impl AsRef<[u8]> for PyProjectToml {
|
||||
fn as_ref(&self) -> &[u8] {
|
||||
self.raw.as_bytes()
|
||||
}
|
||||
}
|
||||
|
||||
/// PEP 621 project metadata (`project`).
|
||||
///
|
||||
/// See <https://packaging.python.org/en/latest/specifications/pyproject-toml>.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue