Skip to content

Commit

Permalink
Merge pull request #17 from aboutcode-org/fix-sctk-integration
Browse files Browse the repository at this point in the history
Support latest sctk dependency model
  • Loading branch information
AyanSinhaMahapatra authored Oct 31, 2024
2 parents 5380cc8 + ff891bd commit d62b372
Show file tree
Hide file tree
Showing 8 changed files with 853 additions and 846 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ 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
- Drop python 3.8 and support python 3.13

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

Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
parameters:
job_name: ubuntu20_cpython
image_name: ubuntu-20.04
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
test_suites:
all: venv/bin/pytest -n 2 -vvs

- template: etc/ci/azure-posix.yml
parameters:
job_name: ubuntu22_cpython
image_name: ubuntu-22.04
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
test_suites:
all: venv/bin/pytest -n 2 -vvs

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ zip_safe = false

setup_requires = setuptools_scm[toml] >= 4

python_requires = >=3.8
python_requires = >=3.9

install_requires =
commoncode
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 d62b372

Please sign in to comment.