bompage 2.2.2__tar.gz → 2.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. {bompage-2.2.2 → bompage-2.2.4}/.gitlab-ci.yml +45 -58
  2. bompage-2.2.4/.python-version +1 -0
  3. {bompage-2.2.2 → bompage-2.2.4}/CONTRIBUTING.md +3 -3
  4. {bompage-2.2.2 → bompage-2.2.4}/PKG-INFO +10 -5
  5. {bompage-2.2.2 → bompage-2.2.4}/README.md +7 -1
  6. {bompage-2.2.2 → bompage-2.2.4}/Taskfile.project.yml +3 -5
  7. {bompage-2.2.2 → bompage-2.2.4}/deploy/.gitlab-ci.yml +5 -2
  8. {bompage-2.2.2 → bompage-2.2.4}/docs/index.md +1 -1
  9. {bompage-2.2.2 → bompage-2.2.4}/docs/scan.md +5 -0
  10. {bompage-2.2.2 → bompage-2.2.4}/package.json +1 -1
  11. {bompage-2.2.2 → bompage-2.2.4}/pnpm-lock.yaml +104 -104
  12. {bompage-2.2.2 → bompage-2.2.4}/pyproject.toml +10 -13
  13. {bompage-2.2.2 → bompage-2.2.4}/renovate.json +7 -1
  14. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/scan.py +1 -1
  15. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/vulnerabilities.py +146 -5
  16. {bompage-2.2.2 → bompage-2.2.4}/tests/analysis/test_freshness.py +1 -1
  17. {bompage-2.2.2 → bompage-2.2.4}/tests/parsers/test_base.py +4 -2
  18. {bompage-2.2.2 → bompage-2.2.4}/tests/test_attest.py +8 -4
  19. {bompage-2.2.2 → bompage-2.2.4}/tests/test_bompage.py +12 -5
  20. {bompage-2.2.2 → bompage-2.2.4}/tests/test_build.py +3 -2
  21. {bompage-2.2.2 → bompage-2.2.4}/tests/test_metadata.py +3 -2
  22. {bompage-2.2.2 → bompage-2.2.4}/tests/test_scan_report.py +77 -4
  23. {bompage-2.2.2 → bompage-2.2.4}/tests/test_time.py +1 -1
  24. {bompage-2.2.2 → bompage-2.2.4}/tests/test_vulnerabilities.py +323 -2
  25. bompage-2.2.4/uv.lock +1203 -0
  26. bompage-2.2.2/.python-version +0 -1
  27. bompage-2.2.2/uv.lock +0 -1464
  28. {bompage-2.2.2 → bompage-2.2.4}/.gitignore +0 -0
  29. {bompage-2.2.2 → bompage-2.2.4}/.gitleaks.toml +0 -0
  30. {bompage-2.2.2 → bompage-2.2.4}/.markdownlint.yaml +0 -0
  31. {bompage-2.2.2 → bompage-2.2.4}/.node-version +0 -0
  32. {bompage-2.2.2 → bompage-2.2.4}/.pre-commit-config.yaml +0 -0
  33. {bompage-2.2.2 → bompage-2.2.4}/.releaserc +0 -0
  34. {bompage-2.2.2 → bompage-2.2.4}/.yamllint +0 -0
  35. {bompage-2.2.2 → bompage-2.2.4}/LICENSE +0 -0
  36. {bompage-2.2.2 → bompage-2.2.4}/SECURITY.md +0 -0
  37. {bompage-2.2.2 → bompage-2.2.4}/Taskfile.yml +0 -0
  38. {bompage-2.2.2 → bompage-2.2.4}/biome.json +0 -0
  39. {bompage-2.2.2 → bompage-2.2.4}/deploy/README.md +0 -0
  40. {bompage-2.2.2 → bompage-2.2.4}/deploy/reports/example-component/.gitkeep +0 -0
  41. {bompage-2.2.2 → bompage-2.2.4}/deploy/trust/allowed_signers +0 -0
  42. {bompage-2.2.2 → bompage-2.2.4}/deploy/web/.gitkeep +0 -0
  43. {bompage-2.2.2 → bompage-2.2.4}/docs/analysis/drift.md +0 -0
  44. {bompage-2.2.2 → bompage-2.2.4}/docs/analysis/freshness.md +0 -0
  45. {bompage-2.2.2 → bompage-2.2.4}/docs/analysis/inventory.md +0 -0
  46. {bompage-2.2.2 → bompage-2.2.4}/docs/analysis/timeline.md +0 -0
  47. {bompage-2.2.2 → bompage-2.2.4}/docs/bompage.md +0 -0
  48. {bompage-2.2.2 → bompage-2.2.4}/docs/build.md +0 -0
  49. {bompage-2.2.2 → bompage-2.2.4}/docs/check.md +0 -0
  50. {bompage-2.2.2 → bompage-2.2.4}/docs/cli.md +0 -0
  51. {bompage-2.2.2 → bompage-2.2.4}/docs/dashboard.md +0 -0
  52. {bompage-2.2.2 → bompage-2.2.4}/docs/discovery.md +0 -0
  53. {bompage-2.2.2 → bompage-2.2.4}/docs/metadata.md +0 -0
  54. {bompage-2.2.2 → bompage-2.2.4}/docs/models.md +0 -0
  55. {bompage-2.2.2 → bompage-2.2.4}/docs/parsers/base.md +0 -0
  56. {bompage-2.2.2 → bompage-2.2.4}/docs/parsers/cyclonedx.md +0 -0
  57. {bompage-2.2.2 → bompage-2.2.4}/docs/parsers/spdx.md +0 -0
  58. {bompage-2.2.2 → bompage-2.2.4}/docs/prune.md +0 -0
  59. {bompage-2.2.2 → bompage-2.2.4}/docs/push.md +0 -0
  60. {bompage-2.2.2 → bompage-2.2.4}/docs/render/api.md +0 -0
  61. {bompage-2.2.2 → bompage-2.2.4}/docs/render/data.md +0 -0
  62. {bompage-2.2.2 → bompage-2.2.4}/docs/render/web.md +0 -0
  63. {bompage-2.2.2 → bompage-2.2.4}/docs/verify.md +0 -0
  64. {bompage-2.2.2 → bompage-2.2.4}/lychee.toml +0 -0
  65. {bompage-2.2.2 → bompage-2.2.4}/mkdocs.yml +0 -0
  66. {bompage-2.2.2 → bompage-2.2.4}/pnpm-workspace.yaml +0 -0
  67. {bompage-2.2.2 → bompage-2.2.4}/scripts/gen-demo-data.py +0 -0
  68. {bompage-2.2.2 → bompage-2.2.4}/scripts/merge_sbom_licenses.py +0 -0
  69. {bompage-2.2.2 → bompage-2.2.4}/scripts/subset-icons.mjs +0 -0
  70. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/__init__.py +0 -0
  71. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/_git.py +0 -0
  72. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/_paths.py +0 -0
  73. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/_time.py +0 -0
  74. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/_version.py +0 -0
  75. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/analysis/__init__.py +0 -0
  76. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/analysis/drift.py +0 -0
  77. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/analysis/freshness.py +0 -0
  78. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/analysis/inventory.py +0 -0
  79. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/analysis/timeline.py +0 -0
  80. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/attest.py +0 -0
  81. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/bompage.py +0 -0
  82. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/build.py +0 -0
  83. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/check.py +0 -0
  84. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/discovery.py +0 -0
  85. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/metadata.py +0 -0
  86. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/models.py +0 -0
  87. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/parsers/__init__.py +0 -0
  88. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/parsers/base.py +0 -0
  89. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/parsers/cyclonedx.py +0 -0
  90. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/parsers/spdx.py +0 -0
  91. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/prune.py +0 -0
  92. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/push.py +0 -0
  93. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/py.typed +0 -0
  94. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/render/__init__.py +0 -0
  95. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/render/api.py +0 -0
  96. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/render/data.py +0 -0
  97. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/render/web.py +0 -0
  98. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/android-chrome-192x192.png +0 -0
  99. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/android-chrome-512x512.png +0 -0
  100. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/apple-touch-icon.png +0 -0
  101. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/assets/bompage-D8Wv-XTb.png +0 -0
  102. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/assets/index-DRORAtgH.css +0 -0
  103. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/assets/index-l2gw7pOZ.js +0 -0
  104. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/assets/material-symbols-outlined-CbWsDl0D.woff2 +0 -0
  105. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
  106. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
  107. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/favicon-16x16.png +0 -0
  108. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/favicon-32x32.png +0 -0
  109. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/favicon.ico +0 -0
  110. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/index.html +0 -0
  111. {bompage-2.2.2 → bompage-2.2.4}/src/bompage/web/site.webmanifest +0 -0
  112. {bompage-2.2.2 → bompage-2.2.4}/tests/__init__.py +0 -0
  113. {bompage-2.2.2 → bompage-2.2.4}/tests/analysis/__init__.py +0 -0
  114. {bompage-2.2.2 → bompage-2.2.4}/tests/analysis/test_drift.py +0 -0
  115. {bompage-2.2.2 → bompage-2.2.4}/tests/analysis/test_inventory.py +0 -0
  116. {bompage-2.2.2 → bompage-2.2.4}/tests/analysis/test_timeline.py +0 -0
  117. {bompage-2.2.2 → bompage-2.2.4}/tests/conftest.py +0 -0
  118. {bompage-2.2.2 → bompage-2.2.4}/tests/files/cyclonedx/simple.cdx.json +0 -0
  119. {bompage-2.2.2 → bompage-2.2.4}/tests/files/reports/app-api/sbom-20260115.json +0 -0
  120. {bompage-2.2.2 → bompage-2.2.4}/tests/files/spdx/simple.spdx.json +0 -0
  121. {bompage-2.2.2 → bompage-2.2.4}/tests/files/spdx/web-frontend.spdx.json +0 -0
  122. {bompage-2.2.2 → bompage-2.2.4}/tests/files/version_sort_parity.json +0 -0
  123. {bompage-2.2.2 → bompage-2.2.4}/tests/parsers/__init__.py +0 -0
  124. {bompage-2.2.2 → bompage-2.2.4}/tests/parsers/test_cyclonedx.py +0 -0
  125. {bompage-2.2.2 → bompage-2.2.4}/tests/parsers/test_spdx.py +0 -0
  126. {bompage-2.2.2 → bompage-2.2.4}/tests/render/__init__.py +0 -0
  127. {bompage-2.2.2 → bompage-2.2.4}/tests/render/test_data.py +0 -0
  128. {bompage-2.2.2 → bompage-2.2.4}/tests/render/test_web.py +0 -0
  129. {bompage-2.2.2 → bompage-2.2.4}/tests/scripts/test_merge_sbom_licenses.py +0 -0
  130. {bompage-2.2.2 → bompage-2.2.4}/tests/test_check.py +0 -0
  131. {bompage-2.2.2 → bompage-2.2.4}/tests/test_dashboard_e2e.py +0 -0
  132. {bompage-2.2.2 → bompage-2.2.4}/tests/test_discovery.py +0 -0
  133. {bompage-2.2.2 → bompage-2.2.4}/tests/test_models.py +0 -0
  134. {bompage-2.2.2 → bompage-2.2.4}/tests/test_prune.py +0 -0
  135. {bompage-2.2.2 → bompage-2.2.4}/tests/test_prune_report.py +0 -0
  136. {bompage-2.2.2 → bompage-2.2.4}/tests/test_push_report.py +0 -0
  137. {bompage-2.2.2 → bompage-2.2.4}/tsconfig.json +0 -0
  138. {bompage-2.2.2 → bompage-2.2.4}/vite.config.ts +0 -0
  139. {bompage-2.2.2 → bompage-2.2.4}/vitest.config.ts +0 -0
  140. {bompage-2.2.2 → bompage-2.2.4}/web-src/app.test.ts +0 -0
  141. {bompage-2.2.2 → bompage-2.2.4}/web-src/app.ts +0 -0
  142. {bompage-2.2.2 → bompage-2.2.4}/web-src/bompage.png +0 -0
  143. {bompage-2.2.2 → bompage-2.2.4}/web-src/index.html +0 -0
  144. {bompage-2.2.2 → bompage-2.2.4}/web-src/lib.test.ts +0 -0
  145. {bompage-2.2.2 → bompage-2.2.4}/web-src/lib.ts +0 -0
  146. {bompage-2.2.2 → bompage-2.2.4}/web-src/public/android-chrome-192x192.png +0 -0
  147. {bompage-2.2.2 → bompage-2.2.4}/web-src/public/android-chrome-512x512.png +0 -0
  148. {bompage-2.2.2 → bompage-2.2.4}/web-src/public/apple-touch-icon.png +0 -0
  149. {bompage-2.2.2 → bompage-2.2.4}/web-src/public/favicon-16x16.png +0 -0
  150. {bompage-2.2.2 → bompage-2.2.4}/web-src/public/favicon-32x32.png +0 -0
  151. {bompage-2.2.2 → bompage-2.2.4}/web-src/public/favicon.ico +0 -0
  152. {bompage-2.2.2 → bompage-2.2.4}/web-src/public/site.webmanifest +0 -0
  153. {bompage-2.2.2 → bompage-2.2.4}/web-src/theme.css +0 -0
@@ -17,12 +17,13 @@ workflow:
17
17
  variables:
18
18
  # The tagged commit was linted and tested by its branch pipeline before
19
19
  # semantic-release created the tag. On the tag pipeline only the release
20
- # jobs matter, and none of them gate on lint/test anyway (each has an
21
- # explicit `needs:`). DISABLE_JOBS switches off every op_so lint/test
20
+ # jobs matter, and none of them gate on lint/test anyway (an explicit
21
+ # `needs:`, or `publish-pypi-uv`'s stage order, which only sees the jobs
22
+ # that run). DISABLE_JOBS switches off every op_so lint/test
22
23
  # job; the jobs the release needs re-enable themselves below
23
24
  # (prepare-uv:sync, publish-pypi-uv, pages, generate-sbom, bompage-push).
24
25
  # build-web is NOT gated by DISABLE_JOBS (see its own `rules:`): the
25
- # wheel built by publish-pypi-uv needs its artifact even here.
26
+ # wheel built by publish-pypi-uv takes its artifact even here.
26
27
  DISABLE_JOBS: "true"
27
28
  - if: $CI_COMMIT_BRANCH
28
29
  # Superseded pipelines abandon their still-running interruptible jobs when a
@@ -40,14 +41,18 @@ default:
40
41
  when:
41
42
  - api_failure
42
43
  - runner_system_failure
43
- - stuck_or_timeout_failure
44
+ - stuck_pending_with_matching_runners
45
+ - stuck_pending_no_matching_runners
46
+ - no_updates_running
47
+ - no_updates_canceling
44
48
  - scheduler_failure
45
49
 
46
50
  variables:
47
51
  # The Python the project develops and releases on (see the note on `include:`
48
52
  # below for why the component inputs still hard-code it). It is NOT the floor:
49
- # `requires-python` in pyproject.toml is >=3.12, and `test-floor` below runs
50
- # the suite on every supported minor so that bound stays a checked claim.
53
+ # `requires-python` in pyproject.toml is >=3.13,<3.15, and `test-uv` runs the
54
+ # suite on every supported minor (`test_uv_python_versions`) so that range
55
+ # stays a checked claim.
51
56
  PYTHON_VERSION: "3.14"
52
57
  # Pinned go-task release fetched by `.install-task` (floating "latest" would
53
58
  # make release jobs non-reproducible). Bump deliberately.
@@ -57,52 +62,55 @@ variables:
57
62
  # Trivy generates bompage's own release SBOM in the `generate-sbom` job. Pinned
58
63
  # so re-running an old tag is reproducible; Renovate bumps it (custom manager
59
64
  # in renovate.json).
60
- TRIVY_VERSION: "0.75.0"
65
+ TRIVY_VERSION: "0.76.0"
61
66
  # Node binary installed directly in the `generate-sbom` job (a Python-image job):
62
67
  # Trivy's pnpm analyzer only reads license data from an installed
63
68
  # `node_modules`, not from `pnpm-lock.yaml` alone. Pinned like TRIVY_VERSION
64
69
  # above; Renovate bumps it (custom manager in renovate.json). pnpm itself
65
70
  # comes from `package.json`'s `packageManager` field via corepack.
66
- NODE_VERSION: "24.21.0"
71
+ NODE_VERSION: "24.22.0"
67
72
  # uv installed directly in the `test-e2e` job (it runs on the Playwright image,
68
73
  # not on IMAGE_UV). Pinned like TRIVY_VERSION / NODE_VERSION above: a floating
69
74
  # installer would make the only browser test in the pipeline non-reproducible
70
75
  # and let a breaking uv major land with no MR. Renovate bumps it (custom
71
76
  # manager in renovate.json).
72
- UV_VERSION: "0.13.0"
77
+ UV_VERSION: "0.13.4"
73
78
 
74
79
  # `include:` is evaluated before the global `variables:` block, so the component
75
- # `inputs:` below cannot reference ${PYTHON_VERSION}. The four
76
- # `*_python_version: "3.14"` values are therefore kept as literals and must be
77
- # bumped together with PYTHON_VERSION above (and deploy/.gitlab-ci.yml).
80
+ # `inputs:` below cannot reference ${PYTHON_VERSION}. The three
81
+ # `*_python_version: "3.14"` values (and the `test_uv_python_versions` list)
82
+ # are therefore kept as literals and must be bumped together with
83
+ # PYTHON_VERSION above and the minor of .python-version (Renovate only bumps
84
+ # the patch of the latter, see renovate.json).
78
85
  include:
79
86
  - component: gitlab.com/op_so/components/core/lint@v2.0.4
80
87
  inputs:
81
88
  lint_vale: true
82
89
  lint_markdown_glob: '"**/*.md" "#docs"'
83
- - component: gitlab.com/op_so/components/python-uv/prepare-uv@v1.4.0
90
+ - component: gitlab.com/op_so/components/python-uv/prepare-uv@v2.1.0
84
91
  inputs:
85
92
  prepare_uv_python_version: "3.14"
86
- - component: gitlab.com/op_so/components/python-uv/lint-uv@v1.4.0
93
+ - component: gitlab.com/op_so/components/python-uv/lint-uv@v2.1.0
87
94
  inputs:
88
95
  lint_uv_python_version: "3.14"
89
- lint_uv_isort: true
90
96
  lint_uv_mypy: true
91
97
  lint_uv_mypy_args: "--strict src/ tests/"
92
98
  lint_uv_pyrefly: true
93
99
  # Coverage is on by default and reads `[tool.coverage.run] source` from
94
100
  # pyproject.toml, since the component passes `--cov` without an argument.
95
- - component: gitlab.com/op_so/components/python-uv/test-uv@v1.4.0
101
+ - component: gitlab.com/op_so/components/python-uv/test-uv@v2.1.0
96
102
  inputs:
97
- test_uv_python_version: "3.14"
103
+ test_uv_python_versions: ["3.13", "3.14"]
98
104
  - component: gitlab.com/op_so/components/core/semantic-release@v2.0.4
99
105
  # Only runs on a scheduled pipeline setting RENOVATE=true, and needs a
100
106
  # RENOVATE_TOKEN CI/CD variable.
101
107
  - component: gitlab.com/op_so/components/core/renovate@v2.0.4
102
- - component: gitlab.com/op_so/components/python-uv/publish-pypi-uv@v1.4.0
108
+ - component: gitlab.com/op_so/components/python-uv/publish-pypi-uv@v2.1.0
103
109
  inputs:
104
110
  publish_pypi_uv_python_version: "3.14"
105
111
  publish_pypi_uv_stage: pypi-release
112
+ # Stamps the version from the tag (`uv version --frozen`): the repo carries 0.0.0.
113
+ publish_pypi_uv_version_from_tag: "v[0-9]*.[0-9]*.[0-9]*"
106
114
  # `bompage-push` component only: the publish side (`pages` + `bompage-prune`)
107
115
  # belongs to the central sbom-bompage repo's own inclusion
108
116
  # (deploy/.gitlab-ci.yml), so it is simply not included here -- no `pages`
@@ -112,7 +120,7 @@ include:
112
120
  # `bompage_push_repo` is a literal, not `${VARIABLE}`: like the
113
121
  # `*_python_version` inputs above, `include: inputs:` cannot reference this
114
122
  # file's own `variables:` block (see the note on `include:` above).
115
- - component: gitlab.com/op_so/components/pages/bompage-push@v1.3.1
123
+ - component: gitlab.com/op_so/components/pages/bompage-push@v1.3.3
116
124
  inputs:
117
125
  bompage_push_stage: sbom-release
118
126
  bompage_push_repo: "https://gitlab.com/op_so/pages/sbom-bompage.git"
@@ -212,13 +220,13 @@ build-web:
212
220
  stage: build-web
213
221
  # Deliberately its own rules, not `*skip-when-jobs-disabled` / DISABLE_JOBS:
214
222
  # - it must survive the tag pipeline, where DISABLE_JOBS is "true" but
215
- # publish-pypi-uv still `needs` this job's artifact for the wheel -- gating
216
- # on DISABLE_JOBS there made it vanish from that pipeline while
217
- # publish-pypi-uv still needed it, which GitLab reports as "needs
218
- # 'build-web' job, but 'build-web' does not exist".
223
+ # publish-pypi-uv still lists this job in `dependencies` for the wheel --
224
+ # gating on DISABLE_JOBS there made it vanish from that pipeline while
225
+ # publish-pypi-uv still referenced it, which GitLab rejects as a
226
+ # `dependencies` entry naming a job that does not exist.
219
227
  # - it must NOT run on the schedule pipeline (Renovate's cron): nothing there
220
228
  # needs a dashboard build, so skip on that source explicitly instead.
221
- # test-floor / test-e2e / test-uv:pytest also `needs` build-web, but they
229
+ # test-e2e / test-uv:pytest also `needs` build-web, but they
222
230
  # stay on the shared DISABLE_JOBS gate (now also set for `schedule`, above)
223
231
  # so they are skipped there too -- otherwise they would hit the same
224
232
  # "job does not exist" error build-web itself just did.
@@ -240,37 +248,20 @@ build-web:
240
248
  - apt-get update -qq
241
249
  - DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends git openssh-client
242
250
 
243
- # `requires-python = ">=3.12"` is only checked on PYTHON_VERSION by the op_so
244
- # test-uv component: this runs the suite on the older minors so the floor stays
245
- # a tested claim. Standalone (`needs: build-web` only, no `.abstract-uv`): the
246
- # prepare-uv cache holds a PYTHON_VERSION `.venv` that would clash with the
247
- # matrix interpreter.
248
- test-floor:
249
- stage: tests
250
- image: ghcr.io/astral-sh/uv:python${PY}-trixie-slim
251
- needs:
252
- - job: build-web
253
- artifacts: true
254
- parallel:
255
- matrix:
256
- - PY: ["3.12", "3.13"]
257
- rules: *skip-when-jobs-disabled
258
- variables:
259
- UV_CACHE_DIR: .uv-cache
260
- before_script:
261
- - *install-git
262
- script:
263
- - uv run --frozen --python "$PY" --group dev pytest
264
-
265
251
  # Browser smoke of the built dashboard. The image tag must match the
266
252
  # `playwright` version locked in uv.lock; the guard in `script:` enforces it.
267
253
  test-e2e:
268
254
  stage: tests
269
- image: mcr.microsoft.com/playwright/python:v1.63.0
255
+ image: mcr.microsoft.com/playwright/python:v1.64.1
270
256
  needs:
271
257
  - job: build-web
272
258
  artifacts: true
273
259
  rules: *skip-when-jobs-disabled
260
+ variables:
261
+ # This image ships Python 3.12, so uv fetches an interpreter. Without this it
262
+ # reads the exact patch in `.python-version`, which the pinned UV_VERSION may not
263
+ # know yet (the download then fails). The minor tracks the other jobs'.
264
+ UV_PYTHON: ${PYTHON_VERSION}
274
265
  before_script:
275
266
  # Pinned uv tarball (no `curl | sh`: it exits 0 on a failed download).
276
267
  - |
@@ -339,7 +330,7 @@ test-e2e:
339
330
  - .venv
340
331
  policy: pull
341
332
 
342
- # Required by publish-pypi-uv / pages / generate-sbom, so it must survive the
333
+ # Required by pages / generate-sbom, so it must survive the
343
334
  # DISABLE_JOBS switch the tag pipeline sets in `workflow:` above (the component
344
335
  # ships `- if: $DISABLE_JOBS == "true" when: never` as its first rule).
345
336
  prepare-uv:sync:
@@ -368,21 +359,17 @@ semantic-release:
368
359
  - npx semantic-release --dry-run --no-ci
369
360
  - if [ -s .VERSION ]; then task 00:800-project-set-version VERSION=$(cat .VERSION); fi
370
361
 
371
- # The component does not substitute the version (it would publish 0.0.0) and the
372
- # wheel needs the build-web artifact (`[tool.hatch.build.targets.wheel] artifacts`
373
- # in pyproject.toml). `needs` is re-declared with build-web added.
362
+ # The wheel needs the build-web artifact (`[tool.hatch.build.targets.wheel] artifacts`
363
+ # in pyproject.toml). No `needs`, like the component (stage order gates the
364
+ # upload behind lint and tests): `dependencies` narrows the component's
365
+ # `dependencies: []` to the build-web artifact only.
374
366
  publish-pypi-uv:
375
367
  # Uploads to PyPI: not interruptible.
376
368
  interruptible: false
377
- needs:
378
- - job: "prepare-uv:sync"
379
- artifacts: true
380
- - job: build-web
381
- artifacts: true
369
+ dependencies:
370
+ - build-web
382
371
  before_script:
383
- - *install-task
384
372
  - test -f src/bompage/web/index.html # fail loudly if the artifact is missing
