Release: cache back-compat shim + CI Node.js 24 upgrade (→ 0.1.24)#61
Merged
Conversation
Replace actions/checkout@v4->v5, actions/setup-python@v5->v6, and nick-invision/retry@v2 with inline bash retry loops in ci-pypi.yml and ci-testpypi.yml -- same pattern used in ci-docker.yml (PR #53) -- before the June 16 Node.js 16/20 sunset deadline. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rkflows ci: upgrade actions to Node.js 24-compatible versions in pypi workflows
#59) The Django 5.2 upgrade switched the memcached driver to pymemcache, but deployments upgraded in place from Django 3.x still have SSM_CACHES_BACKEND=memcached.MemcachedCache persisted in their .ssm-env. That backend was removed in Django 4.1, so on Django 5 the manager raises InvalidCacheBackendError and fails to boot. Transparently remap the dropped alias to memcached.PyMemcacheCache (with a DeprecationWarning) so existing deployments survive the upgrade without manual .ssm-env edits. Fresh deployments should set SSM_CACHES_BACKEND=memcached.PyMemcacheCache directly. Discovered reviewing the live aiview.com hub, whose .ssm-env still carries the old backend string. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #61 +/- ##
==========================================
- Coverage 93.64% 93.51% -0.14%
==========================================
Files 53 53
Lines 2850 2854 +4
Branches 238 239 +1
==========================================
Hits 2669 2669
- Misses 112 115 +3
- Partials 69 70 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Release
develop → master.ci-pypiwill bump0.1.23 → 0.1.24post-merge.What ships
fix(settings): map removedmemcached.MemcachedCache→memcached.PyMemcacheCache(Django 4.1 removed the old backend). Back-compat shim so old.ssm-envfiles don't break boot on Django 5. (slim-latest/0.1.23 already defaults to PyMemcacheCache, so this is defense-in-depth for other deployments.)ci: upgrade GitHub Actions to Node.js 24-compatible versions (checkout/setup-python/retry) ahead of GitHub's 2026-06-16 Node 20 cutoff.Diff gate
Reviewed
git log master..develop— exactly the two changes above; no stray commits. CI green on develop (26b1f79), dry-merge conflict-free (master keeps its0.1.23version line).🤖 Generated with Claude Code