Skip to content

[CI][Python][Annotations] Run type annotation checks in a dedicated CI job #55676

Open

Description

@tadeja

Describe the enhancement requested

Follow-up to #55264 (comment) :

Move type annotation checks (ci/scripts/python_test_type_annotations.sh)

  • from the last steps of the jobs AMD64 Conda Python 3.12 Sphinx Documentation and AMD64 Conda Python 3.12 Sphinx & Numpydoc
  • to a dedicated CI job, so annotation checks run independently of the documentation checks, and remove annotation checks from conda-python-docs.

Component(s)

Python, Continuous Integration

Activity

  1. tadeja commented on Nov 27, 2026

    @tadeja
    MemberAuthor

    Additional requirement for this job to consider: run it on the minimum supported Python 3.11.

    Today both places that run the annotation checks use Python 3.12 (the Dev / Lint job in dev.yml and conda-python-docs in python.yml). Therefore Dependabot bump to packages that drop 3.11 passes CI (as happened with scipy-stubs 1.18 in #55788, follow-up ignore rule in #55814).

  2. changed the title [-][Python][CI] Run type annotation checks in a dedicated CI job[/-] [+][CI][Python][Annotations][ Run type annotation checks in a dedicated CI job[/+] on Nov 27, 2026
  3. changed the title [-][CI][Python][Annotations][ Run type annotation checks in a dedicated CI job[/-] [+][CI][Python][Annotations] Run type annotation checks in a dedicated CI job[/+] on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions