Skip to content

Use AMD64 for x86-64 Windows platform markers - #22935

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/windows-marker-machine
Oct 26, 2026
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/windows-marker-machine

Conversation

@charliermarsh

Copy link
Copy Markdown
Member

Summary

CPython reports platform.machine() as AMD64 on x86-64 Windows. We now use that value for --python-platform x86_64-pc-windows-msvc and its windows alias. Previously, both used x86_64, so uv skipped dependencies guarded by platform_machine == 'AMD64' and rejected pylock.toml files that used the same marker in environments.

Closes #22920.

@charliermarsh charliermarsh added bug Something isn't working area:windows Specific to the Windows platform labels Oct 26, 2026
@charliermarsh
charliermarsh merged commit 7a57801 into main Oct 26, 2026
67 checks passed
@charliermarsh
charliermarsh deleted the charlie/windows-marker-machine branch October 26, 2026 15:35
hbjydev pushed a commit to hbjydev/phoebe that referenced this pull request Oct 27, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [uv](https://github.com/astral-sh/uv) | tools | patch | `0.13.5` → `0.13.6` |

---

### Release Notes

<details>
<summary>astral-sh/uv (uv)</summary>

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

[Compare Source](astral-sh/uv@0.13.5...0.13.6)

Released on 2026-10-26.

##### Enhancements

- Accept an empty `UV_RUN_RECURSION_DEPTH` as zero and report invalid values consistently ([#&#8203;22814](astral-sh/uv#22814))
- Explain how to add project metadata when `uv init` finds a `pyproject.toml` without a `[project]` table ([#&#8203;22916](astral-sh/uv#22916))

##### Python

- Add CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, and 3.15.2 ([#&#8203;22938](astral-sh/uv#22938))

##### Preview features

- Detect NVIDIA GPU capabilities when selecting compatible wheel variants with `wheel-variants` ([#&#8203;22690](astral-sh/uv#22690))
- Nest each module's owners in an object in `uv workspace metadata` output ([#&#8203;22638](astral-sh/uv#22638))
- Report the unsupported properties required by an incompatible wheel variant ([#&#8203;22719](astral-sh/uv#22719))

##### Performance

- Reduce peak memory use when resolving large workspaces ([#&#8203;22860](astral-sh/uv#22860), [#&#8203;22863](astral-sh/uv#22863), [#&#8203;22864](astral-sh/uv#22864), [#&#8203;22866](astral-sh/uv#22866), [#&#8203;22870](astral-sh/uv#22870))
- Reduce peak memory use when locking or upgrading large projects ([#&#8203;22833](astral-sh/uv#22833), [#&#8203;22834](astral-sh/uv#22834))
- Speed up redirected output from `uv export` and `uv pip compile` ([#&#8203;22840](astral-sh/uv#22840))
- Reuse cached or active environments when running PEP 723 scripts without dependencies ([#&#8203;21458](astral-sh/uv#21458))
- Reduce parsing overhead for build dependency and build backend settings ([#&#8203;22848](astral-sh/uv#22848), [#&#8203;22871](astral-sh/uv#22871), [#&#8203;22879](astral-sh/uv#22879), [#&#8203;22884](astral-sh/uv#22884))
- Reduce parsing overhead for project sources and workspace references ([#&#8203;22880](astral-sh/uv#22880), [#&#8203;22883](astral-sh/uv#22883))
- Reduce parsing overhead for cache, exclusion, cutoff, and preview settings ([#&#8203;22876](astral-sh/uv#22876), [#&#8203;22877](astral-sh/uv#22877), [#&#8203;22878](astral-sh/uv#22878), [#&#8203;22887](astral-sh/uv#22887))
- Reduce PyPI metadata parsing overhead ([#&#8203;22874](astral-sh/uv#22874), [#&#8203;22875](astral-sh/uv#22875))
- Speed up parsing tool receipt requirements ([#&#8203;22885](astral-sh/uv#22885))

##### Bug fixes

- Prevent `uv run --active --script` and `uv sync --active --script` from deleting non-virtual-environment directories ([#&#8203;21464](astral-sh/uv#21464))
- Use `AMD64` for `platform_machine` when resolving for x86-64 Windows ([#&#8203;22935](astral-sh/uv#22935))
- Preserve free-threaded and other non-default variants in `uv python upgrade` ([#&#8203;22836](astral-sh/uv#22836))
- Allow `uv init --no-package` and `uv init --script` when `UV_INIT_BUILD_BACKEND` is set ([#&#8203;22907](astral-sh/uv#22907))
- Prevent panics when rendering containment markers with local versions ([#&#8203;22815](astral-sh/uv#22815))

##### Documentation

- Update the Docker guide and reproduction examples to use uv 0.13.5 ([#&#8203;22867](astral-sh/uv#22867))

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/London)

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODEuNyIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=-->

Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/1017
luketainton pushed a commit to luketainton/luke_rsu that referenced this pull request Oct 27, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ghcr.io/astral-sh/uv](https://github.com/astral-sh/uv) | stage | patch | `0.13.5` → `0.13.6` |

---

### Release Notes

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

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

[Compare Source](astral-sh/uv@0.13.5...0.13.6)

Released on 2026-10-26.

##### Enhancements

- Accept an empty `UV_RUN_RECURSION_DEPTH` as zero and report invalid values consistently ([#&#8203;22814](astral-sh/uv#22814))
- Explain how to add project metadata when `uv init` finds a `pyproject.toml` without a `[project]` table ([#&#8203;22916](astral-sh/uv#22916))

##### Python

- Add CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, and 3.15.2 ([#&#8203;22938](astral-sh/uv#22938))

##### Preview features

- Detect NVIDIA GPU capabilities when selecting compatible wheel variants with `wheel-variants` ([#&#8203;22690](astral-sh/uv#22690))
- Nest each module's owners in an object in `uv workspace metadata` output ([#&#8203;22638](astral-sh/uv#22638))
- Report the unsupported properties required by an incompatible wheel variant ([#&#8203;22719](astral-sh/uv#22719))

##### Performance

- Reduce peak memory use when resolving large workspaces ([#&#8203;22860](astral-sh/uv#22860), [#&#8203;22863](astral-sh/uv#22863), [#&#8203;22864](astral-sh/uv#22864), [#&#8203;22866](astral-sh/uv#22866), [#&#8203;22870](astral-sh/uv#22870))
- Reduce peak memory use when locking or upgrading large projects ([#&#8203;22833](astral-sh/uv#22833), [#&#8203;22834](astral-sh/uv#22834))
- Speed up redirected output from `uv export` and `uv pip compile` ([#&#8203;22840](astral-sh/uv#22840))
- Reuse cached or active environments when running PEP 723 scripts without dependencies ([#&#8203;21458](astral-sh/uv#21458))
- Reduce parsing overhead for build dependency and build backend settings ([#&#8203;22848](astral-sh/uv#22848), [#&#8203;22871](astral-sh/uv#22871), [#&#8203;22879](astral-sh/uv#22879), [#&#8203;22884](astral-sh/uv#22884))
- Reduce parsing overhead for project sources and workspace references ([#&#8203;22880](astral-sh/uv#22880), [#&#8203;22883](astral-sh/uv#22883))
- Reduce parsing overhead for cache, exclusion, cutoff, and preview settings ([#&#8203;22876](astral-sh/uv#22876), [#&#8203;22877](astral-sh/uv#22877), [#&#8203;22878](astral-sh/uv#22878), [#&#8203;22887](astral-sh/uv#22887))
- Reduce PyPI metadata parsing overhead ([#&#8203;22874](astral-sh/uv#22874), [#&#8203;22875](astral-sh/uv#22875))
- Speed up parsing tool receipt requirements ([#&#8203;22885](astral-sh/uv#22885))

##### Bug fixes

- Prevent `uv run --active --script` and `uv sync --active --script` from deleting non-virtual-environment directories ([#&#8203;21464](astral-sh/uv#21464))
- Use `AMD64` for `platform_machine` when resolving for x86-64 Windows ([#&#8203;22935](astral-sh/uv#22935))
- Preserve free-threaded and other non-default variants in `uv python upgrade` ([#&#8203;22836](astral-sh/uv#22836))
- Allow `uv init --no-package` and `uv init --script` when `UV_INIT_BUILD_BACKEND` is set ([#&#8203;22907](astral-sh/uv#22907))
- Prevent panics when rendering containment markers with local versions ([#&#8203;22815](astral-sh/uv#22815))

##### Documentation

- Update the Docker guide and reproduction examples to use uv 0.13.5 ([#&#8203;22867](astral-sh/uv#22867))

</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 has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODYuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE4Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/rsu/pulls/62
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
luketainton pushed a commit to luketainton/repos_labmcp that referenced this pull request Oct 27, 2026
This PR contains the following updates:

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

---

### Release Notes

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

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

[Compare Source](astral-sh/uv@0.13.5...0.13.6)

Released on 2026-10-26.

##### Enhancements

- Accept an empty `UV_RUN_RECURSION_DEPTH` as zero and report invalid values consistently ([#&#8203;22814](astral-sh/uv#22814))
- Explain how to add project metadata when `uv init` finds a `pyproject.toml` without a `[project]` table ([#&#8203;22916](astral-sh/uv#22916))

##### Python

- Add CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, and 3.15.2 ([#&#8203;22938](astral-sh/uv#22938))

##### Preview features

- Detect NVIDIA GPU capabilities when selecting compatible wheel variants with `wheel-variants` ([#&#8203;22690](astral-sh/uv#22690))
- Nest each module's owners in an object in `uv workspace metadata` output ([#&#8203;22638](astral-sh/uv#22638))
- Report the unsupported properties required by an incompatible wheel variant ([#&#8203;22719](astral-sh/uv#22719))

##### Performance

- Reduce peak memory use when resolving large workspaces ([#&#8203;22860](astral-sh/uv#22860), [#&#8203;22863](astral-sh/uv#22863), [#&#8203;22864](astral-sh/uv#22864), [#&#8203;22866](astral-sh/uv#22866), [#&#8203;22870](astral-sh/uv#22870))
- Reduce peak memory use when locking or upgrading large projects ([#&#8203;22833](astral-sh/uv#22833), [#&#8203;22834](astral-sh/uv#22834))
- Speed up redirected output from `uv export` and `uv pip compile` ([#&#8203;22840](astral-sh/uv#22840))
- Reuse cached or active environments when running PEP 723 scripts without dependencies ([#&#8203;21458](astral-sh/uv#21458))
- Reduce parsing overhead for build dependency and build backend settings ([#&#8203;22848](astral-sh/uv#22848), [#&#8203;22871](astral-sh/uv#22871), [#&#8203;22879](astral-sh/uv#22879), [#&#8203;22884](astral-sh/uv#22884))
- Reduce parsing overhead for project sources and workspace references ([#&#8203;22880](astral-sh/uv#22880), [#&#8203;22883](astral-sh/uv#22883))
- Reduce parsing overhead for cache, exclusion, cutoff, and preview settings ([#&#8203;22876](astral-sh/uv#22876), [#&#8203;22877](astral-sh/uv#22877), [#&#8203;22878](astral-sh/uv#22878), [#&#8203;22887](astral-sh/uv#22887))
- Reduce PyPI metadata parsing overhead ([#&#8203;22874](astral-sh/uv#22874), [#&#8203;22875](astral-sh/uv#22875))
- Speed up parsing tool receipt requirements ([#&#8203;22885](astral-sh/uv#22885))

##### Bug fixes

- Prevent `uv run --active --script` and `uv sync --active --script` from deleting non-virtual-environment directories ([#&#8203;21464](astral-sh/uv#21464))
- Use `AMD64` for `platform_machine` when resolving for x86-64 Windows ([#&#8203;22935](astral-sh/uv#22935))
- Preserve free-threaded and other non-default variants in `uv python upgrade` ([#&#8203;22836](astral-sh/uv#22836))
- Allow `uv init --no-package` and `uv init --script` when `UV_INIT_BUILD_BACKEND` is set ([#&#8203;22907](astral-sh/uv#22907))
- Prevent panics when rendering containment markers with local versions ([#&#8203;22815](astral-sh/uv#22815))

##### Documentation

- Update the Docker guide and reproduction examples to use uv 0.13.5 ([#&#8203;22867](astral-sh/uv#22867))

</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 has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODYuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE4Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/labmcp/pulls/83
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>

This branch was previously deployed

1 inactive deployment
automations — 18aa19c4 Deployed Oct 26, 2026 by charliermarsh via review / security review #52706
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:windows Specific to the Windows platform bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--python-platform x86_64-pc-windows-msvc sets platform_machine to x86_64 instead of AMD64

1 participant

⌂ 换网址