Skip to content

Commit 32cb9e0

Browse files
committed
Merge main and fix conflicts
Signed-off-by: tdruez <[email protected]>
2 parents f0f3e52 + 1292e1a commit 32cb9e0

File tree

132 files changed

+37002
-25852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+37002
-25852
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
max-parallel: 4
3333
matrix:
34-
python-version: ["3.10", "3.11", "3.12"]
34+
python-version: ["3.10", "3.11", "3.12", "3.13"]
3535

3636
steps:
3737
- name: Checkout code

.github/workflows/generate-sboms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
find scancodeio/ -type f -name "*.ABOUT" -exec cp {} "${{ env.INPUTS_PATH }}/about-files/" \;
3333
3434
- name: Resolve the dependencies using ScanCode-action
35-
uses: nexB/scancode-action@main
35+
uses: aboutcode-org/scancode-action@main
3636
with:
3737
pipelines: "resolve_dependencies:DynamicResolver"
3838
inputs-path: ${{ env.INPUTS_PATH }}

.github/workflows/pypi-release-aboutcode-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.12
20+
python-version: 3.13
2121

2222
- name: Install flot
2323
run: python -m pip install flot --user

.github/workflows/pypi-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.12
20+
python-version: 3.13
2121

2222
- name: Install pypa/build
2323
run: python -m pip install build --user

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ local
5151
*.rdb
5252
*.aof
5353
.vscode
54+
.ipynb_checkpoints
5455

5556
# This is only created when packaging for external redistribution
5657
/thirdparty/

CHANGELOG.rst

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,92 @@
11
Changelog
22
=========
33

4-
v34.10.2 (unreleased)
4+
v35.1.0 (2025-07-02)
5+
--------------------
6+
7+
- Replace the ``setup.py``/``setup.cfg`` by ``pyproject.toml`` file.
8+
https://github.com/aboutcode-org/scancode.io/issues/1608
9+
10+
- Update scancode-toolkit to v32.4.0. See CHANGELOG for updates:
11+
https://github.com/aboutcode-org/scancode-toolkit/releases/tag/v32.4.0
12+
Adds a new ``git_sha1`` attribute to the ``CodebaseResource`` model as this
13+
is now computed and returned from the ``scancode-toolkit`` ``--info`` plugin.
14+
https://github.com/aboutcode-org/scancode.io/pull/1708
15+
16+
- Add a ``--fail-on-vulnerabilities`` option in ``check-compliance`` management command.
17+
When this option is enabled, the command will exit with a non-zero status if known
18+
vulnerabilities are detected in discovered packages and dependencies.
19+
Requires the ``find_vulnerabilities`` pipeline to be executed beforehand.
20+
https://github.com/aboutcode-org/scancode.io/pull/1702
21+
22+
- Enable ``--license-references`` scan option in the ``scan_single_package`` pipeline.
23+
The ``license_references`` and ``license_rule_references`` attributes will now be
24+
available in the scan results, including the details about detected licenses and
25+
license rules used during the scan.
26+
https://github.com/aboutcode-org/scancode.io/issues/1657
27+
28+
- Add a new step to the ``DeployToDevelop`` pipeline, ``map_python``, to match
29+
Cython source files (.pyx) to their compiled binaries.
30+
https://github.com/aboutcode-org/scancode.io/pull/1703
31+
32+
v35.0.0 (2025-06-23)
33+
--------------------
34+
35+
- Add support for Python 3.13.
36+
Upgrade the base image in Dockerfile to ``python:3.13-slim``.
37+
https://github.com/aboutcode-org/scancode.io/pull/1469/files
38+
39+
- Display matched snippets details in "Resource viewer", including the package,
40+
resource, and similarity values.
41+
https://github.com/aboutcode-org/scancode.io/issues/1688
42+
43+
- Add filtering by label and pipeline in the ``flush-projects`` management command.
44+
Also, a new ``--dry-run`` option is available to test the filters before applying
45+
the deletion.
46+
https://github.com/aboutcode-org/scancode.io/pull/1690
47+
48+
- Add support for using Package URL (purl) as project input.
49+
This implementation is based on ``purl2url.get_download_url``.
50+
https://github.com/aboutcode-org/scancode.io/issues/1383
51+
52+
- Raise a ``MatchCodeIOException`` when the response from the MatchCode.io service is
53+
not valid in ``send_project_json_to_matchcode``.
54+
This generally means an issue on the MatchCode.io server side.
55+
https://github.com/aboutcode-org/scancode.io/issues/1665
56+
57+
- Upgrade Bulma CSS and Ace JS libraries to latest versions.
58+
Refine the CSS for the Resource viewer.
59+
https://github.com/aboutcode-org/scancode.io/pull/1692
60+
61+
- Add "(No value detected)" for Copyright and Holder charts.
62+
https://github.com/aboutcode-org/scancode.io/issues/1697
63+
64+
- Add "Package Compliance Alert" chart in the Policies section.
65+
https://github.com/aboutcode-org/scancode.io/pull/1699
66+
67+
- Update univers to v31.0.0, catch ``NotImplementedError`` in
68+
``get_unique_unresolved_purls``, and properly log error in project.
69+
https://github.com/aboutcode-org/scancode.io/pull/1700
70+
https://github.com/aboutcode-org/scancode.io/pull/1701
71+
72+
v34.11.0 (2025-05-02)
573
---------------------
674

775
- Add a ``UUID`` field on the DiscoveredDependency model.
876
Use the UUID for the DiscoveredDependency spdx_id for better SPDX compatibility.
977
https://github.com/aboutcode-org/scancode.io/issues/1651
1078

79+
- Add MatchCode-specific functions to compute fingerprints from stemmed code
80+
files. Update CodebaseResource file content view to display snippet matches,
81+
if available, when the codebase has been sent for matching to MatchCode.
82+
https://github.com/aboutcode-org/scancode.io/pull/1656
83+
84+
- Add the ability to export filtered QuerySet of a FilterView into the JSON format.
85+
https://github.com/aboutcode-org/scancode.io/pull/1572
86+
87+
- Include ``ProjectMessage`` records in the JSON output ``headers`` section.
88+
https://github.com/aboutcode-org/scancode.io/issues/1659
89+
1190
v34.10.1 (2025-03-26)
1291
---------------------
1392

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# ScanCode.io is a free software code scanning tool from nexB Inc. and others.
2121
# Visit https://github.com/aboutcode-org/scancode.io for support and download.
2222

23-
FROM python:3.12-slim
23+
FROM python:3.13-slim
2424

2525
LABEL org.opencontainers.image.source="https://github.com/aboutcode-org/scancode.io"
2626
LABEL org.opencontainers.image.description="ScanCode.io"
@@ -87,7 +87,7 @@ RUN mkdir -p /var/$APP_NAME/static/ \
8787
&& mkdir -p /var/$APP_NAME/workspace/
8888

8989
# Install the dependencies before the codebase COPY for proper Docker layer caching
90-
COPY --chown=$APP_USER:$APP_USER setup.cfg setup.py $APP_DIR/
90+
COPY --chown=$APP_USER:$APP_USER pyproject.toml $APP_DIR/
9191
RUN pip install --no-cache-dir .
9292

9393
# Copy the codebase and set the proper permissions for the APP_USER

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,6 @@ docs:
143143
rm -rf docs/_build/
144144
@${ACTIVATE} sphinx-build docs/ docs/_build/
145145

146-
bump:
147-
@echo "-> Bump the version"
148-
@${ACTIVATE} bumpver update --no-fetch --patch
149-
150146
docker-images:
151147
@echo "-> Build Docker services"
152148
docker compose build
@@ -163,4 +159,4 @@ offline-package: docker-images
163159
@mkdir -p dist/
164160
@tar -cf dist/scancodeio-offline-package-`git describe --tags`.tar build/
165161

166-
.PHONY: virtualenv conf dev envfile install doc8 check valid check-deploy clean migrate upgrade postgresdb sqlitedb backupdb run run-docker-dev test fasttest docs bump docker-images offline-package
162+
.PHONY: virtualenv conf dev envfile install doc8 check valid check-deploy clean migrate upgrade postgresdb sqlitedb backupdb run run-docker-dev test fasttest docs docker-images offline-package

RELEASE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- Create a new `release-x.x.x` branch
66
- Update the version in:
7-
- `setup.cfg` (2 entries)
7+
- `pyproject.toml`
88
- `scancodeio/__init__.py`
99
- `CHANGELOG.rst` (set date)
1010
- Commit and push this branch
@@ -24,7 +24,7 @@
2424
```
2525
cd scancode.io
2626
source .venv/bin/activate
27-
pip install build
27+
python -m pip install build
2828
python -m build --sdist --wheel --outdir dist/ .
2929
```
3030

docs/automation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ automation methods such as a cron job or a git hook::
7979
Seamlessly integrate ScanCode.io into your GitHub Workflows to enable automated scans
8080
as an integral part of your development process.
8181

82-
Visit the `scancode-action repository <https://github.com/nexB/scancode-action>`_ to
83-
explore and learn more about the GitHub Action for ScanCode.io.
82+
Visit the `scancode-action repository <https://github.com/aboutcode-org/scancode-action>`_
83+
to explore and learn more about the GitHub Action for ScanCode.io.
8484
The repository provides detailed information, usage instructions,
8585
and configuration options to help you incorporate code scanning effortlessly into your
8686
workflows.

0 commit comments

Comments
 (0)