Repository navigation
docs: shorten the README, add a release workflow, and allow Langfuse patch releases - #37
Merged
Merged
Conversation
…tch range - README: configuration table, per-module reference, limitations, and pointers to runnable examples under examples/, which the test suite compiles and runs offline. Taskfile lint and type checks cover them. - Release workflow: on v* tags, check the tag against the package version, run the checks, build and attest the wheel and sdist, and publish the GitHub release with notes from CHANGELOG.md. - Relax langfuse from ==5.2.0 to >=5.2.0,<5.3, and guard the private SDK internals the package relies on with focused contract tests.
notdodo
added a commit
that referenced
this pull request
Nov 15, 2026
## Problem Python 3.15 CI takes about 14 minutes whenever `uv.lock` changes, which includes every Dependabot PR and #37: - The venv cache key and setup-uv's own cache key both include the lockfile hash, and neither has a fallback. A changed lockfile misses both. - There are no 3.15 wheels yet for numpy, pydantic-core, thinc and others, so a miss means compiling all of them from source. - setup-uv's Python cache misses too. A restored venv whose interpreter is missing gets deleted and rebuilt, which is the same failure #36 fixed for exact hits. ## Fix - `restore-keys: python-<ver>-venv-` on the venv cache. A lockfile change now restores the latest venv for that Python version, `task install` applies only the changed packages, and the result is saved under the new key. - `uv python install <ver>` runs before `task install`, so the restored venv always has its interpreter. ## Validation - actionlint and zizmor are clean. - This PR doesn't change `uv.lock`, so its run is an exact cache hit. The fallback path gets its real test when #37, which does change the lockfile, is updated from `main` after this merges. Its 3.15 job should drop from about 14 minutes to roughly 1. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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
LangfuseClientConfiginclient.py..github/workflows/release.ymlruns onv*tags. It checks the tag against the package version, runstask checkandtask test, builds and attests the wheel and sdist, and publishes the GitHub release with that version's CHANGELOG section as notes.==5.2.0to>=5.2.0,<5.3.tests/package_contract/test_langfuse_internals.pychecks the private SDK internals the package relies on, so a breaking Dependabot bump fails CI.[Unreleased]section. Changing the Langfuse range counts as a minor version, so the next release is 0.5.0.Validation
task format check test: 154 passed, 4 e2e deselected, 90% coverage, no warnings.__all__, and every keyword argument matches the real signature.🤖 Generated with Claude Code