mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Error when editables don't match Requires-Python
(#2194)
## Summary Closes https://github.com/astral-sh/uv/issues/2192. ## Test Plan (Needs tests.)
This commit is contained in:
parent
2a53e789b0
commit
0bc047866d
7 changed files with 217 additions and 16 deletions
|
@ -22,12 +22,12 @@ impl PythonRequirement {
|
|||
}
|
||||
|
||||
/// Return the installed version of Python.
|
||||
pub(crate) fn installed(&self) -> &Version {
|
||||
pub fn installed(&self) -> &Version {
|
||||
&self.installed
|
||||
}
|
||||
|
||||
/// Return the target version of Python.
|
||||
pub(crate) fn target(&self) -> &Version {
|
||||
pub fn target(&self) -> &Version {
|
||||
&self.target
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue