• 
      

    Fix a Python compatibility issue in buildthings._version.

    Review Request #14981 — Created March 31, 2026 and updated

    Information

    buildthings
    master

    Reviewers

    Just before release, we added typing for VERSION to be tuple[...],
    but I neglected to use an annotations import to ensure this would be
    a string on older versions of Python 3.

    This change fixes that up so that builds on all supported versions of
    Python will complete.

    Tested importing buildthings on Python 3.8.

    Could not perform a build due to the latest setuptools for Python 3.8
    not supporting the new license/license-files configuration.

    Summary ID
    Fix a Python compatibility issue in buildthings._version.
    Just before release, we added typing for `VERSION to be `tuple[...]`, but I neglected to use an `annotations` import to ensure this would be a string on older versions of Python 3. This change fixes that up so that builds on all supported versions of Python will complete.
    38681ae39aaaf2f66a3ec26778a1bd9eae0ddb0f
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.
    david
    1. Ship It!
    2.