Skip to content

Commit dccaa76

Browse files
Merge pull request #5364 from syahra712/fix/pin-pluggy-below-1.7
Cap pluggy below 1.7.0 #5363
2 parents 022019a + 1891da6 commit dccaa76

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎CHANGELOG.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ Next release
2121
``json.JSONDecodeError`` in ``get_results_cache_data`` and returning an empty mapping.
2222
https://github.com/aboutcode-org/scancode-toolkit/issues/5345
2323

24+
- Cap ``pluggy`` below 1.7.0. pluggy 1.7.0 no longer accepts the class-based
25+
hookspecs used by ``plugincode`` and scancode fails at import time with
26+
``ValueError: did not find any 'pre_scan' hooks``.
27+
https://github.com/aboutcode-org/scancode-toolkit/issues/5363
28+
2429
v33.0.0rc1 - 2026-05-14
2530
------------------------
2631

‎pyproject-scancode-toolkit-mini.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ dependencies = [
8484
"pefile >= 2020.1.1",
8585
"pip-requirements-parser >= 32.0.1",
8686
"pkginfo2 >= 30.0.0",
87-
"pluggy >= 1.0.0",
87+
"pluggy >= 1.0.0, < 1.7.0",
8888
"plugincode >= 32.0.0",
8989
"publicsuffix2",
9090
"pyahocorasick >= 2.3.0",

‎pyproject-scancode-toolkit.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ dependencies = [
8484
"pefile >= 2020.1.1",
8585
"pip-requirements-parser >= 32.0.1",
8686
"pkginfo2 >= 30.0.0",
87-
"pluggy >= 1.0.0",
87+
"pluggy >= 1.0.0, < 1.7.0",
8888
"plugincode >= 32.0.0",
8989
"publicsuffix2",
9090
"pyahocorasick >= 2.3.0",

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ dependencies = [
8585
"pefile >= 2020.1.1",
8686
"pip-requirements-parser >= 32.0.1",
8787
"pkginfo2 >= 30.0.0",
88-
"pluggy >= 1.0.0",
88+
"pluggy >= 1.0.0, < 1.7.0",
8989
"plugincode >= 32.0.0",
9090
"publicsuffix2",
9191
"pyahocorasick >= 2.3.0",

0 commit comments

Comments
 (0)