Upgrade parameterized to 0.9.0 on Python 3.7+
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Dependabot PR #15241 bumped the parameterized test dependency from 0.8.1 to 0.9.0 and was closed unmerged. 0.9.0 dropped Python 3.6 support, and Kolibri still runs 3.6 test jobs, so the single ==0.9.0 pin fails "Install dependencies" in those jobs. No other package has to move with it.
Complexity: Low Target branch: develop
Context
-
The 3.6 unit test job on #15241 fails "Install dependencies" with:
Because the current Python version (3.6.15) does not satisfy Python>=3.7 and parameterized==0.9.0 depends on Python>=3.7, we can conclude that parameterized==0.9.0 cannot be used. -
The 3.7 jobs installed 0.9.0 and were then cancelled by the matrix's fail-fast.
-
The pin lives in the
testgroup:pyproject.toml:115. -
pytestis already split by Python version in the same group:pyproject.toml:109-110. -
3.6 runs in
tox.ymlunit_test_no_uvandmorango_integration.yml. -
Dependabot cannot write a split pin, so this needs a manual change.
The Change
The parameterized pin should be split by Python version, as pytest is, with uv.lock regenerated to match.
Acceptance Criteria
- [ ]
pyproject.tomlpinsparameterized0.8.1 for Python < 3.7 and 0.9.0 for Python >= 3.7. - [ ]
uv.lockresolvesparameterized0.9.0 for every Python version >= 3.7. - [ ] The 3.6 and 3.7 jobs in
tox.ymlandmorango_integration.ymlpass "Install dependencies". - [ ]
kolibri/core/content/test/test_search.pyandkolibri/utils/tests/test_version.pypass on 3.7 and on the newest Python in CI.
AI usage
rtibblesbot (Claude Code) reviewed #15241, found the Python 3.6 failure in CI, and drafted this issue from that review.
Filed from #15241's review.