Skip to content

Support uv.lock files out-of-the-box. #2561

@ClaytonJY

Description

@ClaytonJY

release-please already understands and correctly manages the pyproject.toml file used by uv, but not theuv.lock lockfile, which also contains the package version. The trick is to add a special extra-files entry to release-please-config.json:

      "extra-files": [
        {
          "path": "uv.lock",
          "type": "toml",
          "jsonpath": "$.package[?(@.name.value=='my-package')].version"
        },

as described in this extremely helpful issue comment from a user.

It would be great to not need this trick!

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions