Skip to content

Commit 1e3ce93

Browse files
authored
Merge pull request #4427 from aboutcode-org/update-commoncode-click
Fix click compatibility issues with commoncode v32.3.0
2 parents bd876e5 + f9dd587 commit 1e3ce93

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
python_architecture: x64
204204
test_suites:
205205
click_versions: |
206-
for clk_ver in 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.3 8.0.2 8.0.1 7.1.2 7.1.1 7.1 6.7;
206+
for clk_ver in 8.2.0 8.2.1 8.1.7 8.1.6 8.1.5 8.1.4 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.2 8.0.3 8.0.1 7.1.2 7.1.1 7.1 6.7;
207207
do
208208
venv/bin/pip install click==$clk_ver;
209209
venv/bin/scancode -i samples/ -n3 --json foo.json;

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ certifi==2024.2.2
88
cffi==1.16.0
99
chardet==5.0.0
1010
charset-normalizer==2.1.0
11-
click==8.1.7
11+
click==8.2.1;python_version>='3.10'
12+
click==8.1.7;python_version<'3.10'
1213
colorama==0.4.5
13-
commoncode==32.2.1
14+
commoncode==32.3.0
1415
construct==2.10.68
1516
container-inspector==31.1.0
1617
cryptography==42.0.5

setup-mini.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ install_requires =
6767
Beautifulsoup4[chardet] >= 4.13.0
6868
boolean.py >= 4.0
6969
chardet >= 3.0.0
70-
click >= 6.7, !=7.0, !=8.1.8
70+
click >= 6.7, !=7.0, !=8.1.8;python_version<'3.10'
71+
click >= 8.2.0;python_version>='3.10'
7172
colorama >= 0.3.9
72-
commoncode >= 32.2.1
73+
commoncode >= 32.3.0
7374
container-inspector >= 31.0.0
7475
debian-inspector >= 31.1.0
7576
dparse2 >= 0.7.0

setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ install_requires =
6767
Beautifulsoup4[chardet] >= 4.13.0
6868
boolean.py >= 4.0
6969
chardet >= 3.0.0
70-
click >= 6.7, !=7.0, !=8.1.8
70+
click >= 6.7, !=7.0, !=8.1.8;python_version<'3.10'
71+
click >= 8.2.0;python_version>='3.10'
7172
colorama >= 0.3.9
72-
commoncode >= 32.2.1
73+
commoncode >= 32.3.0
7374
container-inspector >= 31.0.0
7475
debian-inspector >= 31.1.0
7576
dparse2 >= 0.7.0

0 commit comments

Comments
 (0)