You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes packageurl-python entirely — no runtime dependency, no dev dependency.
The library now treats PURL as an opaque string, which matches the CycloneDX
specification (PURL is a plain string field in the schema).
Changes:
- Component.purl accepts and returns Optional[str] only
- Bom.get_component_by_purl() now takes Optional[str]
- Removed PackageUrl serialization helper and ComparablePackageURL utility
- Removed all packageurl imports from source and test files
- Updated test fixtures to use PURL string format directly
- Regenerated snapshots with updated PURL string representation
BREAKING CHANGE: Component.purl type changed from Optional[PackageURL] to Optional[str].
Users who need structured PURL access should parse the string themselves using
the packageurl-python library directly.
Signed-off-by: Saquib Saifee <saquibsaifee2@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments