Skip to content

Use uv.lock for CI dependencies; modernise Renovate config - #216

Merged
ndevenish merged 1 commit into
mainfrom
uv-lock-renovate
Nov 6, 2026
Merged

ndevenish merged 1 commit into
mainfrom
uv-lock-renovate

Conversation

@ndevenish

Copy link
Copy Markdown
Contributor

Brings dependency management in line with python-zocalo (DiamondLightSource/python-zocalo#319).

  • Track uv.lock and install test dependencies from it in CI via astral-sh/setup-uv and uv sync --locked.
  • Set exclude-newer = "7 days" in [tool.uv] so the lock doesn't depend on user-level uv config; Renovate's minimumReleaseAge matches it.
  • Add the uv-lock pre-commit hook (skipped on pre-commit.ci).
  • Modernise Renovate config: config:recommended, monthly lock file maintenance, group GitHub Actions and non-major dev dependency updates; drop the unused pip_requirements grouping.

Note the fresh lock brings notable upgrades (stomp-py 9, protobuf 7, opentelemetry 1.45, setuptools 84); tests pass locally.

- Track uv.lock and install test dependencies from it in CI via
  setup-uv and `uv sync --locked`.
- Set exclude-newer = "7 days" at project level so the lock doesn't
  depend on user-level uv config, and align Renovate's
  minimumReleaseAge with it.
- Add the uv-lock pre-commit hook (skipped on pre-commit.ci).
- Modernise Renovate config to match python-zocalo: config:recommended,
  monthly lock file maintenance, group GitHub Actions and non-major
  dev dependency updates; drop the unused pip_requirements grouping.
@ndevenish
ndevenish enabled auto-merge (squash) November 6, 2026 13:42
@ndevenish
ndevenish merged commit 178b46e into main Nov 6, 2026
11 checks passed
@ndevenish
ndevenish deleted the uv-lock-renovate branch November 6, 2026 13:42
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.

1 participant