Skip to content

Commit 734485a

Browse files
authored
Pin scancode version (#17602)
1 parent 1dd37f8 commit 734485a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

eng/install-scancode.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
set -euo pipefail
44

5-
# https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-as-a-library-via-pip
5+
# Install instructions: https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-as-a-library-via-pip
6+
7+
# See latest release at https://github.com/nexB/scancode-toolkit/releases
8+
SCANCODE_VERSION="32.0.8"
69

710
pyEnvPath="/tmp/scancode-env"
811
python3 -m venv $pyEnvPath
912
source $pyEnvPath/bin/activate
10-
pip install scancode-toolkit
13+
pip install scancode-toolkit==$SCANCODE_VERSION
1114
deactivate
1215

1316
# Setup a script which executes scancode in the virtual environment

0 commit comments

Comments
 (0)