Skip to content

fix: run django case study via django's own CI steps; formalize cache policy#5

Open
ozeranskii wants to merge 2 commits into
mainfrom
fix/django-native-tox
Open

fix: run django case study via django's own CI steps; formalize cache policy#5
ozeranskii wants to merge 2 commits into
mainfrom
fix/django-native-tox

Conversation

@ozeranskii

Copy link
Copy Markdown
Contributor

The django case study now runs django's own Linux CI steps (their python_matrix.yml): install libmemcached-dev (pylibmc has no wheels for Python 3.12+ and the runner images don't bundle the headers, so django installs them itself), then pip install -r tests/requirements/py3.txt -e . and python -Wall tests/runtests.py -v2. The earlier uv run --locked tox attempt was flask's pattern and fails on django (no lockfile at this pin).

Validated green on ubuntu-latest: 18710 tests, ~233s suite (299s job). A one-off failure on the first try was django's own flaky signals.SignalTests.test_delete_signals; a re-run passed.

Also formalizes the cache policy in methodology.md: cold-cold is the canonical headline (cache-neutral workflow; GitHub side cold by construction, self-hosted transparent dependency cache cleared before each cold run); warm is a separately-labelled steady-state row, never compared against cold.

…hed-dev)

django 6.0.6 ships no uv.lock; its Linux CI (python_matrix.yml) runs the suite via
pip + runtests.py and installs libmemcached-dev itself, because pylibmc has no
wheels for Python 3.12+ and the runner images don't bundle the headers. Replicate
those exact steps (identical on both runners) instead of the earlier uv/tox attempt
(which was flask's pattern and fails on django for lack of a lockfile).
Define the headline comparison as cold-cold (cache-neutral workflow; the GitHub
side is cold by construction, the self-hosted side's transparent dependency cache
cleared before each cold run) — it isolates the runner with no caching asymmetry.
Warm stays a separately-labelled steady-state row (each platform's native cache
primed), never compared against cold.
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.

1 participant