Skip to content

CI: CLI checks in tests.yml skipped on every leg since Python 3.9 left the matrix (d01a180a7) #14049

Open

Description

@glaziermag

The CLI checks in .github/workflows/tests.yml (download, info, convert, debug config, debug data, train, assemble, plus the #11713 load-warning check) only run if: matrix.python_version == '3.9'. d01a180 ("Update build matrix for tests", 2025-11-05) took 3.9 out of the matrix, so no leg has matched since then and all nine steps have been skipped on every run. Everything since then, including the Pydantic v2 migration (#13940), has merged without these checks, and they would also miss any regression from the CLI loading change in #13933.

How to reproduce the behaviour

Latest master run, 36688407842 (c2dabfc):

gh api repos/explosion/spaCy/actions/runs/36688407842/jobs \
  --jq '.jobs[] | "\(.name): " + ([.steps[] | select(.name=="Test train CLI") | .conclusion] | join(""))'

All 15 Test legs report skipped. The steps are at tests.yml#L101-L152. The last master run with 3.9 legs was 19096902716 (68bf84e, 2025-11-05). The first run after d01a180 is 19121206614 (38056e9), and it has no 3.9 leg.

The last time the matrix moved, #12409 bumped the same literal from '3.8' to '3.9'. Doing that again brings the checks back:

-        if: matrix.python_version == '3.9'
+        if: matrix.python_version == '3.10'

(nine occurrences in tests.yml). With that change on top of c2dabfc, all nine steps pass on ubuntu, windows and macOS in this fork run. For that fork run I also dropped needs: Validate, because Validate only runs when github.repository_owner == 'explosion', and I cut the matrix to 3.10. Only the '3.10' literal is the proposed change.

Your Environment

  • Operating System: GitHub Actions ubuntu-latest, windows-latest, macos-latest
  • Python Version Used: 3.10
  • spaCy Version Used: master c2dabfc (3.8.16)
  • Environment Information: .github/workflows/tests.yml

I found this with Claude Code (an AI coding agent) and checked the run data and the fork run above myself.

Activity

  1. naveecode commented on Oct 15, 2026

    @naveecode

    Hi, I'm @naveecode. Confirmed on current master (c2dabfc): the nine CLI smoke steps in .github/workflows/tests.yml are still gated on matrix.python_version == '3.9', which left the matrix in d01a180, so they skip on every leg.

    Plan: bump those nine guards to '3.10' (still in the matrix), same pattern as #12409. PR coming shortly.

    AI-assisted drafting; I verified the workflow guards and the matrix contents on master.

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