Skip to content

Support comma-separated AND constraints in hex range parsing#11

Merged
andrew merged 1 commit intomainfrom
hex-comma-separated-ranges
Mar 5, 2026
Merged

Support comma-separated AND constraints in hex range parsing#11
andrew merged 1 commit intomainfrom
hex-comma-separated-ranges

Conversation

@andrew
Copy link
Owner

@andrew andrew commented Mar 5, 2026

The hex parser only recognized and as a conjunction keyword, but advisory databases commonly normalize ranges to comma-separated format like >= 3.6.3, <= 3.7.0. This caused those ranges to be parsed as a single malformed constraint rather than two intersected constraints.

The hex parser only recognized "and" as a conjunction keyword, but
advisory databases commonly normalize ranges to comma-separated format
like ">= 3.6.3, <= 3.7.0". This caused those ranges to be parsed as
a single malformed constraint rather than two intersected constraints.
@andrew andrew merged commit 9180835 into main Mar 5, 2026
2 checks passed
@andrew andrew deleted the hex-comma-separated-ranges branch March 5, 2026 11:47
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