Skip to content

Commit

Permalink
Add support for managed Python 3.13 and update CPython versions (#7263)
Browse files Browse the repository at this point in the history
Adds support for CPython 3.13.0rc2

Also bumps to the latest patch version of all the other CPython minor
versions we support.
  • Loading branch information
zanieb authored Sep 10, 2024
1 parent 0dc1f5d commit 0e98700
Show file tree
Hide file tree
Showing 12 changed files with 3,041 additions and 122 deletions.
6 changes: 6 additions & 0 deletions crates/pep440-rs/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,12 @@ impl std::fmt::Display for PrereleaseKind {
}
}

impl std::fmt::Display for Prerelease {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}{}", self.kind, self.number)
}
}

/// A part of the [local version identifier](<https://peps.python.org/pep-0440/#local-version-identifiers>)
///
/// Local versions are a mess:
Expand Down
Loading

0 comments on commit 0e98700

Please sign in to comment.