Skip to content

Accept abbreviated upper bounds in version ranges - #699

Open
adrien-cotte wants to merge 1 commit into
envmodules:mainfrom
adrien-cotte:issue-698-upper-bound
Open

adrien-cotte wants to merge 1 commit into
envmodules:mainfrom
adrien-cotte:issue-698-upper-bound

Conversation

@adrien-cotte

Copy link
Copy Markdown
Contributor

Range matching already includes more precise versions of an abbreviated upper bound, but parsing rejects ranges whose lower bound extends that upper bound. Allow these ranges so callers can constrain a minimum version to the same major or minor version without inventing an upper limit.

Fixes #698

Assisted-by: Codex:gpt-6-astra

Range matching already includes more precise versions of an abbreviated
upper bound, but parsing rejects ranges whose lower bound extends that
upper bound. Allow these ranges so callers can constrain a minimum version
to the same major or minor version without inventing an upper limit.

Fixes envmodules#698

Assisted-by: Codex:gpt-6-astra
Signed-off-by: Adrien Cotte <adrien.cotte@asplus.fr>
@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Allow major-version upper bounds in version ranges

1 participant