Repository navigation
docs(migration): runnable published before-and-after demo for adoption - #90
Merged
Merged
Conversation
This was referenced Nov 21, 2026
agustin18
marked this pull request as ready for review
November 21, 2026 05:34
agustin18
added a commit
that referenced
this pull request
Nov 21, 2026
This was referenced Nov 21, 2026
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.
Goal
Provide a runnable, single-command before-and-after migration demo for the already published
fastapi-cache2==0.2.2andfastapi-cache-stable==0.5.0. This is an adoption/docs PR for the future 0.6.0 promotion, not a new release or a substitute for Redis E2E evidence.What this PR adds
python examples/migration/run_demo.pyuses two disposable, isolated virtual environments (CPython 3.11/3.12; Windows/macOS/Linux), refuses co-installation, checks installed distributions and executes identicalfastapi_cacheimports in each with-I.Required review / evidence
Existing Redis 7.4 published-package migration/rollback evidence remains the more extensive integration test. It handles selective cleanup, real persisted keys and package rollback, none of which this InMemory example claims to prove.
No deployment, PyPI publish, release tag, merge, Redis mutation or production-data access is requested. Refs #86 #88 and #48.
Final scope corrections (2026-11-21)
cb45ab0d0020ccceb4b410c856d91f04bce9c4e2; require all final-head workflows green before merge.