SERVER-139196ClosedFixed

Defer package provenance type annotations for Python 3.9 compatibility

h2. Problem The v7.0 staging package-test driver fails during import on hosts using Python 3.9.2. Type annotations in {{buildscripts/package_test_provenance.py}} are evaluated at module import time; the PEP 604 union expression {{Path | None}} requires Python 3.10 unless annotations are postponed. The failure happens before any package installation or package tests run. The representative RHEL 8 task reports zero test results. h2. Observed failure [Waterfall build|https://spruce.corp.mongodb.c

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
7.0.49
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.