Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate potential wheels change #431

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Dec 2, 2024

@huonw
Copy link
Contributor Author

huonw commented Dec 2, 2024

Looks like this fails for real on macOS arm64:

>> Verifying --python-repos-repos is used prior to Pants 2.13 (no warnings should be issued by Pants)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 11.8 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.3/819.3 kB 14.7 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement pantsbuild.pants==2.12.1 (from versions: 0.0.17, 0.0.18, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.24, 0.0.25, 0.0.26, 0.0.27, 0.0.28, 0.0.29, 0.0.30, 0.0.31, 0.0.32, 0.0.33, 0.0.34, 0.0.35, 0.0.36, 0.0.37, 0.0.38, 0.0.39, 0.0.40, 0.0.41, 0.0.42, 0.0.43, 0.0.44, 0.0.45, 0.0.46, 0.0.47, 0.0.48, 0.0.49, 0.0.50, 0.0.51, 0.0.52, 0.0.53, 0.0.54, 0.0.55, 0.0.56, 0.0.57, 0.0.58, 0.0.59, 0.0.60, 0.0.61, 0.0.62, 0.0.63, 0.0.64, 0.0.65, 0.0.66, 0.0.67, 0.0.68, 0.0.69, 0.0.70, 0.0.71, 0.0.72, 0.0.73, 0.0.74, 0.0.75, 0.0.76, 0.0.77, 0.0.79, 0.0.80, 0.0.81, 0.0.82, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0)
ERROR: No matching distribution found for pantsbuild.pants==2.12.1
Bootstrapping Pants 2.12.1
Installing pantsbuild.pants==2.12.1 into a virtual environment at /Users/gha/Library/Caches/nce/cdc459acab69a7c76b4d1bfd9e7c1f23eb078a17c1590ff26ca44ebb8ed8714b/bindings/venvs/2.12.1
Install failed: Command '['/Users/gha/Library/Caches/nce/cdc459acab69a7c76b4d1bfd9e7c1f23eb078a17c1590ff26ca44ebb8ed8714b/bindings/venvs/2.12.1/bin/python', '-sE', '-m', 'pip', '--disable-pip-version-check', '--no-python-version-warning', '--log', '/Users/gha/Library/Caches/nce/cdc459acab69a7c76b4d1bfd9e7c1f23eb078a17c1590ff26ca44ebb8ed8714b/bindings/venvs/2.12.1/pants-install.log', 'install', '--quiet', '--find-links', 'file:///Users/gha/Library/Caches/nce/cdc459acab69a7c76b4d1bfd9e7c1f23eb078a17c1590ff26ca44ebb8ed8714b/bindings/find_links/2.12.1/d7089b54/index.html', '--progress-bar', 'off', 'pantsbuild.pants==2.12.1']' returned non-zero exit status 1.
More information can be found in the log at: /Users/gha/Library/Caches/nce/cdc459acab69a7c76b4d1bfd9e7c1f23eb078a17c1590ff26ca44ebb8ed8714b/bindings/logs/install.log

Error: Failed to establish atomic directory /Users/gha/Library/Caches/nce/cdc459acab69a7c76b4d1bfd9e7c1f23eb078a17c1590ff26ca44ebb8ed8714b/locks/install-03a629bdc132a2090c75013156f1ef655545f27c78ab364c130669e3b0f28122. Population of work directory failed: Boot binding command failed: exit status: 1

Isolates your Pants from the elements.

Please select from the following boot commands:

<default> (when SCIE_BOOT is not set in the environment)  Detects the current Pants installation and launches it.
bootstrap-tools                                           Introspection tools for the Pants bootstrap process.
update                                                    Update scie-pants.

You can select a boot command by setting the SCIE_BOOT environment variable.
thread 'main' panicked at package/src/test.rs:412:6:
called `Result::unwrap()` on an `Err` value: Command PANTS_VERSION="2.12.1" "/Users/gha/actions-runner/_work/scie-pants/scie-pants/target/debug/build/package-7dd09250d4fb8087/out/dist/scie-pants/scie-pants-macos-aarch64" "--no-verify-config" "-V" failed with exit code: Some(1)
STDOUT not captured.
STDERR not captured.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

There's some potentially spurious failures on macOS & Linux x86-64 (doing another CI run to verify).

@huonw
Copy link
Contributor Author

huonw commented Dec 2, 2024

(Did some more tests but ran out of time to summarise today.)

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.

2 participants