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

pantsbuild / pants / 20147226056
80%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 09:21PM UTC
Jobs 11
Files 1681
Run time 5min
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

11 Dec 2025 08:58PM UTC coverage: 78.827% (-1.5%) from 80.293%
20147226056

push

github

web-flow
Forwarded the `style` and `complete-platform` args from pants.toml to PEX (#22910)

## Context

After Apple switched to the `arm64` architecture, some package
publishers stopped releasing `x86_64` variants of their packages for
`darwin`. As a result, generating a universal lockfile now fails because
no single package version is compatible with both `x86_64` and `arm64`
on `darwin`.

The solution is to use the `--style` and `--complete-platform` flags
with PEX. For example:
```
pex3 lock create \
    --style strict \
    --complete-platform 3rdparty/platforms/manylinux_2_28_aarch64.json \
    --complete-platform 3rdparty/platforms/macosx_26_0_arm64.json \
    -r 3rdparty/python/requirements_pyarrow.txt \
    -o python-pyarrow.lock
```

See the Slack discussion here:
https://pantsbuild.slack.com/archives/C046T6T9U/p1760098582461759

## Reproduction

* `BUILD`
```
python_requirement(
    name="awswrangler",
    requirements=["awswrangler==3.12.1"],
    resolve="awswrangler",
)
```
* Run `pants generate-lockfiles --resolve=awswrangler` on macOS with an
`arm64` CPU
```
pip: ERROR: Cannot install awswrangler==3.12.1 because these package versions have conflicting dependencies.
pip: ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
pip:  
pip:  The conflict is caused by:
pip:      awswrangler 3.12.1 depends on pyarrow<18.0.0 and >=8.0.0; sys_platform == "darwin" and platform_machine == "x86_64"
pip:      awswrangler 3.12.1 depends on pyarrow<21.0.0 and >=18.0.0; sys_platform != "darwin" or platform_machine != "x86_64"
pip:  
pip:  Additionally, some packages in these conflicts have no matching distributions available for your environment:
pip:      pyarrow
pip:  
pip:  To fix this you could try to:
pip:  1. loosen the range of package versions you've specified
pip:  2. remove package versions to allow pip to attempt to solve the dependency conflict
```

## Implementation
... (continued)

77 of 100 new or added lines in 6 files covered. (77.0%)

868 existing lines in 42 files now uncovered.

74471 of 94474 relevant lines covered (78.83%)

3.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
86.09
-0.62% src/python/pants/backend/python/subsystems/setup.py
2
71.7
-0.33% src/python/pants/backend/python/util_rules/pex_requirements.py
8
50.0
-2.0% src/python/pants/backend/python/goals/lockfile.py
11
70.22
-26.51% src/python/pants/backend/python/util_rules/lockfile_metadata.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
99.27
-0.73% src/python/pants/backend/java/compile/javac_test.py
1
69.76
-0.24% src/python/pants/backend/javascript/package_json.py
1
50.0
-2.0% src/python/pants/backend/python/goals/lockfile.py
1
93.18
-1.14% src/python/pants/engine/goal.py
1
34.97
-0.16% src/python/pants/engine/internals/graph.py
1
90.91
-4.55% src/python/pants/vcs/hunk.py
2
87.88
-0.17% src/python/pants/engine/target.py
2
84.83
-1.38% src/python/pants/option/subsystem.py
2
88.06
-2.99% src/python/pants/util/collections.py
3
86.36
-13.64% src/python/pants/core/goals/resolves.py
4
87.69
-3.08% src/python/pants/core/util_rules/lockfile_metadata.py
6
35.34
-4.51% src/python/pants/core/util_rules/asdf.py
7
78.23
-4.76% src/python/pants/backend/python/subsystems/python_tool_base.py
7
87.11
-3.61% src/python/pants/engine/process.py
10
71.43
-14.29% src/python/pants/engine/internals/target_adaptor.py
11
73.91
-23.91% src/python/pants/pantsd/lock.py
12
0.0
-92.31% src/python/pants/backend/codegen/thrift/scrooge/java/symbol_mapper.py
12
0.0
-100.0% src/python/pants/backend/javascript/lint/prettier/skip_field.py
12
37.8
-9.45% src/python/pants/backend/nfpm/util_rules/sandbox.py
14
60.19
-13.59% src/python/pants/jvm/jar_tool/jar_tool.py
15
72.48
-10.07% src/python/pants/backend/helm/utils/yaml.py
15
0.0
-83.33% src/python/pants/backend/javascript/lint/prettier/subsystem.py
16
0.0
-47.06% src/python/pants/backend/codegen/python_format_string/k8s/rules.py
18
63.27
-36.73% src/python/pants/backend/build_files/fmt/ruff/integration_test.py
20
0.0
-64.52% src/python/pants/backend/go/goals/check.py
23
60.34
-39.66% src/python/pants/backend/tools/taplo/rules_integration_test.py
26
0.0
-81.25% src/python/pants/backend/codegen/python_format_string/target_types.py
27
0.0
-81.82% src/python/pants/backend/javascript/goals/tailor.py
31
0.0
-43.66% src/python/pants/backend/python/mixed_interpreter_constraints/py_constraints.py
32
0.0
-65.31% src/python/pants/backend/go/util_rules/coverage_output.py
33
0.0
-89.19% src/python/pants/backend/javascript/lint/prettier/rules.py
33
62.5
-31.73% src/python/pants/util/ordered_set.py
34
0.0
-36.17% src/python/pants/backend/go/util_rules/coverage_html.py
34
0.0
-77.27% src/python/pants/backend/terraform/goals/check.py
37
27.78
-51.39% src/python/pants/backend/go/conftest.py
37
70.22
-26.51% src/python/pants/backend/python/util_rules/lockfile_metadata.py
41
61.24
-23.03% src/python/pants/core/util_rules/external_tool.py
43
0.0
-79.63% src/python/pants/backend/codegen/thrift/scrooge/java/rules.py
44
83.66
-8.56% src/python/pants/help/help_info_extracter.py
47
0.0
-77.05% src/python/pants/backend/helm/lint/trivy/rules.py
56
35.42
-58.33% src/python/pants/backend/build_files/fix/deprecations/renamed_fields_rules.py
96
0.0
-62.34% testprojects/pants-plugins/src/python/python_constant/target_types.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_6/10 - 20147226056.1 11 Dec 2025 09:21PM UTC 1183
40.78
GitHub Action Run
2 test_python_linux_x86_64_1/10 - 20147226056.2 11 Dec 2025 09:26PM UTC 1186
40.2
GitHub Action Run
3 test_python_linux_x86_64_4/10 - 20147226056.3 11 Dec 2025 09:37PM UTC 1219
49.8
GitHub Action Run
4 test_python_macos14_arm64 - 20147226056.4 11 Dec 2025 09:24PM UTC 1170
43.09
GitHub Action Run
5 test_python_linux_x86_64_9/10 - 20147226056.5 11 Dec 2025 09:24PM UTC 1193
44.9
GitHub Action Run
6 test_python_linux_arm64 - 20147226056.6 11 Dec 2025 09:25PM UTC 1170
43.09
GitHub Action Run
7 test_python_linux_x86_64_3/10 - 20147226056.7 11 Dec 2025 09:28PM UTC 1185
45.52
GitHub Action Run
8 test_python_linux_x86_64_7/10 - 20147226056.8 11 Dec 2025 09:32PM UTC 1192
42.57
GitHub Action Run
9 test_python_linux_x86_64_5/10 - 20147226056.9 11 Dec 2025 09:23PM UTC 1201
49.17
GitHub Action Run
10 test_python_linux_x86_64_0/10 - 20147226056.10 11 Dec 2025 09:30PM UTC 1207
46.82
GitHub Action Run
11 test_python_linux_x86_64_8/10 - 20147226056.11 11 Dec 2025 09:33PM UTC 1188
45.25
GitHub Action Run
Source Files on build 20147226056
  • Tree
  • List 1681
  • Changed 11
  • Source Changed 8
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20147226056
  • 3a34d021 on github
  • Prev Build on main (#20040415697)
  • Next Build on main (#20253251567)
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