ci: sync uv.lock version when changesets bumps pyproject.toml
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- build-system, ci-cd, release
Research direction
The version bump lives in the sed block of .github/workflows/changesets.yml, which rewrites pyproject.toml and nothing else. Check whether a make version-bump target exists, since the issue says it may need the same change. Add a step after the bump that refreshes uv.lock (for example uv lock --offline through astral-sh/setup-uv). Done when uv.lock records the new kiji-proxy version and uv sync leaves the working tree clean.
Written by the indexing model from the issue text.
Description
Problem
In .github/workflows/changesets.yml, the release PR workflow bumps version in pyproject.toml via sed, but does not update uv.lock:
# Sync pyproject.toml version
if [ -f "pyproject.toml" ]; then
sed -i "s/^version = \"[0-9.]*\"/version = \"${NEW_VERSION}\"/" pyproject.toml
echo "Synced pyproject.toml to $NEW_VERSION"
fi
As a result, uv.lock on main still records an older version (1.6.3) for the editable kiji-proxy package while pyproject.toml is at 1.6.8. Running uv run or uv sync locally then dirties the working tree with a modified uv.lock:
[[package]]
name = "kiji-proxy"
-version = "1.6.3"
+version = "1.6.8"
source = { editable = "." }
Proposed Fix
Update uv.lock alongside pyproject.toml in .github/workflows/changesets.yml (and local make version-bump if applicable), e.g. by running uv lock --offline (via astral-sh/setup-uv) after bumping pyproject.toml.
- Dominant language
- Go
- Stars
- 445
- Forks
- 52
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 21
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dataiku/kiji-proxy
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
dataiku/kiji-proxy#635 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dataiku/kiji-proxy#629 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
dataiku/kiji-proxy#626 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
dataiku/kiji-proxy#596 · 1 comment ·
Maintainers usually reply within 2 days
-
internationalization
Difficulty 2/5 1-2 days Newbie friendliness 68/100
dataiku/kiji-proxy#575 ·
Maintainers usually reply within 2 days
All issues in dataiku/kiji-proxy
Similar issues
-
needs-area
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/typespec-azure#5936 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Fix mode unpins a reusable workflow call when the same repository is also used as a step actionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
github/gh-actions-lock#261 ·
Maintainers usually reply within 1 day
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
labmonkeys-space/nl6#974 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100