• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 21603988154

02 Feb 2026 07:17PM UTC coverage: 80.262% (+0.5%) from 79.722%
21603988154

push

github

web-flow
external tool upgrade: support constraints on added versions (#23043)

I often find myself wanting to do do something other than upgrading to
the absolute latest. For example, I might want to add the latest in a
patch series in hold back from a major semver change. This adds a
--version-constraint argument to help assist with those situations.

The default behavior is unchanged.

Notable limitations:
* Using packaging here, so not every idiosyncratic tool versioning
scheme is necessarily understood.
* There isn't a fast way to get an index of "all" the GitHub releases,
so there are heuristics and a flag around how many to consider.

70 of 102 new or added lines in 2 files covered. (68.63%)

7 existing lines in 3 files now uncovered.

78321 of 97582 relevant lines covered (80.26%)

3.09 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.25
/src/python/pants/testutil/python_interpreter_selection.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc