Skip to content

Commit 7e66f2c

Browse files
authored
Declare aboutcode.pipeline as an external dependencies #1423
Signed-off-by: tdruez <[email protected]>
1 parent 52b2b23 commit 7e66f2c

File tree

4 files changed

+42
-5
lines changed

4 files changed

+42
-5
lines changed

CHANGELOG.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
=========
33

4-
v34.9.5 (unreleased)
4+
v34.9.5 (2025-02-19)
55
--------------------
66

77
- Add support for the XLSX report in REST API.
@@ -11,6 +11,10 @@ v34.9.5 (unreleased)
1111
Also, the Project labels are kept during reset.
1212
https://github.com/aboutcode-org/scancode.io/issues/1568
1313

14+
- Add aboutcode.pipeline as an install_requires external dependency to prevent conflicts
15+
with other aboutcode submodules.
16+
https://github.com/aboutcode-org/scancode.io/issues/1423
17+
1418
v34.9.4 (2025-01-21)
1519
--------------------
1620

RELEASE.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Release instructions for `ScanCode.io`
2+
3+
### Automated release workflow
4+
5+
- Create a new `release-x.x.x` branch
6+
- Update the version in:
7+
- `setup.cfg` (2 entries)
8+
- `scancodeio/__init__.py`
9+
- `CHANGELOG.rst` (set date)
10+
- Commit and push this branch
11+
- Create a PR and merge once approved
12+
- Tag and push that tag. This will triggers the `pypi-release.yml` GitHub workflow that
13+
takes care of building the dist release files and upload those to pypi:
14+
```
15+
VERSION=vx.x.x # <- Set the new version here
16+
git tag -a $VERSION -m ""
17+
git push origin $VERSION
18+
```
19+
- Review the GitHub release created by the workflow at
20+
https://github.com/aboutcode-org/scancode.io/releases
21+
22+
### Manual build
23+
24+
```
25+
cd scancode.io
26+
source .venv/bin/activate
27+
pip install build
28+
python -m build --sdist --wheel --outdir dist/ .
29+
```
30+
31+
The distribution files will be available in the local `dist/` directory.

scancodeio/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
import git
3030

31-
VERSION = "34.9.4"
31+
VERSION = "34.9.5"
3232

3333
PROJECT_DIR = Path(__file__).resolve().parent
3434
ROOT_DIR = PROJECT_DIR.parent

setup.cfg

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = scancodeio
3-
version = 34.9.4
3+
version = 34.9.5
44
license = Apache-2.0
55
description = Automate software composition analysis pipelines
66
long_description = file:README.rst
@@ -45,7 +45,7 @@ license_files =
4545

4646
[options]
4747
python_requires = >=3.10
48-
packages=find:
48+
packages = find:
4949
include_package_data = true
5050
zip_safe = false
5151
install_requires =
@@ -109,6 +109,8 @@ install_requires =
109109
clamd==1.0.2
110110
# FederatedCode
111111
aboutcode.hashid==0.2.0
112+
# AboutCode pipeline
113+
aboutcode.pipeline==0.2.0
112114

113115
[options.extras_require]
114116
dev =
@@ -158,7 +160,7 @@ scancodeio_pipelines =
158160

159161
[bumpver]
160162
version_pattern = "MAJOR.MINOR.PATCH"
161-
current_version = "34.9.4"
163+
current_version = "34.9.5"
162164

163165
[bumpver:file_patterns]
164166
setup.cfg =

0 commit comments

Comments
 (0)