Skip to content

Invalidate the interpreter cache when pyvenv.cfg changes - #23216

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

konstin merged 3 commits into
konsti/invalidate-interpreter-cache-on-macos-version-changesfrom
konsti/invalidate-python-interpreter-on-file-changes

Conversation

@konstin

@konstin konstin commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Invalidate the cached interpreter information when pyvenv.cfg changes.

Fixes #18510
Fixes #13444
Fixes #16165

@konstin
konstin added this pull request to stack #23217 November 11, 2026 11:46
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from 59d3afb to 9de53df Compare November 11, 2026 12:51
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from 9de53df to 2ebfaf5 Compare November 11, 2026 13:40
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch 2 times, most recently from 65b24eb to 2e54f31 Compare November 11, 2026 13:41
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from 9465143 to cea0c9a Compare November 11, 2026 14:13
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from cea0c9a to 93b18a9 Compare November 11, 2026 14:17
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from 93b18a9 to c1d9069 Compare November 11, 2026 14:19
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from c1d9069 to c3a9d79 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-python-interpreter-on-file-changes branch from c3a9d79 to 28f6ef6 Compare November 11, 2026 14:57
@konsti-openai konsti-openai changed the title Invalidate the interpreter cache when pyvenv.cfg changes Invalidate the interpreter cache when pyvenv.cfg changes Nov 11, 2026
@konsti-openai
konsti-openai marked this pull request as ready for review November 12, 2026 14:28
@zanieb

zanieb commented Nov 13, 2026

Copy link
Copy Markdown
Member

xref astral-sh#1818

@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from 28f6ef6 to d1fe827 Compare November 17, 2026 08:20
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from d1fe827 to a2e9799 Compare November 17, 2026 09:32
@konstin
konstin force-pushed the konsti/invalidate-python-interpreter-on-file-changes branch from a2e9799 to 27364a0 Compare November 17, 2026 09:41
@konstin
konstin merged commit e82a2b7 into main Nov 17, 2026
69 checks passed
@konstin
konstin deleted the konsti/invalidate-python-interpreter-on-file-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==-->

This branch was previously deployed

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

Labels

None yet

Projects

None yet

3 participants