cli: lock-check holds the runner package's setuptools pin too (cli/runner/pyproject.toml is not checked)
tsk-xtx738c5hatx Proposed
Audit round 6 (tsk-hgnbapyw7hnh), read at 046a4d3b. Kind: design gap (a rule applied to one of two copies).
What is wrong
cli/runner/pyproject.toml:2pinssetuptools==84.2.1with the comment "the same pin as ../pyproject.toml and ../requirements/release.in".cli/Makefile:54lock-checkrunslock_check.py pins setuptools pyproject.toml requirements/release.in --extra devforcli/pyproject.tomlonly.cli/tests/test_runner_package.py:59-68checks versions and the maity pin, not the build backend.- If
make lockmoves setuptools, the runner keeps the old pin unnoticed andmake release-buildbuilds it without isolation against the new one.
Proposal
- Add a second
lock_check.py pins setuptools runner/pyproject.toml requirements/release.intolock-checkand update the comment atcli/Makefile:36-39.
Effort / risk: S. Low.