mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-18 18:55:03 +00:00
Use "pre-release" in prose and Prerelease
in code (#5697)
## Summary Closes https://github.com/astral-sh/uv/issues/5630.
This commit is contained in:
parent
6797caccdb
commit
499c368f1e
26 changed files with 278 additions and 277 deletions
|
@ -177,7 +177,7 @@ impl PythonVersion {
|
|||
mod tests {
|
||||
use std::str::FromStr;
|
||||
|
||||
use pep440_rs::{PreRelease, PreReleaseKind, Version};
|
||||
use pep440_rs::{Prerelease, PrereleaseKind, Version};
|
||||
|
||||
use crate::PythonVersion;
|
||||
|
||||
|
@ -200,8 +200,8 @@ mod tests {
|
|||
assert_eq!(version.python_version().to_string(), "3.11");
|
||||
assert_eq!(
|
||||
version.python_full_version(),
|
||||
Version::new([3, 11, 8]).with_pre(Some(PreRelease {
|
||||
kind: PreReleaseKind::Alpha,
|
||||
Version::new([3, 11, 8]).with_pre(Some(Prerelease {
|
||||
kind: PrereleaseKind::Alpha,
|
||||
number: 1
|
||||
}))
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue