Skip to content

Invalidate the interpreter cache when the macOs version changes - #23215

Merged
konstin merged 2 commits into
konsti/invalidate-interpreter-cache-on-libc-changesfrom
konsti/invalidate-interpreter-cache-on-macos-version-changes
Nov 17, 2026
Merged

konstin merged 2 commits into
konsti/invalidate-interpreter-cache-on-libc-changesfrom
konsti/invalidate-interpreter-cache-on-macos-version-changes

Conversation

@konstin

@konstin konstin commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Python reads the macOS product version from the system version plist and refresh when it changes.

Python doesn't tell us that this is the file platform.mac_ver is using, but we know the path anyway.

@konstin
konstin added this pull request to stack #23217 November 11, 2026 11:46
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from 8a98bb8 to 9d52563 Compare November 11, 2026 12:51
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from 9d52563 to 6ccf821 Compare November 11, 2026 13:40
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch 2 times, most recently from 47408e1 to a7deaa3 Compare November 11, 2026 13:41
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from a7deaa3 to 33e20d7 Compare November 11, 2026 14:13
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from 33e20d7 to cd17bc8 Compare November 11, 2026 14:17
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from cd17bc8 to 62f6c0f Compare November 11, 2026 14:19
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from 9c584d3 to a677c0d Compare November 11, 2026 14:56
@konstin
konstin requested a review from EliteTK November 11, 2026 14:56
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from a677c0d to d8c8ca7 Compare November 11, 2026 14:57
@konsti-openai konsti-openai changed the title Invalidate the interpreter cache when SystemVersion.plist changes Invalidate the interpreter cache when the macOs version changes Nov 11, 2026
@konsti-openai
konsti-openai marked this pull request as ready for review November 12, 2026 14:28
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from d8c8ca7 to 8369584 Compare November 17, 2026 08:20
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from 8369584 to 699925c Compare November 17, 2026 09:32
@konstin
konstin force-pushed the konsti/invalidate-interpreter-cache-on-macos-version-changes branch from 699925c to 6257932 Compare November 17, 2026 09:41
@konstin
konstin merged commit fdc9403 into main Nov 17, 2026
69 checks passed
@konstin
konstin deleted the konsti/invalidate-interpreter-cache-on-macos-version-changes branch November 17, 2026 10:04
renovate Bot added a commit to romkey/access-parking-permitter-esphome that referenced this pull request Nov 24, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/astral-sh/uv](https://redirect.github.com/astral-sh/uv) |
patch | `0.13.9-python3.13-trixie-slim` →
`0.13.10-python3.13-trixie-slim` |

---

### Release Notes

<details>
<summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary>

###
[`v0.13.10`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01310)

Released on 2026-11-24.

##### Enhancements

- Validate that dependency requirements in `uv.lock` match the locked
package versions
([astral-sh/uv#23238](https://redirect.github.com/astral-sh/uv/pull/23238))
- Explain why `uv.lock` needs to be updated when `--locked` rejects it
([astral-sh/uv#23251](https://redirect.github.com/astral-sh/uv/pull/23251))
- Report dependencies whose package entries are missing from `uv.lock`
([astral-sh/uv#23304](https://redirect.github.com/astral-sh/uv/pull/23304))

##### Python

- Update managed CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, 3.15.2, and
3.16.0a2 builds
([astral-sh/uv#23240](https://redirect.github.com/astral-sh/uv/pull/23240),
[astral-sh/uv#23397](https://redirect.github.com/astral-sh/uv/pull/23397))
- Update GraalPy 3.13.0 to build 25.6.5
([astral-sh/uv#23397](https://redirect.github.com/astral-sh/uv/pull/23397))

##### Preview features

- Use proxy indexes while keeping lockfiles portable to their upstream
indexes through reversible artifact URLs
([astral-sh/uv#20790](https://redirect.github.com/astral-sh/uv/pull/20790),
[astral-sh/uv#23276](https://redirect.github.com/astral-sh/uv/pull/23276))

##### Bug fixes

- Reject wheels whose ZIP data descriptor and central directory disagree
on the compressed size
([astral-sh/uv#23332](https://redirect.github.com/astral-sh/uv/pull/23332))
- Refresh cached interpreter information when libc, the macOS version,
or `pyvenv.cfg` changes
([astral-sh/uv#23214](https://redirect.github.com/astral-sh/uv/pull/23214),
[astral-sh/uv#23215](https://redirect.github.com/astral-sh/uv/pull/23215),
[astral-sh/uv#23216](https://redirect.github.com/astral-sh/uv/pull/23216))
- Allow `uv sync --no-install-package` to skip packages without a
compatible distribution
([astral-sh/uv#23338](https://redirect.github.com/astral-sh/uv/pull/23338))
- Ignore unreachable wheels before requiring hashes for `uv.lock`
([astral-sh/uv#23312](https://redirect.github.com/astral-sh/uv/pull/23312))
- Avoid reusing yanked pins with unsatisfiable markers in `uv pip
compile --universal`
([astral-sh/uv#23394](https://redirect.github.com/astral-sh/uv/pull/23394))

##### Documentation

- Cite Minato's original description of the ISOP algorithm
([astral-sh/uv#23303](https://redirect.github.com/astral-sh/uv/pull/23303))

##### Other changes

- Update the bundled Mozilla root certificates via `webpki-root-certs`
1.0.12
([astral-sh/uv#23302](https://redirect.github.com/astral-sh/uv/pull/23302))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/romkey/access-parking-permitter-esphome).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
truecharts-admin added a commit to trueforge-org/containerforge that referenced this pull request Nov 24, 2026
…4940)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ghcr.io/astral-sh/uv](https://redirect.github.com/astral-sh/uv) |
final | patch | `d3b601f` → `a3ea135` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/1) for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary>

###
[`v0.13.10`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01310)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.9...0.13.10)

Released on 2026-11-24.

##### Enhancements

- Validate that dependency requirements in `uv.lock` match the locked
package versions
([astral-sh/uv#23238](https://redirect.github.com/astral-sh/uv/pull/23238))
- Explain why `uv.lock` needs to be updated when `--locked` rejects it
([astral-sh/uv#23251](https://redirect.github.com/astral-sh/uv/pull/23251))
- Report dependencies whose package entries are missing from `uv.lock`
([astral-sh/uv#23304](https://redirect.github.com/astral-sh/uv/pull/23304))

##### Python

- Update managed CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, 3.15.2, and
3.16.0a2 builds
([astral-sh/uv#23240](https://redirect.github.com/astral-sh/uv/pull/23240),
[astral-sh/uv#23397](https://redirect.github.com/astral-sh/uv/pull/23397))
- Update GraalPy 3.13.0 to build 25.6.5
([astral-sh/uv#23397](https://redirect.github.com/astral-sh/uv/pull/23397))

##### Preview features

- Use proxy indexes while keeping lockfiles portable to their upstream
indexes through reversible artifact URLs
([astral-sh/uv#20790](https://redirect.github.com/astral-sh/uv/pull/20790),
[astral-sh/uv#23276](https://redirect.github.com/astral-sh/uv/pull/23276))

##### Bug fixes

- Reject wheels whose ZIP data descriptor and central directory disagree
on the compressed size
([astral-sh/uv#23332](https://redirect.github.com/astral-sh/uv/pull/23332))
- Refresh cached interpreter information when libc, the macOS version,
or `pyvenv.cfg` changes
([astral-sh/uv#23214](https://redirect.github.com/astral-sh/uv/pull/23214),
[astral-sh/uv#23215](https://redirect.github.com/astral-sh/uv/pull/23215),
[astral-sh/uv#23216](https://redirect.github.com/astral-sh/uv/pull/23216))
- Allow `uv sync --no-install-package` to skip packages without a
compatible distribution
([astral-sh/uv#23338](https://redirect.github.com/astral-sh/uv/pull/23338))
- Ignore unreachable wheels before requiring hashes for `uv.lock`
([astral-sh/uv#23312](https://redirect.github.com/astral-sh/uv/pull/23312))
- Avoid reusing yanked pins with unsatisfiable markers in `uv pip
compile --universal`
([astral-sh/uv#23394](https://redirect.github.com/astral-sh/uv/pull/23394))

##### Documentation

- Cite Minato's original description of the ISOP algorithm
([astral-sh/uv#23303](https://redirect.github.com/astral-sh/uv/pull/23303))

##### Other changes

- Update the bundled Mozilla root certificates via `webpki-root-certs`
1.0.12
([astral-sh/uv#23302](https://redirect.github.com/astral-sh/uv/pull/23302))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend Renovate
CLI](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNjAuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjI2MC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcHAvZmxleGdldCIsImF1dG9tZXJnZSIsInJlbm92YXRlIiwicmVub3ZhdGUvY29udGFpbmVyIiwic2tpcC1jb2RlcmFiYml0IiwidHlwZS9wYXRjaCJdfQ==-->
renovate Bot added a commit to romkey/esphome-media-console that referenced this pull request Nov 24, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/astral-sh/uv](https://redirect.github.com/astral-sh/uv) |
patch | `0.13.9-python3.13-trixie-slim` →
`0.13.10-python3.13-trixie-slim` |

---

### Release Notes

<details>
<summary>astral-sh/uv (ghcr.io/astral-sh/uv)</summary>

###
[`v0.13.10`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#01310)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.9...0.13.10)

Released on 2026-11-24.

##### Enhancements

- Validate that dependency requirements in `uv.lock` match the locked
package versions
([astral-sh/uv#23238](https://redirect.github.com/astral-sh/uv/pull/23238))
- Explain why `uv.lock` needs to be updated when `--locked` rejects it
([astral-sh/uv#23251](https://redirect.github.com/astral-sh/uv/pull/23251))
- Report dependencies whose package entries are missing from `uv.lock`
([astral-sh/uv#23304](https://redirect.github.com/astral-sh/uv/pull/23304))

##### Python

- Update managed CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, 3.15.2, and
3.16.0a2 builds
([astral-sh/uv#23240](https://redirect.github.com/astral-sh/uv/pull/23240),
[astral-sh/uv#23397](https://redirect.github.com/astral-sh/uv/pull/23397))
- Update GraalPy 3.13.0 to build 25.6.5
([astral-sh/uv#23397](https://redirect.github.com/astral-sh/uv/pull/23397))

##### Preview features

- Use proxy indexes while keeping lockfiles portable to their upstream
indexes through reversible artifact URLs
([astral-sh/uv#20790](https://redirect.github.com/astral-sh/uv/pull/20790),
[astral-sh/uv#23276](https://redirect.github.com/astral-sh/uv/pull/23276))

##### Bug fixes

- Reject wheels whose ZIP data descriptor and central directory disagree
on the compressed size
([astral-sh/uv#23332](https://redirect.github.com/astral-sh/uv/pull/23332))
- Refresh cached interpreter information when libc, the macOS version,
or `pyvenv.cfg` changes
([astral-sh/uv#23214](https://redirect.github.com/astral-sh/uv/pull/23214),
[astral-sh/uv#23215](https://redirect.github.com/astral-sh/uv/pull/23215),
[astral-sh/uv#23216](https://redirect.github.com/astral-sh/uv/pull/23216))
- Allow `uv sync --no-install-package` to skip packages without a
compatible distribution
([astral-sh/uv#23338](https://redirect.github.com/astral-sh/uv/pull/23338))
- Ignore unreachable wheels before requiring hashes for `uv.lock`
([astral-sh/uv#23312](https://redirect.github.com/astral-sh/uv/pull/23312))
- Avoid reusing yanked pins with unsatisfiable markers in `uv pip
compile --universal`
([astral-sh/uv#23394](https://redirect.github.com/astral-sh/uv/pull/23394))

##### Documentation

- Cite Minato's original description of the ISOP algorithm
([astral-sh/uv#23303](https://redirect.github.com/astral-sh/uv/pull/23303))

##### Other changes

- Update the bundled Mozilla root certificates via `webpki-root-certs`
1.0.12
([astral-sh/uv#23302](https://redirect.github.com/astral-sh/uv/pull/23302))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/romkey/esphome-media-console).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
automations — 62579326 Deployed Nov 17, 2026 by konstin via review | security / security review #54049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants