You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2026/07/30 04:44:36 UTC
[PR] Bump Python client version (pyproject.toml + uv.lock) in the release script [polaris]
jbonofre opened a new pull request, #5188:
URL: https://github.com/apache/polaris/pull/5188
Follow-up to a review comment on #5180: [discussion](https://github.com/apache/polaris/pull/5180#discussion_r3677309250) asking whether the Python client version bump could be incorporated into the release script.
## Problem
The `releasey` tooling (`update_version`) only updated `version.txt` and the Helm chart, leaving `client/python/pyproject.toml` and its `uv.lock` lockfile to be bumped by hand. This drifts every release — e.g. `pyproject.toml` still said `1.6.0` inside the signed `1.7.0-rc0` source, which was flagged during the 1.7.0 release vote and fixed manually in #5180.
## Change
- Add `PYTHON_PYPROJECT_FILE` and `PYTHON_UV_LOCK_FILE` constants.
- Add an `update_python_version` function, called from `update_version`, that updates the version in both `pyproject.toml` and `uv.lock`. The substitution is anchored on the `name = "apache-polaris"` package declaration so unrelated dependency versions are left untouched.
- Add the two files to the `git add` list in the `release-2-update-release-candidate` workflow so the changes are committed.
`update_version` is only ever invoked with `version_without_rc` (a clean `major.minor.patch`), which is PEP 440 compatible.
## Testing
Ran `update_python_version` against the real files and confirmed only the single `version = "..."` line in each file changes, with no impact on any other line.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump Python client version (pyproject.toml + uv.lock) in the release script [polaris]
Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain merged PR #5188:
URL: https://github.com/apache/polaris/pull/5188
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump Python client version (pyproject.toml + uv.lock) in the release script [polaris]
Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on PR #5188:
URL: https://github.com/apache/polaris/pull/5188#issuecomment-5126649578
LGTM.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org