mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-24 05:17:05 +00:00
Separate requirements.txt export logic from graph construction (#12956)
## Summary A standalone, preparatory refactor for https://github.com/astral-sh/uv/pull/12955.
This commit is contained in:
parent
eef3fc2215
commit
784510becc
3 changed files with 274 additions and 232 deletions
|
|
@ -48,9 +48,9 @@ use uv_types::{BuildContext, HashStrategy};
|
|||
use uv_workspace::WorkspaceMember;
|
||||
|
||||
use crate::fork_strategy::ForkStrategy;
|
||||
pub use crate::lock::export::RequirementsTxtExport;
|
||||
pub use crate::lock::installable::Installable;
|
||||
pub use crate::lock::map::PackageMap;
|
||||
pub use crate::lock::requirements_txt::RequirementsTxtExport;
|
||||
pub use crate::lock::tree::TreeDisplay;
|
||||
use crate::requires_python::SimplifiedMarkerTree;
|
||||
use crate::resolution::{AnnotatedDist, ResolutionGraphNode};
|
||||
|
|
@ -60,9 +60,9 @@ use crate::{
|
|||
ResolverOutput,
|
||||
};
|
||||
|
||||
mod export;
|
||||
mod installable;
|
||||
mod map;
|
||||
mod requirements_txt;
|
||||
mod tree;
|
||||
|
||||
/// The current version of the lockfile format.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue