mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-02 06:51:14 +00:00
Fix reference to --python-version
patch behavior (#3989)
## Summary We changed this at some point but didn't update the documentation.
This commit is contained in:
parent
8c3a8bf026
commit
29ea5d5d9a
1 changed files with 6 additions and 6 deletions
|
@ -526,8 +526,8 @@ pub(crate) struct PipCompileArgs {
|
|||
/// The minimum Python version that should be supported by the compiled requirements (e.g.,
|
||||
/// `3.7` or `3.7.9`).
|
||||
///
|
||||
/// If a patch version is omitted, the most recent known patch version for that minor version
|
||||
/// is assumed. For example, `3.7` is mapped to `3.7.17`.
|
||||
/// If a patch version is omitted, the minimum patch version is assumed. For example, `3.7` is
|
||||
/// mapped to `3.7.0`.
|
||||
#[arg(long, short)]
|
||||
pub(crate) python_version: Option<PythonVersion>,
|
||||
|
||||
|
@ -829,8 +829,8 @@ pub(crate) struct PipSyncArgs {
|
|||
/// The minimum Python version that should be supported by the requirements (e.g.,
|
||||
/// `3.7` or `3.7.9`).
|
||||
///
|
||||
/// If a patch version is omitted, the most recent known patch version for that minor version
|
||||
/// is assumed. For example, `3.7` is mapped to `3.7.17`.
|
||||
/// If a patch version is omitted, the minimum patch version is assumed. For example, `3.7` is
|
||||
/// mapped to `3.7.0`.
|
||||
#[arg(long)]
|
||||
pub(crate) python_version: Option<PythonVersion>,
|
||||
|
||||
|
@ -1185,8 +1185,8 @@ pub(crate) struct PipInstallArgs {
|
|||
/// The minimum Python version that should be supported by the requirements (e.g.,
|
||||
/// `3.7` or `3.7.9`).
|
||||
///
|
||||
/// If a patch version is omitted, the most recent known patch version for that minor version
|
||||
/// is assumed. For example, `3.7` is mapped to `3.7.17`.
|
||||
/// If a patch version is omitted, the minimum patch version is assumed. For example, `3.7` is
|
||||
/// mapped to `3.7.0`.
|
||||
#[arg(long)]
|
||||
pub(crate) python_version: Option<PythonVersion>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue