Skip to content

Commit be41969

Browse files
committed
Use ScanCode's requirements as constraints
We want to test against the same version that are pinned there Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent cdad4b0 commit be41969

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ CLI_ARGS=$1
2626
################################
2727

2828
# Requirement arguments passed to pip and used by default or with --dev.
29-
REQUIREMENTS="--editable ."
30-
DEV_REQUIREMENTS="--editable .[testing]"
29+
REQUIREMENTS="--editable . --constraint requirements.txt"
30+
DEV_REQUIREMENTS="--editable .[testing] --constraint requirements.txt"
3131

3232
# where we create a virtualenv
3333
VIRTUALENV_DIR=tmp

requirements.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
attrs==19.3.0
2+
beautifulsoup4==4.7.1
3+
certifi==2020.12.5
4+
chardet==3.0.4
5+
click==6.7
6+
idna==2.10
7+
intbitset==2.4.1
8+
PyYAML==5.4.1
9+
requests==2.25.1
10+
saneyaml==0.5.2
11+
six==1.12.0
12+
soupsieve==1.9.2
13+
text-unidecode==1.2
14+
typing==3.6.4
15+
urllib3==1.26.4

0 commit comments

Comments
 (0)