Skip to content

BUG-15: A core test needs sqlalchemy, which the reference-code job does not install #117

Closed

Description

@ephico2real2

Part of #110

Related: #94

What is wrong: tests/test_approvals.py::test_a_stored_requirement_keeps_its_group_path fails with No module named 'sqlalchemy' (1 failed, 136 passed). examples/tests is a symlink to cmapi/tests/core.

Where: PR #112, CI run 42246650323, job reference-code, measured.

How to prove it: the examples suite with only examples/local/requirements.txt installed. The test is cmapi/tests/service/test_flow.py::test_a_stored_requirement_keeps_its_group_path, and the examples suite with only examples/local/requirements.txt installed.

Measured or inferred: Measured on CI run 42246650323, job reference-code, on PR #112. The status when filed: the implementer's report of 137 passing didn't match CI. Reviewer 2 is fixing it.

Severity: Low. Only the reference-code CI job fails.

What must hold after the fix: The examples suite passes with only examples/local/requirements.txt installed. The test of the stored requirement runs in the service suite.

Research: The mandate when filed: search the primary sources, compare the options, choose the industry best practice, fix the cause rather than the symptom, and record the choice and its sources. This issue holds no research record. The review record is docs/reviews/2026-11-06-pr112/README.md.

Solution: Commit 47ddb4f ("The stored requirement's test moves to the service suite") on branch ldap-rbac-names, in draft PR #112. It is not merged.

Class: INV. The defect is in new INV work (#110) that is not merged, so its fix is part of that work.

Activity

  1. added a commit that references this issue on Nov 7, 2026
    47ddb4f
  2. added
    In-Progress
    bug
    class:INV
    sev:low
    status:open
    on Nov 13, 2026
  3. changed the title [-]A core test needs sqlalchemy, which the reference-code job does not install[/-] [+]BUG-15: A core test needs sqlalchemy, which the reference-code job does not install[/+] on Nov 13, 2026
  4. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    Work tag: In-Progress. Draft PR #112 (branch ldap-rbac-names, head ecc5cb3) closes this issue. The fix is commit 47ddb4f on that branch. The pull request is not merged, and the branch is not the default branch. Read from gh and git at 2026-11-13T09:18Z.

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

    In-Progressbugclass:INVsev:lowstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions