ci: Pin transitive dependencies for tests on Python>=3.8#6437
1 issue
find-bugs: Found 1 issue (1 medium)
Medium
`_render_latest_dependencies` output rendered twice for `-latest` tox environments - `scripts/populate_tox/populate_tox.py:892-894`
Version-specific deps from _render_latest_dependencies are added to both latest_transitive_dependencies[0] and the separately computed latest_dependencies, causing duplicate entries in tox.ini for any integration with version-specific dep constraints.
Also found at:
scripts/populate_tox/tox.jinja:155-163
⏱ 23m 36s · 1.8M in / 86.9k out · $3.21
Annotations
Check warning on line 894 in scripts/populate_tox/populate_tox.py
sentry-warden / warden: find-bugs
`_render_latest_dependencies` output rendered twice for `-latest` tox environments
Version-specific deps from `_render_latest_dependencies` are added to both `latest_transitive_dependencies[0]` and the separately computed `latest_dependencies`, causing duplicate entries in `tox.ini` for any integration with version-specific dep constraints.
Check warning on line 163 in scripts/populate_tox/tox.jinja
sentry-warden / warden: find-bugs
[QXV-Q8N] `_render_latest_dependencies` output rendered twice for `-latest` tox environments (additional location)
Version-specific deps from `_render_latest_dependencies` are added to both `latest_transitive_dependencies[0]` and the separately computed `latest_dependencies`, causing duplicate entries in `tox.ini` for any integration with version-specific dep constraints.