Temporary pyopenjtalk-plus test compatibility for Cython 3.2 #386

Open
opened 2026-10-21 15:28:47 +01:00 by nimmo · 6 comments
Owner

Full Lyra validation of the rejected nixpkgs candidate 5adc50831c259f87faeb09ddf930d43597197473 reached a separate pyopenjtalk-plus 0.4.1-post9 regression after the HandBrake fix (#381).

Test test_run_njd_from_mecab_invalid_input_should_not_break_next_call raises the expected TypeError but expects message 'must be str'; the Python 3.14 build emits 'Expected str, got int'. Result: 1 failed, 1678 passed, 16 skipped. Dependency chain: pyopenjtalk-plus → piper-tts → wyoming-piper → Lyra.

User authorized a narrow test-only compatibility patch and the existing manually approved lifecycle record. Retain the exception type and subsequent successful-call assertions; accept only the two supported error-message forms. Do not disable the test or change runtime behavior.

Completion criteria:

  • All pyopenjtalk-plus package tests pass with the candidate.
  • Piper and full Lyra candidate closure build; flake checks pass.
  • SHA-bound reverse patch and lifecycle metadata independently remove this workaround and allow future review-only upstream recovery proposals.
  • Keep this issue open until lifecycle removal is validated and reviewed.
Full Lyra validation of the rejected nixpkgs candidate 5adc50831c259f87faeb09ddf930d43597197473 reached a separate pyopenjtalk-plus 0.4.1-post9 regression after the HandBrake fix (#381). Test test_run_njd_from_mecab_invalid_input_should_not_break_next_call raises the expected TypeError but expects message 'must be str'; the Python 3.14 build emits 'Expected str, got int'. Result: 1 failed, 1678 passed, 16 skipped. Dependency chain: pyopenjtalk-plus → piper-tts → wyoming-piper → Lyra. User authorized a narrow test-only compatibility patch and the existing manually approved lifecycle record. Retain the exception type and subsequent successful-call assertions; accept only the two supported error-message forms. Do not disable the test or change runtime behavior. Completion criteria: - All pyopenjtalk-plus package tests pass with the candidate. - Piper and full Lyra candidate closure build; flake checks pass. - SHA-bound reverse patch and lifecycle metadata independently remove this workaround and allow future review-only upstream recovery proposals. - Keep this issue open until lifecycle removal is validated and reviewed.
nimmo self-assigned this 2026-10-21 15:28:47 +01:00
nimmo changed title from Temporary pyopenjtalk-plus test compatibility for Python 3.14 to Temporary pyopenjtalk-plus test compatibility for Cython 3.2 2026-10-21 15:30:23 +01:00
Author
Owner

Implemented locally on fix/handbrake-ffmpeg-pgs (unpublished), alongside the independent #381 fix. The Lyra-scoped Python package extension changes only the affected 0.4.1-post9 test assertion: accept 'must be str' or 'Expected str, got int', retaining TypeError and the subsequent valid-call assertion. No runtime source or test enablement changes.

Upstream confirms the Cython >=3.2 cause in 90b644f9e9d397882e6eafe4dcd1843a4fde6a63; the failed candidate uses Cython 3.3.0. Our patch takes only the relevant assertion adjustment and uses a narrower two-message regex.

Validation on Nova against rejected nixpkgs 5adc50831c259f87faeb09ddf930d43597197473: pyopenjtalk-plus 1679 passed/16 skipped; Piper 45 passed/1 skipped/1 deselected (existing selections unchanged); Wyoming Piper 47 passed. Flake checks pass with both current accepted inputs and candidate inputs; lifecycle regressions pass. Independent metadata validation and both possible removal orders passed in a disposable checkout.

Lifecycle record fingerprint 1aaa1d2d488c80d400d38c3c9b73632ebe03bd61a30484a4a0284f7307acae08, owner nimmo, affected host lyra, review-after 2026-10-28. It has its own exact reverse patch and proposes review-only removal after upstream recovery; it does not depend on removing HandBrake's workaround first.

Full Lyra candidate validation continues with --keep-going, currently building ONNX Runtime; no additional failure has appeared. No deployment or publication occurred. Existing upstream C/C++ compiler and stdenv deprecation warnings are unrelated to the test-only change.

Implemented locally on fix/handbrake-ffmpeg-pgs (unpublished), alongside the independent #381 fix. The Lyra-scoped Python package extension changes only the affected 0.4.1-post9 test assertion: accept 'must be str' or 'Expected str, got int', retaining TypeError and the subsequent valid-call assertion. No runtime source or test enablement changes. Upstream confirms the Cython >=3.2 cause in 90b644f9e9d397882e6eafe4dcd1843a4fde6a63; the failed candidate uses Cython 3.3.0. Our patch takes only the relevant assertion adjustment and uses a narrower two-message regex. Validation on Nova against rejected nixpkgs 5adc50831c259f87faeb09ddf930d43597197473: pyopenjtalk-plus 1679 passed/16 skipped; Piper 45 passed/1 skipped/1 deselected (existing selections unchanged); Wyoming Piper 47 passed. Flake checks pass with both current accepted inputs and candidate inputs; lifecycle regressions pass. Independent metadata validation and both possible removal orders passed in a disposable checkout. Lifecycle record fingerprint 1aaa1d2d488c80d400d38c3c9b73632ebe03bd61a30484a4a0284f7307acae08, owner nimmo, affected host lyra, review-after 2026-10-28. It has its own exact reverse patch and proposes review-only removal after upstream recovery; it does not depend on removing HandBrake's workaround first. Full Lyra candidate validation continues with --keep-going, currently building ONNX Runtime; no additional failure has appeared. No deployment or publication occurred. Existing upstream C/C++ compiler and stdenv deprecation warnings are unrelated to the test-only change.
Author
Owner

Full validation completed successfully with both scoped compatibility fixes against rejected nixpkgs 5adc50831c259f87faeb09ddf930d43597197473: Piper, Wyoming Piper and Lyra's complete toplevel built on Nova, followed by a successful candidate flake check (process exit 0). Lyra output: /nix/store/3z8cbl8xs0fi4g7wmk65b6sihf2ds2qb-nixos-system-lyra-26.11.20261020.5adc508.

MR #387 contains both fixes and independent lifecycle removal records. CI test passed; current-head automated review is still pending. No activation occurred; tracking issues remain open through future reviewed workaround removal.

Full validation completed successfully with both scoped compatibility fixes against rejected nixpkgs 5adc50831c259f87faeb09ddf930d43597197473: Piper, Wyoming Piper and Lyra's complete toplevel built on Nova, followed by a successful candidate flake check (process exit 0). Lyra output: /nix/store/3z8cbl8xs0fi4g7wmk65b6sihf2ds2qb-nixos-system-lyra-26.11.20261020.5adc508. MR #387 contains both fixes and independent lifecycle removal records. CI test passed; current-head automated review is still pending. No activation occurred; tracking issues remain open through future reviewed workaround removal.
Author
Owner

Scope correction implemented and fully validated locally on fix/handbrake-vega-scope (44bae8c and bd14030). Both existing compatibility modules and patches are now shared under modules/services/ and imported by Lyra and Vega. Vega needs HandBrake via Tdarr and pyopenjtalk/Piper via SillyTavern. Both independent lifecycle records now list affectedHosts [lyra, vega] and require both hosts to recover before proposing removal.

Validation passed: current-input flake check; candidate flake checks against nixpkgs 5adc50831c259f87faeb09ddf930d43597197473; complete Lyra and Vega toplevel builds (combined process exit 0); targeted Vega HandBrake, pyopenjtalk, Piper, Wyoming Piper and Tdarr unit builds; lifecycle regressions; metadata bindings; removal of the complete shared fixes in either order. Vega output: /nix/store/7dm027yazl1904sb7cpylcqakm52d8w2-nixos-system-vega-26.11.20261020.5adc508. No activation or lock-file change.

The earlier sabctools unsupported-flag line was an intentional compiler feature probe, not a package failure. Publication of this follow-up branch is pending explicit operator approval after automatic approval review rejected the push.

Scope correction implemented and fully validated locally on fix/handbrake-vega-scope (44bae8c and bd14030). Both existing compatibility modules and patches are now shared under modules/services/ and imported by Lyra and Vega. Vega needs HandBrake via Tdarr and pyopenjtalk/Piper via SillyTavern. Both independent lifecycle records now list affectedHosts [lyra, vega] and require both hosts to recover before proposing removal. Validation passed: current-input flake check; candidate flake checks against nixpkgs 5adc50831c259f87faeb09ddf930d43597197473; complete Lyra and Vega toplevel builds (combined process exit 0); targeted Vega HandBrake, pyopenjtalk, Piper, Wyoming Piper and Tdarr unit builds; lifecycle regressions; metadata bindings; removal of the complete shared fixes in either order. Vega output: /nix/store/7dm027yazl1904sb7cpylcqakm52d8w2-nixos-system-vega-26.11.20261020.5adc508. No activation or lock-file change. The earlier sabctools unsupported-flag line was an intentional compiler feature probe, not a package failure. Publication of this follow-up branch is pending explicit operator approval after automatic approval review rejected the push.

The isolated unpinned candidate still fails, but its bounded failure signature changed.

<!-- nixos-pin-lifecycle:1aaa1d2d488c80d400d38c3c9b73632ebe03bd61a30484a4a0284f7307acae08:changed-failure:1450b9fdc0908cd18ed78fcb5c1317f8eea5740536615399c27a4387a8dd7f63 --> The isolated unpinned candidate still fails, but its bounded failure signature changed.

The isolated unpinned candidate still fails, but its bounded failure signature changed.

<!-- nixos-pin-lifecycle:1aaa1d2d488c80d400d38c3c9b73632ebe03bd61a30484a4a0284f7307acae08:changed-failure:c15b352f1c9f7238c79f38afcabe9f6d8a9cf4a6edd6df66a69c6d340926b69d --> The isolated unpinned candidate still fails, but its bounded failure signature changed.

The isolated unpinned candidate still fails, but its bounded failure signature changed.

<!-- nixos-pin-lifecycle:1aaa1d2d488c80d400d38c3c9b73632ebe03bd61a30484a4a0284f7307acae08:changed-failure:9b050d8d46be7f9e7f097e81fe495276d835138f615ee20949f7a1243d1bc4f1 --> The isolated unpinned candidate still fails, but its bounded failure signature changed.
Sign in to join this conversation.
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#386
No description provided.