Skip to content

Conversation

@konstin
Copy link
Member

@konstin konstin commented Jan 6, 2026

@konstin konstin added the enhancement New feature or improvement to existing functionality label Jan 6, 2026
@konstin konstin temporarily deployed to uv-test-registries January 6, 2026 20:28 — with GitHub Actions Inactive
@konstin konstin force-pushed the konsti/record-portable-path branch from 53721cb to f15cd28 Compare January 6, 2026 20:40
@konstin konstin temporarily deployed to uv-test-registries January 6, 2026 20:43 — with GitHub Actions Inactive
…lready using forward paths for paths that are not created by uv. See * #14446 * python/importlib_metadata#528
@konstin konstin force-pushed the konsti/record-portable-path branch from f15cd28 to b676fd3 Compare January 6, 2026 20:48
@konstin konstin temporarily deployed to uv-test-registries January 6, 2026 20:50 — with GitHub Actions Inactive
Copy link
Contributor

@EliteTK EliteTK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I read some of the background on this, but despite the fact that we were conformant before and are conformant now, it seems like a breaking change...?

@konstin
Copy link
Member Author

konstin commented Jan 7, 2026

I read some of the background on this, but despite the fact that we were conformant before and are conformant now, it seems like a breaking change...?

Both are valid formats for transporting the same information, we're only really changing the normalization of the data we write, so no workflows should break (plus we fix importlib.metadata compatibility)

@konstin konstin temporarily deployed to uv-test-registries January 7, 2026 08:37 — with GitHub Actions Inactive
@konstin konstin temporarily deployed to uv-test-registries January 7, 2026 08:54 — with GitHub Actions Inactive
@EliteTK
Copy link
Contributor

EliteTK commented Jan 7, 2026

I didn't mean to imply that we shouldn't change it, I think this is strictly a good change. I just mean that, just like importlib.metadata relied on pip's decision to always use portable paths, someone might have relied on uv's decision to use windows paths on windows.

But, having thought about it a bit more, I agree it's probably too unlikely to make much noise about it beyond the issue title (which is perfectly clear as is).

@konstin
Copy link
Member Author

konstin commented Jan 7, 2026

That's true; Given that pip always wrote portable paths, I hope that no parser reads just the uv format in a non-portable way. With the spec allowing portable paths and Windows applications usually understanding forward slashes, I'm confident enough that we don't need to consider this a breaking change.

@konstin konstin merged commit 6b2d6f2 into main Jan 7, 2026
102 checks passed
@konstin konstin deleted the konsti/record-portable-path branch January 7, 2026 19:40
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jan 12, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [astral-sh/uv](https://github.com/astral-sh/uv) | patch | `0.9.22` → `0.9.24` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

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

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

[Compare Source](astral-sh/uv@0.9.23...0.9.24)

Released on 2026-01-09.

##### Bug fixes

- Fix handling of `UV_NO_SYNC=1 uv run ...` ([#&#8203;17391](astral-sh/uv#17391))
- Rebuild dynamic distribution when version changes with `--no-cache` ([#&#8203;17387](astral-sh/uv#17387))

##### Documentation

- Add Rust language classifier ([#&#8203;17389](astral-sh/uv#17389))

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

[Compare Source](astral-sh/uv@0.9.22...0.9.23)

Released on 2026-01-09.

##### Enhancements

- Only write portable paths in `RECORD` files ([#&#8203;17339](astral-sh/uv#17339))
- Support relative paths in `UV_PYTHON_BIN_DIR` and `UV_TOOL_BIN_DIR` ([#&#8203;17367](astral-sh/uv#17367))

##### Preview features

- Enable uploads to S3 via pre-signed URLs ([#&#8203;17349](astral-sh/uv#17349))

##### Configuration

- Allow setting proxy variables via global / user configuration ([#&#8203;16918](astral-sh/uv#16918))
- Manually parse and reconcile Boolean environment variables ([#&#8203;17321](astral-sh/uv#17321))

##### Bug fixes

- Avoid broken build artifacts on build failure ([#&#8203;17276](astral-sh/uv#17276))
- Fix missing dependencies on synthetic root in SBOM export ([#&#8203;17363](astral-sh/uv#17363))
- Recognize `armv8l` as an alias for `armv7l` in platform tag parsing ([#&#8203;17384](astral-sh/uv#17384))
- Fix redaction of a URL in a middleware trace log ([#&#8203;17346](astral-sh/uv#17346))

##### Documentation

- Add `index.md` suggestion to `llms.txt` ([#&#8203;17362](astral-sh/uv#17362))
- Clarify that `uv run` uses inexact syncing by default ([#&#8203;17366](astral-sh/uv#17366))

</details>

---

### Configuration

📅 **Schedule**: 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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

---

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

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNzUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6OnBhdGNoIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Name of entity from importlib.metadata.files inconsistent between win and linux platforms

4 participants