Skip to content

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

Open
immqu wants to merge 1 commit intoaboutcode-org:mainfrom
immqu:deb-clarification
Open

Raise error for deb comparators << and >>#190
immqu wants to merge 1 commit intoaboutcode-org:mainfrom
immqu:deb-clarification

Conversation

@immqu
Copy link
Copy Markdown
Contributor

@immqu immqu commented Apr 22, 2026

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>
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.

1 participant