mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-02 06:51:14 +00:00
uv-resolver: remove 'derive(Derivative)' from PubGrubPackage
It looks like the last vestiges of `Derivative` were removed in commit
7eaed07f6c
, but the then rendered
superfluous `derive(Derivative)` wasn't removed.
This commit is contained in:
parent
eac8221718
commit
9f109f243c
1 changed files with 1 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
||||||
use derivative::Derivative;
|
|
||||||
|
|
||||||
use distribution_types::VerbatimParsedUrl;
|
use distribution_types::VerbatimParsedUrl;
|
||||||
use uv_normalize::{ExtraName, PackageName};
|
use uv_normalize::{ExtraName, PackageName};
|
||||||
|
|
||||||
|
@ -12,8 +10,7 @@ use crate::resolver::Urls;
|
||||||
/// 2. Uses the same strategy as pip and posy to handle extras: for each extra, we create a virtual
|
/// 2. Uses the same strategy as pip and posy to handle extras: for each extra, we create a virtual
|
||||||
/// package (e.g., `black[colorama]`), and mark it as a dependency of the real package (e.g.,
|
/// package (e.g., `black[colorama]`), and mark it as a dependency of the real package (e.g.,
|
||||||
/// `black`). We then discard the virtual packages at the end of the resolution process.
|
/// `black`). We then discard the virtual packages at the end of the resolution process.
|
||||||
#[derive(Debug, Clone, Eq, Derivative)]
|
#[derive(Debug, Clone, Eq, Hash, PartialEq)]
|
||||||
#[derivative(PartialEq, Hash)]
|
|
||||||
pub enum PubGrubPackage {
|
pub enum PubGrubPackage {
|
||||||
/// The root package, which is used to start the resolution process.
|
/// The root package, which is used to start the resolution process.
|
||||||
Root(Option<PackageName>),
|
Root(Option<PackageName>),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue