SERVER-139334In Code Review

Fix Python dependency compatibility in v7.0 package tests

h2. Problem The {{test_packages}} task on {{mongodb-mongo-v7.0-staging}} fails during Python dependency installation. The task uses Python 3.9, but the pinned {{types-PyYAML==6.0.12.20261103}} release requires Python >= 3.10. This prevents package tests from running on multiple v7.0 build variants. See [BF-47214|https://jira.mongodb.org/browse/BF-47214] and the [failing suse12 task|https://spruce.mongodb.com/task/mongodb_mongo_v7.0_staging_suse12_test_packages_d481c335222d9536640aff825ac47da2

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.