Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Jul 7, 2025

Adds exclude-newer-package = { package = timestamp, ... } and --exclude-newer-package package=timestamp. These take precedence over exclude-newer for a given package.

This does need to be serialized to the lockfile, so the revision is bumped to 3. I tested a previous version and we can read a lockfile with this information just fine.

Closes #14394

@zanieb zanieb added the configuration Settings and such label Jul 7, 2025
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 4bb5eb5 to ed44c3c Compare July 7, 2025 21:06
@zanieb zanieb temporarily deployed to uv-test-registries July 7, 2025 21:12 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from ed44c3c to b7e412a Compare July 7, 2025 22:51
@zanieb zanieb temporarily deployed to uv-test-registries July 7, 2025 22:53 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from b7e412a to 00b7726 Compare July 7, 2025 23:33
@zanieb zanieb temporarily deployed to uv-test-registries July 7, 2025 23:35 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 00b7726 to c0ff293 Compare July 17, 2025 16:18
@zanieb zanieb temporarily deployed to uv-test-registries July 17, 2025 16:21 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from c0ff293 to 97d77d3 Compare July 17, 2025 17:33
@zanieb zanieb temporarily deployed to uv-test-registries July 17, 2025 17:34 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 97d77d3 to 3e84e3f Compare July 17, 2025 18:31
@zanieb zanieb temporarily deployed to uv-test-registries July 17, 2025 18:35 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch 2 times, most recently from 11f6c61 to 9e695e3 Compare July 17, 2025 22:47
@zanieb zanieb temporarily deployed to uv-test-registries July 17, 2025 22:51 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 9e695e3 to 8c08815 Compare July 17, 2025 23:08
@zanieb zanieb temporarily deployed to uv-test-registries July 17, 2025 23:11 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 8c08815 to 7a6cb32 Compare July 18, 2025 01:56
@zanieb zanieb temporarily deployed to uv-test-registries July 18, 2025 01:58 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries July 18, 2025 12:41 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 23fcf08 to 7635c96 Compare July 18, 2025 13:34
@zanieb zanieb temporarily deployed to uv-test-registries July 18, 2025 13:36 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 7635c96 to 0542bb4 Compare July 22, 2025 11:39
@zanieb zanieb temporarily deployed to uv-test-registries July 22, 2025 11:41 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 0542bb4 to cd8d440 Compare July 22, 2025 12:00
@zanieb zanieb temporarily deployed to uv-test-registries July 22, 2025 12:03 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from cd8d440 to ad7b3f0 Compare July 22, 2025 13:05
@zanieb zanieb temporarily deployed to uv-test-registries July 22, 2025 13:07 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from ad7b3f0 to b859f3c Compare July 22, 2025 13:13
@zanieb zanieb temporarily deployed to uv-test-registries July 22, 2025 13:15 — with GitHub Actions Inactive
@zanieb zanieb marked this pull request as ready for review July 22, 2025 14:00
@zanieb zanieb temporarily deployed to uv-test-registries July 23, 2025 21:26 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from a8c830c to 0dc28a6 Compare July 23, 2025 22:05
@zanieb zanieb temporarily deployed to uv-test-registries July 23, 2025 22:08 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 0dc28a6 to 540dfc8 Compare July 23, 2025 22:23
@zanieb zanieb temporarily deployed to uv-test-registries July 23, 2025 22:25 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries July 24, 2025 20:59 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries July 25, 2025 18:35 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/exclude-newer-package branch from 2d80ed2 to d9ea088 Compare July 25, 2025 18:45
@zanieb zanieb temporarily deployed to uv-test-registries July 25, 2025 18:47 — with GitHub Actions Inactive
@zanieb zanieb requested review from jtfmumm and konstin July 25, 2025 19:23
@zanieb zanieb merged commit 11fe8f7 into main Jul 29, 2025
92 checks passed
@zanieb zanieb deleted the zb/exclude-newer-package branch July 29, 2025 22:00
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jul 31, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [astral-sh/uv](https://github.com/astral-sh/uv) | patch | `0.8.3` -> `0.8.4` |

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.8.4`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#084)

[Compare Source](astral-sh/uv@0.8.3...0.8.4)

##### Enhancements

- Improve styling of warning cause chains  ([#&#8203;14934](astral-sh/uv#14934))
- Extend wheel filtering to Android tags ([#&#8203;14977](astral-sh/uv#14977))
- Perform wheel lockfile filtering based on platform and OS intersection ([#&#8203;14976](astral-sh/uv#14976))
- Clarify messaging when a new resolution needs to be performed ([#&#8203;14938](astral-sh/uv#14938))

##### Preview features

- Add support for extending package's build dependencies with `extra-build-dependencies` ([#&#8203;14735](astral-sh/uv#14735))
- Split preview mode into separate feature flags ([#&#8203;14823](astral-sh/uv#14823))

##### Configuration

- Add support for package specific `exclude-newer` dates via `exclude-newer-package` ([#&#8203;14489](astral-sh/uv#14489))

##### Bug fixes

- Avoid invalidating lockfile when path or workspace dependencies define explicit indexes ([#&#8203;14876](astral-sh/uv#14876))
- Copy entrypoints that have a shebang that differs in `python` vs `python3` ([#&#8203;14970](astral-sh/uv#14970))
- Fix incorrect file permissions in wheel packages ([#&#8203;14930](astral-sh/uv#14930))
- Update validation for `environments` and `required-environments` in `uv.toml` ([#&#8203;14905](astral-sh/uv#14905))

##### Documentation

- Show `uv_build` in projects documentation ([#&#8203;14968](astral-sh/uv#14968))
- Add `UV_` prefix to installer environment variables ([#&#8203;14964](astral-sh/uv#14964))
- Un-hide `uv` from `--build-backend` options ([#&#8203;14939](astral-sh/uv#14939))
- Update documentation for preview flags ([#&#8203;14902](astral-sh/uv#14902))

</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:eyJjcmVhdGVkSW5WZXIiOiI0MS40NS4wIiwidXBkYXRlZEluVmVyIjoiNDEuNDUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Settings and such

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is it possible to upgrade just a single package if you change exclude-newer?

3 participants