Repository navigation
Release 0.4.6 - #175
Open
Wenbo Gong (WenboGong) wants to merge 3 commits into
Open
Release 0.4.6#175Wenbo Gong (WenboGong) wants to merge 3 commits into
Wenbo Gong (WenboGong) wants to merge 3 commits into
Conversation
actions/upload-artifact v3 has been retired by GitHub, and jobs that use it fail before reaching the PyPI upload step. v7 accepts the same inputs (name, path, retention-days). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cached Poetry virtualenv links to the runner's Python interpreter. When a cache saved on a runner with one Python patch version (e.g. 3.10.22) is restored on a runner with another (3.10.21), Poetry finds the venv broken and recreates it empty; because the cache "hit", dependency installation is skipped and every pre-commit hook fails with "Command not found". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares the v0.4.6 release.
Version bump:
pyproject.tomlgoes from 0.4.5 to 0.4.6. The publish workflow builds from this version.Publish workflow fix:
.github/workflows/pypi-publish.ymlpinnedactions/upload-artifactv3.2.1. GitHub has retired v3, and jobs using it fail before reaching the PyPI upload step. It's now v7.0.1, pinned to the full commit SHA like the other actions. v7 takes the samename/path/retention-daysinputs. For release events the workflow runs from the tagged commit, so this has to be onmainbefore the release is created.CI cache fix:
.github/workflows/ci-build.ymlnow includes the Python version in the virtualenv cache key. A cache saved on a runner with Python 3.10.22 was restored on a runner with 3.10.21. Poetry found the venv broken and recreated it empty, and because the cache "hit", the install step was skipped. Every pre-commit hook then failed withCommand not found. This happened on the first CI run of this PR.Verification
python:3.10, latest Poetry (2.5.1),poetry build.causica-0.4.6-py3-none-any.whlandcausica-0.4.6.tar.gz.twine check.Version: 0.4.6,torch>=2.10.0,<3.0.0,pytorch-lightning[extra]>=2.4.0,<3.0.0,tensordict>=0.11.0.pip installof the built wheel into a fresh venv.pip checkis clean.pytest testagainst the installed wheel (source tree moved aside): 693 passed.poetry check --lockpasses, so the lock is unaffected by the version bump.Next step after merge
Create GitHub release
v0.4.6onmain. That triggerspypi-publish.ymland uploads to PyPI via trusted publishing.Proposed release notes:
🤖 Generated with Claude Code