구글 release-please + python(uv) 프로젝트 시멘틱 버저닝 버그.

release-please 를 이용해 uv 로 관리하는 프로젝트를 Semantic Versioning 하려면 아직 release-please에서 uv 지원을 안하기 때문에 uv.lock toml을 array filter 써서 편집해 줘야 한다. uv.lock 편집을 안하면 봇이 올리는 릴리즈 PR 이 실패한다.

문제는 toml 을 json 변환할 때 오류가 있어서 의도대로 편집이 안된다는거.

일단 요런 식으로 Ad Hoc 한 땜질이 가능함.

혹시라도 누군가 release-please + uv 로 SemVer 설정할 때 나처럼 삽질하지 않길 바람.

"jsonpath": "$.package[?(@.name.value=='package-name')].version"

https://github.com/googleapis/release-please/issues/2455?utm_source=chatgpt.com

1

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/01975ebb-d4df-74b1-9248-69eba45f01b8 on your instance and quote it. (Note that quoting is not supported in Mastodon.)