• 
      

    Clarify pydantic requirement and fix Python 3.8 type errors

    Review Request #14859 — Created Feb. 27, 2026 and submitted

    Information

    rbintegrations
    master

    Reviewers

    It turns out we can actually use pydantic with a minimum version of
    2.10, since Python 3.8 support wasn't removed until 2.11. Given that we
    want to be as forward-looking as possible, this change sets the minimum
    version to that. On 3.9 and newer we'll actually end up pulling in the
    latest.

    This change also fixes several type annotation issues which were
    breaking when running against Python 3.8. Most of these were inside the
    Pydantic model definitions for GitLab CI, but there was one cast()
    call.

    Ran unit tests on all supported versions of Python.

    Summary ID
    Clarify pydantic requirement and fix Python 3.8 type errors
    It turns out we can actually use pydantic with a minimum version of 2.10, since Python 3.8 support wasn't removed until 2.11. Given that we want to be as forward-looking as possible, this change sets the minimum version to that. On 3.9 and newer we'll actually end up pulling in the latest. This change also fixes several type annotation issues which were breaking when running against Python 3.8. Most of these were inside the Pydantic model definitions for GitLab CI, but there was one `cast()` call. Testing Done: Ran unit tests on all supported versions of Python.
    mslxktskswwtupykwuyovqmrvmtnvynw
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (6b9fed8)