mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-17 02:52:45 +00:00
Remove integration tests from uv-resolver (#4083)
## Summary I don't think it's worth maintaining this separate test harness for ~18 tests, when they can all be tested in the `uv` package itself. Let's drop the maintenance burden.
This commit is contained in:
parent
0acae9bd9c
commit
120148f0a1
4 changed files with 0 additions and 825 deletions
|
|
@ -27,16 +27,6 @@ pub struct Preference {
|
|||
}
|
||||
|
||||
impl Preference {
|
||||
/// Create a simple [`Preference`] with no hashes.
|
||||
pub fn simple(name: PackageName, version: Version) -> Self {
|
||||
Self {
|
||||
name,
|
||||
version,
|
||||
marker: None,
|
||||
hashes: Vec::new(),
|
||||
}
|
||||
}
|
||||
|
||||
/// Create a [`Preference`] from a [`RequirementEntry`].
|
||||
pub fn from_entry(entry: RequirementEntry) -> Result<Option<Self>, PreferenceError> {
|
||||
let RequirementsTxtRequirement::Named(requirement) = entry.requirement else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue