Skip to content

Raise error for deb comparators << and >>#190

Merged
pombredanne merged 1 commit into
aboutcode-org:mainfrom
immqu:deb-clarification
Apr 29, 2026
Merged

Raise error for deb comparators << and >>#190
pombredanne merged 1 commit into
aboutcode-org:mainfrom
immqu:deb-clarification

Conversation

@immqu

@immqu immqu commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

This PR addresses the recent fix in the vers spec which clarifies that the deb comparators << and >> are not valid vers input, see package-url/vers-spec#51 and package-url/vers-spec#64.
Normalization still works as expected, e.g. DebianVersionRange.from_native("<<1.0") normalizes to vers:deb/<1.0, but it does not accept vers:deb/<<1.0 anymore.

Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de>
@pombredanne

Copy link
Copy Markdown
Member

Thanks!

@pombredanne pombredanne merged commit 968d66f into aboutcode-org:main Apr 29, 2026
1 of 2 checks passed
@immqu immqu deleted the deb-clarification branch April 30, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants