CycloneDX / CycloneDX/cyclonedx-python

feat: improve PDM reports reading lock and only report production dependencies

Open
#777 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted source: pdm
Dominant language
Python
Stars
390
Forks
98
Avg merge
2d 23h
Merged PRs (30d)
2

Description

## Describe the solution you'd like

I am considering migrating my poetry projects to pdm to comply with PEP 518 and PEP 631 and be faster (that's what the benchmarks I have seen say).

One obstacle is the way to generate the SBOM, since with poetry it reads the lock and only reports the production dependencies. This does not happen with PDM since its only support is reading a venv.

Contributor guide

Open the contributing guide

Research direction

Start by examining the repository's existing Poetry lock-file handling and the current PDM support, which reportedly reads only a virtual environment. Define how production dependencies should be identified from a PDM lock file, then verify that the generated SBOM excludes development dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.