385
- - task 00:800-project-set-version VERSION="${CI_COMMIT_TAG#v}"
386
373
  # Overrides the component's DISABLE_JOBS guard: the release must run on tags.
387
374
  rules:
388
375
  - if: $CI_COMMIT_TAG
@@ -0,0 +1 @@
1
+ 3.14.9
@@ -38,7 +38,7 @@ Three invariants to keep in mind before changing anything:
38
38
 
39
39
  | Tool | Used for | Version |
40
40
  | --- | --- | --- |
41
- | [uv](https://docs.astral.sh/uv/) | Python dependencies (`uv.lock`) | Python &ge; 3.14 to develop; the package supports &ge; 3.12 |
41
+ | [uv](https://docs.astral.sh/uv/) | Python dependencies (`uv.lock`) | Python 3.14 to develop; the package supports 3.13 and 3.14 (`>=3.13,<3.15`) |
42
42
  | [pnpm](https://pnpm.io) | dashboard dependencies (`pnpm-lock.yaml`) | Node &ge; 24 (`.node-version`) |
43
43
  | [go-task](https://taskfile.dev) | every project command | &mdash; |
44
44
 
@@ -89,8 +89,8 @@ needs the test that reaches it in the same change.
89
89
  ## Quality gates
90
90
 
91
91
  ```bash
92
- task 00:110-format # isort + ruff --fix + ruff format
93
- task 00:120-lint # ruff check + ruff format --check + isort --check
92
+ task 00:110-format # ruff --fix + ruff format
93
+ task 00:120-lint # ruff check + ruff format --check
94
94
  task 00:130-type-check # mypy --strict + pyrefly, both must pass
95
95
 
96
96
  task 00:015-check-web # Biome + tsc + vitest on web-src/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: bompage
3
- Version: 2.2.2
3
+ Version: 2.2.4
4
4
  Summary: A generic, server-less system to track SBOM history of N components and publish a static dashboard
5
5
  Project-URL: Homepage, https://gitlab.com/op_so/pages/bompage
6
6
  Project-URL: Documentation, https://op_so.gitlab.io/pages/bompage/
@@ -16,14 +16,13 @@ Classifier: Intended Audience :: Developers
16
16
  Classifier: Intended Audience :: System Administrators
17
17
  Classifier: Operating System :: OS Independent
18
18
  Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.12
20
19
  Classifier: Programming Language :: Python :: 3.13
21
20
  Classifier: Programming Language :: Python :: 3.14
22
21
  Classifier: Topic :: Security
23
22
  Classifier: Topic :: Software Development :: Quality Assurance
24
23
  Classifier: Typing :: Typed
25
- Requires-Python: >=3.12
26
- Requires-Dist: pydantic>=2.13.5
24
+ Requires-Python: <3.15,>=3.13
25
+ Requires-Dist: pydantic>=2.14.1
27
26
  Requires-Dist: typer>=0.27.3
28
27
  Description-Content-Type: text/markdown
29
28
 
@@ -82,7 +81,7 @@ Syft, the CycloneDX Maven plugin&hellip;) will work.
82
81
 
83
82
  ## Install
84
83
 
85
- Python 3.12 or later:
84
+ Python 3.13 or 3.14:
86
85
 
87
86
  ```bash
88
87
  python3 -m pip install bompage
@@ -217,6 +216,12 @@ alongside `bompage prune` (see `deploy/README.md`).
217
216
 
218
217
  Notes:
219
218
 
219
+ - Syft's SPDX output declares no operating system, so Trivy would skip every
220
+ apk/deb/rpm package. When all of an SPDX SBOM's OS packages share one
221
+ recognised `distro=<id>-<version>` purl qualifier (e.g. `alpine-3.24.2`),
222
+ `scan` scans a temporary copy with the matching `OPERATING-SYSTEM` package
223
+ added; the stored, signed SBOM is never modified. An unrecognised or mixed
224
+ distro is warned about and scanned as it is. CycloneDX needs none of this.
220
225
  - Findings are matched to packages by purl, tolerating differences Trivy may
221
226
  introduce (qualifiers, percent-encoding), then by `name@version`. A finding
222
227
  that still matches no package of the latest snapshot is dropped with a
@@ -53,7 +53,7 @@ Syft, the CycloneDX Maven plugin&hellip;) will work.
53
53
 
54
54
  ## Install
55
55
 
56
- Python 3.12 or later:
56
+ Python 3.13 or 3.14:
57
57
 
58
58
  ```bash
59
59
  python3 -m pip install bompage
@@ -188,6 +188,12 @@ alongside `bompage prune` (see `deploy/README.md`).
188
188
 
189
189
  Notes:
190
190
 
191
+ - Syft's SPDX output declares no operating system, so Trivy would skip every
192
+ apk/deb/rpm package. When all of an SPDX SBOM's OS packages share one
193
+ recognised `distro=<id>-<version>` purl qualifier (e.g. `alpine-3.24.2`),
194
+ `scan` scans a temporary copy with the matching `OPERATING-SYSTEM` package
195
+ added; the stored, signed SBOM is never modified. An unrecognised or mixed
196
+ distro is warned about and scanned as it is. CycloneDX needs none of this.
191
197
  - Findings are matched to packages by purl, tolerating differences Trivy may
192
198
  introduce (qualifiers, percent-encoding), then by `name@version`. A finding
193
199
  that still matches no package of the latest snapshot is dropped with a
@@ -51,19 +51,17 @@ tasks:
51
51
  silent: true
52
52
 
53
53
  110-format:
54
- desc: "[PROJECT] Python format with isort and Ruff."
54
+ desc: "[PROJECT] Python format with Ruff."
55
55
  cmds:
56
- - uv run isort . --gitignore
57
56
  - uv run ruff check --fix
58
57
  - uv run ruff format
59
58
  silent: true
60
59
 
61
60
  120-lint:
62
- desc: "[PROJECT] Python lint: Ruff (check + format) and isort."
61
+ desc: "[PROJECT] Python lint: Ruff (check, import order, format)."
63
62
  cmds:
64
63
  - uv run ruff check
65
64
  - uv run ruff format --check
66
- - uv run isort . --check-only --gitignore
67
65
  silent: true
68
66
 
69
67
  130-type-check:
@@ -81,7 +79,7 @@ tasks:
81
79
  - uv run --with pip-audit pip-audit --desc
82
80
 
83
81
  190-check:
84
- desc: "[PROJECT] Static control suite: web build + Biome/tsc, Ruff/isort, mypy/pyrefly, uv lock."
82
+ desc: "[PROJECT] Static control suite: web build + Biome/tsc, Ruff, mypy/pyrefly, uv lock."
85
83
  cmds:
86
84
  - echo "Web (build + Biome + tsc):" && echo "=========================="
87
85
  - task 00:010-build-web
@@ -35,11 +35,14 @@ default:
35
35
  when:
36
36
  - api_failure
37
37
  - runner_system_failure
38
- - stuck_or_timeout_failure
38
+ - stuck_pending_with_matching_runners
39
+ - stuck_pending_no_matching_runners
40
+ - no_updates_running
41
+ - no_updates_canceling
39
42
  - scheduler_failure
40
43
 
41
44
  include:
42
- - component: gitlab.com/op_so/components/pages/bompage-publish@v1.3.1
45
+ - component: gitlab.com/op_so/components/pages/bompage-publish@v1.3.3
43
46
  inputs:
44
47
  # This repository's trust root (attestation spec section 5), shared by
45
48
  # bompage-check (the gate) and the pages job's `bompage build` (the
@@ -1,6 +1,6 @@
1
1
  # Overview
2
2
 
3
- Version: 2.2.2
3
+ Version: 0.0.0
4
4
 
5
5
  A generic, server-less system to centralise the SBOM history of **N components**
6
6
  in a dedicated Git repository and publish a static dashboard (a constant page
@@ -8,6 +8,11 @@ component whose scan fails is warned about and skipped: one bad component never
8
8
  aborts the run. `bompage build` reads the sidecars and shows the findings on the
9
9
  dashboard.
10
10
 
11
+ An SPDX SBOM that names no operating system (syft's does not) is scanned
12
+ through a temporary copy with the OS deduced from its packages' `distro` purl
13
+ qualifier added, so Trivy covers the apk/deb/rpm packages; the stored SBOM is
14
+ never modified.
15
+
11
16
  ::: src.bompage.scan
12
17
 
13
18
  ## Matching findings to packages
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "description": "Constant Material Web (M3) dashboard for bompage; consumes the generated data/ tree at runtime.",
6
6
  "type": "module",
7
- "packageManager": "pnpm@12.11.2",
7
+ "packageManager": "pnpm@12.14.0",
8
8
  "engines": {
9
9
  "node": ">=24",
10
10
  "pnpm": ">=11"