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

pantsbuild / pants / 18987624565
80%

Build:
DEFAULT BRANCH: main
Ran 31 Oct 2025 11:43PM UTC
Jobs 12
Files 1716
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Oct 2025 11:28PM UTC coverage: 80.299% (+0.02%) from 80.275%
18987624565

push

github

web-flow
Allow setting Python resolve interpreter_constraints as defaults for targets (#22676)

Closes #22574 

This PR is intended to solve a long-felt annoyance of mine when working
in repos with multiple Python resolves, which is having to configure
resolve interpreter constraints and source interpreter constraints
separately. It adds a new option,
`[python].default_to_resolve_interpreter_constraints`, which when set to
true, tells Pants to use the interpreter constraints of the resolve,
rather than the global interpreter constraints, if no interpreter
constraints are provided. If resolves are not enabled or no interpreter
constraints are set for the resolve, it still falls back to the global
default.

71 of 95 new or added lines in 17 files covered. (74.74%)

2 existing lines in 2 files now uncovered.

77993 of 97128 relevant lines covered (80.3%)

3.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
54.15
0.0% src/python/pants/backend/python/dependency_inference/rules.py
1
58.14
0.0% src/python/pants/backend/python/lint/black/rules.py
1
92.31
15.68% src/python/pants/backend/python/lint/flake8/subsystem.py
1
92.16
15.84% src/python/pants/backend/python/lint/pylint/subsystem.py
1
86.71
3.01% src/python/pants/backend/python/subsystems/setup.py
2
39.05
0.29% src/python/pants/backend/python/target_types_rules.py
2
55.17
-3.45% src/python/pants/backend/python/util_rules/partition.py
15
59.46
src/python/pants/backend/python/lint/first_party_plugins.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
39.05
0.29% src/python/pants/backend/python/target_types_rules.py
1
55.17
-3.45% src/python/pants/backend/python/util_rules/partition.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_2/10 - 18987624565.1 31 Oct 2025 11:45PM UTC 1179
46.94
GitHub Action Run
2 test_python_linux_x86_64_1/10 - 18987624565.2 31 Oct 2025 11:49PM UTC 1176
40.24
GitHub Action Run
3 test_python_linux_arm64 - 18987624565.3 31 Oct 2025 11:45PM UTC 1161
43.22
GitHub Action Run
4 test_python_linux_x86_64_9/10 - 18987624565.4 31 Oct 2025 11:48PM UTC 1184
45.1
GitHub Action Run
5 test_python_linux_x86_64_7/10 - 18987624565.5 31 Oct 2025 11:55PM UTC 1183
42.71
GitHub Action Run
6 test_python_macos14_arm64 - 18987624565.6 31 Oct 2025 11:43PM UTC 1161
43.23
GitHub Action Run
7 test_python_linux_x86_64_5/10 - 18987624565.7 31 Oct 2025 11:45PM UTC 1193
48.17
GitHub Action Run
8 test_python_linux_x86_64_4/10 - 18987624565.8 31 Oct 2025 11:57PM UTC 1209
49.95
GitHub Action Run
9 test_python_linux_x86_64_0/10 - 18987624565.9 31 Oct 2025 11:49PM UTC 1197
45.54
GitHub Action Run
10 test_python_linux_x86_64_8/10 - 18987624565.10 31 Oct 2025 11:54PM UTC 1179
45.46
GitHub Action Run
11 test_python_linux_x86_64_3/10 - 18987624565.11 31 Oct 2025 11:51PM UTC 1176
45.66
GitHub Action Run
12 test_python_linux_x86_64_6/10 - 18987624565.12 31 Oct 2025 11:43PM UTC 1173
40.77
GitHub Action Run
Source Files on build 18987624565
  • Tree
  • List 1716
  • Changed 22
  • Source Changed 21
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18987624565
  • da3fb359 on github
  • Prev Build on main (#18980157268)
  • Next Build on main (#19001300729)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc