Skip to content

More pinning/locking of dependencies#338

Open
asnare wants to merge 5 commits intomainfrom
more-dependency-pinning
Open

More pinning/locking of dependencies#338
asnare wants to merge 5 commits intomainfrom
more-dependency-pinning

Conversation

@asnare
Copy link
Copy Markdown
Contributor

@asnare asnare commented Apr 2, 2026

This PR introduces a few changes to the uv setup for this project and closes some remaining gaps with pinning/locking of third-party dependencies.

Changes include:

  • Dependency groups (used for test dependencies) can't rely on 'this' project, and were referring to the last release of blueprint rather than the current working tree. Instead we now ensure that all optional dependencies are part of the environment.
  • Dependencies for the build process with hatchling are now also locked.
  • A new build target in Makefile for building the wheels, used by the release process. This helps ensure that the uv things are all in the same location, and makes it easier to ensure that local testing matches CI/CD.
  • A new lock-dependencies target that can be used for regenerating the locking files that uv uses; this process isn't necessarily straightforward, especially for generating the build constraints.
  • The configuration for labs (in .codegen.json) now uses Makefile targets where possible.

Progresses #330.

asnare added 3 commits April 2, 2026 14:03
Dependency groups cannot refer to "this" project, so this was inadvertently testing against the latest release rather than the current package sources. Instead update the uv project management to ensure all optional dependencies are included by default.
…ked.

All dependencies and tooling is also subject to the cooldown period.
@asnare asnare self-assigned this Apr 2, 2026
@asnare asnare added this to UCX Apr 2, 2026
@asnare asnare added the dependencies Pull requests that update a dependency file label Apr 2, 2026
@asnare asnare requested a review from a team as a code owner April 2, 2026 12:24
@asnare asnare added the github_actions Pull requests that update GitHub Actions code label Apr 2, 2026
@asnare asnare moved this to Ready for Review in UCX Apr 2, 2026
@asnare asnare mentioned this pull request Apr 2, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

1 participant