Skip to content

Commit b6c40d3

Browse files
committed
ci: pin pluggy 1.6.0 so scancode imports in the license gate
Jenkins DeusData#81 failed in the License gate before building: a fresh CI venv resolved pluggy 1.7.0, and plugincode 32.0.0 (pulled in by scancode-toolkit 32.5.0) then raises at import: ValueError: did not find any 'pre_scan' hooks in plugincode.pre_scan Jenkins DeusData#80 passed the day before with pluggy 1.6.0. Pinning pluggy==1.6.0 in requirements-ci.txt restores a working scancode. Checked in a clean venv: with 1.6.0 'scancode --version' succeeds, and with 1.7.0 it raises the same ValueError.
1 parent 0081ba6 commit b6c40d3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎requirements-ci.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
# Keep this separate from pkg/pypi/requirements-publish.txt: these packages are
33
# CI analyzers, not runtime or registry-publishing dependencies.
44
scancode-toolkit==32.5.0
5+
# pluggy 1.7.0 rejects plugincode 32.0.0's pre_scan hookspec module ("did not
6+
# find any 'pre_scan' hooks"), which breaks `scancode` at import. Keep the
7+
# last working release until plugincode supports 1.7.
8+
pluggy==1.6.0

0 commit comments

Comments
 (0)