Skip to content

test(compat): qualify Python 3.14 for conditional 0.7.2 #51

Done

Description

@agustin18

Qualification for a possible 0.7.2 compatibility release

Status: OPEN — standard GIL-enabled CPython 3.14 research/qualification only. Published 0.7.1 still requires >=3.8,<3.14; Python 3.14 is not supported by that release. See release evidence. Follow #95 and the reviewed roadmap (draft #141 until merged).

Scope and ordering

  • Recognition may start in an isolated sibling worktree from the exact current stable base. Open the qualification draft PR only after docs(roadmap): record post-0.7.1 scope and 0.7 release closure #141 is merged; keep it separate from release staging.
  • Record the unmodified-source baseline and exact SHA, interpreter, dependencies, commands, test/skip counts, real Redis version and failures before any fix. A temporary isolated metadata relaxation may enable qualification builds; do not commit it as a public support claim or publish experimental distributions.
  • Require full applicable functional suite and real standalone Redis 7.4 integration on CPython 3.14, clean wheel and sdist builds/installations, twine check, pip check, a 3.11 control, existing key/ETag/serialization/privacy regression tests and modern installed-artifact security audit attempt. Preserve all existing functional and legacy lanes; no silent skips or allowed failures.
  • Memcached and DynamoDB remain experimental. Attempt dependency installation and fake-client tests; report unsupported extras and unrun tests explicitly. Fake clients do not qualify real-service behavior.
  • For each failure, provide the reproduction and minimal compatibility fix with a failing-before/passing-after regression test where applicable. Keep existing Poetry lock profiles intact during recognition. Reconcile actual lock compatibility during release staging rather than editing the lock by hand.
  • Add a separate 3.14 qualification CI lane without prematurely changing published support metadata. Record evidence in docs/audit/PYTHON_3_14_QUALIFICATION.md and use an appropriate changelog fragment for non-documentation changes. Review the exact diff and CI before merge.

Mandatory staging gates (separate PR, only after qualification passes)

  • Widen top-level Requires-Python to >=3.8,<3.15 only if supported by evidence. Update Python-specific Redis dependency markers (currently the modern branch ends at <3.14), classifiers, lock consistency, actual wheel/sdist METADATA and user-facing support docs together. No major dependency upgrade without separate review.
  • Preserve all existing Phase B lanes. Add exact-release wheel/sdist and Redis evidence on 3.14; reconcile the strict required job-set verifier and negative tests if the matrix expands. Historical 20-job runs do not qualify a new interpreter. The current workflow falls back to historical FastAPI 0.111.1/Pydantic 1.10.27 on unrecognized Python versions; explicitly qualify a compatible modern 3.14 profile or an independently validated cross-interpreter migration/rollback scenario. Do not claim an incompatible/skipped lane passed.
  • Keep Python 3.8–3.10 functional legacy support and Python 3.11–3.13 security support intact. Claim security support for 3.14 only with passing applicable installed-artifact audit evidence; functional-only support, if necessary, requires explicit maintainer acceptance and consistent documentation.
  • Fresh final-source artifacts, complete required first-attempt Phase B, approved hashes, current authenticated security delta, review and separate tag/TestPyPI/PyPI authorization remain mandatory.

Abort rule

0.7.2 is conditional on nonbreaking interpreter compatibility. Stop and return the scope decision if qualification requires a new public API, observable behavior change, key/ETag/serialization change, major dependency upgrade, or weakening any existing gate. Consider re-scoping to 0.8.0 rather than silently expanding this patch. If core or standalone Redis cannot be qualified, leave #51 open and do not stage 0.7.2.

Out of scope: free-threaded CPython 3.14t, Python 3.15, architecture RFCs #99/#111/#112, non-HTTP API #103, advanced Redis #102, new features, tags and publishing. No direct edits to stable.

Acceptance evidence

Exact base/head SHA, diff stat and digest, reproducible commands/logs, dependency freezes, installed artifact hashes, CI URLs and PASS / FAIL / NOT RUN per lane with reasons. A successful import alone is insufficient. Close only once the agreed support is published and verified, or record an explicit separate decision to defer. Earlier scheduling references to 0.3/0.4/0.5 are historical.

Activity

  1. changed the title [-]test(compat): qualify Python 3.14 and define the post-0.3 legacy policy[/-] [+]test(compat): evaluate Python 3.14 for a new minor version, retain 0.3 legacy[/+] on Nov 19, 2026
  2. agustin18 commented on Nov 25, 2026

    @agustin18
    OwnerAuthor

    Post-0.7.1 scope reconciliation: #51 is the next technical priority, with a conditional compatibility-only 0.7.2 target. The updated issue body supersedes the old scheduling text (preserved in issue edit history). Qualification and staging remain separate; #141 must merge before opening the qualification PR. No support, merge or publication approval is implied.

  3. changed the title [-]test(compat): evaluate Python 3.14 for a new minor version, retain 0.3 legacy[/-] [+]test(compat): qualify Python 3.14 for conditional 0.7.2[/+] on Nov 25, 2026
  4. agustin18 commented on Nov 26, 2026

    @agustin18
    OwnerAuthor

    Completed by published 0.7.2 (2026-11-25), standard CPython 3.14 only. Qualification #142 and staging #143 landed; final source 8cb3f4f. Independently checked the final Phase B run 45723827682: attempt 1, 25/25 jobs success; TestPyPI and PyPI workflows both success on that SHA. Exact hashes and publication provenance are in RELEASE_STATUS_0.7.2.md. Published range >=3.8,<3.15; Redis extra through 3.14; 3.8–3.10 functional legacy only, security target 3.11–3.14. No 3.14t/3.15 or experimental-provider parity claim. Close only this completed qualification; no new publication, no reopening of historical release gates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions