Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: relock before cz bump #277

Merged
merged 8 commits into from
Feb 20, 2025
Merged

fix: relock before cz bump #277

merged 8 commits into from
Feb 20, 2025

Conversation

lsorber
Copy link
Member

@lsorber lsorber commented Feb 18, 2025

After bumping the version with cz bump, uv's lock file is out of sync with pyproject.toml. Until Commitizen adds support for uv, this PR adds uv lock --offline as a pre bump hook (which runs after updating the version but before comitting and tagging) to synchronize uv.lock and pyproject.toml.

@lsorber lsorber requested a review from sinopeus February 18, 2025 08:44
@lsorber lsorber self-assigned this Feb 18, 2025
Co-authored-by: Xavier Goás Aguililla <[email protected]>
Providing the --upgrade-package flag guarantees we
won't incur a package cache miss, as the package
metadata is in the project directory. Cache misses
can occur in case the cache is not populated yet
(after creating a fresh dev container).
I noticed that the UV cache doesn't get populated even after `uv sync` has been run in `postCreateCommand`. This explicitly sets the cache directory container-wide.
The node devcontainer feature is not needed
in templated projects, and can therefore be
removed.
@sinopeus sinopeus force-pushed the ls-cz-lock branch 2 times, most recently from bbeec93 to 1b7fc05 Compare February 20, 2025 13:21
@lsorber lsorber merged commit 9625eb9 into main Feb 20, 2025
20 checks passed
@lsorber lsorber deleted the ls-cz-lock branch February 20, 2025 16:53
vanolucas added a commit to vanolucas/substrate that referenced this pull request Feb 21, 2025
* fix(api): remove unnecessary default type argument (superlinear-ai#280)

* fix: relock before cz bump (superlinear-ai#277)

---------

Co-authored-by: Laurent Sorber <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants