Skip to content

chore: run uv lock after adding exclude-newer duration - #372

Merged
tromai merged 1 commit into
canonical:mainfrom
tromai:re-lock-uv-to-include-exclude-newer
Jul 8, 2026
Merged

chore: run uv lock after adding exclude-newer duration#372
tromai merged 1 commit into
canonical:mainfrom
tromai:re-lock-uv-to-include-exclude-newer

Conversation

@tromai

@tromai tromai commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

I'm sorry for the noise.

In #370, I ran uv lock before pulling in the changes from #368. I didn't expect

[tool.uv]
exclude-newer = "7 days"

to write into uv.lock, the next time you run uv commands (in Jubilant, it happened when I ran make lint):

[options]
exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.
exclude-newer-span = "P7D"

The exclude-newer = "0001-01-01T00:00:00Z" behavior is mentioned here - astral-sh/uv#19022.

This PR adds that part in, or else it would update uv.lock everytime. The changes to uv.lock looks good to me, and I verified that exclude-newer still works as expected (I tried uv add uv==0.11.28).

@tromai tromai self-assigned this Jul 8, 2026
@tromai
tromai marked this pull request as ready for review July 8, 2026 06:55
@tromai
tromai requested a review from tonyandrewmeyer July 8, 2026 06:55

@tonyandrewmeyer tonyandrewmeyer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sorry, I missed locking on some of the PRs that added exclude-newer. Thanks for fixing this!

@tromai
tromai merged commit cf5da5f into canonical:main Jul 8, 2026
27 checks passed
@tromai
tromai deleted the re-lock-uv-to-include-exclude-newer branch July 8, 2026 07:23
james-garner-canonical added a commit that referenced this pull request Jul 30, 2026
This PR prepares Jubilant for release.

Release notes:
```
v1.12.0: Improved Jubilant logging
```
```
This feature release improves Jubilant's logging, lowering the default verbosity and presenting app/unit status changes in an easier to read format. Read more: [Configure Jubilant logs](https://canonical.com/juju/docs/ops/latest/howto/write-integration-tests-for-a-charm/#configure-jubilant-logs).

## What's Changed
* feat: improve Jubilant logging mechanism in #351
* feat: bump minimum python version to 3.10 in #370
* chore: rolling uv exclude-newer supply-chain quarantine in #368
* chore: set dependabot commit-message prefix to "chore" (no scope) in #367
* chore: add Code of Conduct linking to Ubuntu CoC in #356
* chore: run uv lock after adding exclude-newer duration in #372
* ci: adopt new dependabot conventions in #365
* ci: hash-pin actions and drop zizmor config in #366
* ci: correct hash-pin version comment for upload-sarif action in #376
* ci: pin action version comments to exact tags in #378

**Full Changelog**: v1.11.0...v1.12.0
```
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