Skip to content

Commit 175017b

Browse files
Bump least-recent non-EOL macOS version to 13.0 (#12518)
## Summary We use the least-recent non-EOL macOS version by default, and this has since changed (i.e., macOS 12 went EOL). Closes #12487.
1 parent 5b2a8ab commit 175017b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

crates/uv-configuration/src/target_triple.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ pub enum TargetTriple {
3939

4040
/// An ARM-based macOS target, as seen on Apple Silicon devices
4141
///
42-
/// By default, assumes the least-recent, non-EOL macOS version (12.0), but respects
42+
/// By default, assumes the least-recent, non-EOL macOS version (13.0), but respects
4343
/// the `MACOSX_DEPLOYMENT_TARGET` environment variable if set.
4444
#[cfg_attr(feature = "clap", value(name = "aarch64-apple-darwin"))]
4545
#[cfg_attr(feature = "schemars", schemars(rename = "aarch64-apple-darwin"))]
4646
Aarch64AppleDarwin,
4747

4848
/// An x86 macOS target.
4949
///
50-
/// By default, assumes the least-recent, non-EOL macOS version (12.0), but respects
50+
/// By default, assumes the least-recent, non-EOL macOS version (13.0), but respects
5151
/// the `MACOSX_DEPLOYMENT_TARGET` environment variable if set.
5252
#[cfg_attr(feature = "clap", value(name = "x86_64-apple-darwin"))]
5353
#[cfg_attr(feature = "schemars", schemars(rename = "x86_64-apple-darwin"))]
@@ -212,15 +212,15 @@ impl TargetTriple {
212212
Arch::X86_64,
213213
),
214214
Self::Macos | Self::Aarch64AppleDarwin => {
215-
let (major, minor) = macos_deployment_target().map_or((12, 0), |(major, minor)| {
215+
let (major, minor) = macos_deployment_target().map_or((13, 0), |(major, minor)| {
216216
debug!("Found macOS deployment target: {}.{}", major, minor);
217217
(major, minor)
218218
});
219219
Platform::new(Os::Macos { major, minor }, Arch::Aarch64)
220220
}
221221
Self::I686PcWindowsMsvc => Platform::new(Os::Windows, Arch::X86),
222222
Self::X8664AppleDarwin => {
223-
let (major, minor) = macos_deployment_target().map_or((12, 0), |(major, minor)| {
223+
let (major, minor) = macos_deployment_target().map_or((13, 0), |(major, minor)| {
224224
debug!("Found macOS deployment target: {}.{}", major, minor);
225225
(major, minor)
226226
});

crates/uv-static/src/env_vars.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ impl EnvVars {
437437
/// Used with `--python-platform macos` and related variants to set the
438438
/// deployment target (i.e., the minimum supported macOS version).
439439
///
440-
/// Defaults to `12.0`, the least-recent non-EOL macOS version at time of writing.
440+
/// Defaults to `13.0`, the least-recent non-EOL macOS version at time of writing.
441441
pub const MACOSX_DEPLOYMENT_TARGET: &'static str = "MACOSX_DEPLOYMENT_TARGET";
442442

443443
/// Disables colored output (takes precedence over `FORCE_COLOR`).

docs/configuration/environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ Used to look for Microsoft Store Pythons installations.
496496
Used with `--python-platform macos` and related variants to set the
497497
deployment target (i.e., the minimum supported macOS version).
498498

499-
Defaults to `12.0`, the least-recent non-EOL macOS version at time of writing.
499+
Defaults to `13.0`, the least-recent non-EOL macOS version at time of writing.
500500

501501
### `NETRC`
502502

uv.schema.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)