Skip to content

Commit

Permalink
Support latest sctk dependency model
Browse files Browse the repository at this point in the history
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
  • Loading branch information
AyanSinhaMahapatra committed Oct 31, 2024
1 parent 5380cc8 commit 7df4e3f
Show file tree
Hide file tree
Showing 6 changed files with 849 additions and 843 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ Changelog
=========


v0.4.0 (2024-10-31)
-------------------

- Use latest scancode-toolkit dependency model from v32.3.0
Here ``is_resolved`` was renamed to ``is_pinned`` in DependentPackage

v0.3.1 (2024-09-06)
------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/go_inspector/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.2"
__version__ = "0.4.0"
2 changes: 1 addition & 1 deletion src/go_inspector/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def as_dependent_package(self):
scope="dependency",
is_runtime=True,
is_optional=False,
is_resolved=True,
is_pinned=True,
extra_data=extra_data,
)

Expand Down
8 changes: 4 additions & 4 deletions tests/data/packages/GoReSym_lin-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"scope": "dependency",
"is_runtime": true,
"is_optional": false,
"is_resolved": true,
"is_pinned": true,
"is_direct": true,
"resolved_package": {},
"extra_data": {
Expand All @@ -132,7 +132,7 @@
"scope": "dependency",
"is_runtime": true,
"is_optional": false,
"is_resolved": true,
"is_pinned": true,
"is_direct": true,
"resolved_package": {},
"extra_data": {
Expand All @@ -145,7 +145,7 @@
"scope": "dependency",
"is_runtime": true,
"is_optional": false,
"is_resolved": true,
"is_pinned": true,
"is_direct": true,
"resolved_package": {},
"extra_data": {
Expand All @@ -158,7 +158,7 @@
"scope": "dependency",
"is_runtime": true,
"is_optional": false,
"is_resolved": true,
"is_pinned": true,
"is_direct": true,
"resolved_package": {},
"extra_data": {
Expand Down
Loading

0 comments on commit 7df4e3f

Please sign in to comment.