Repository navigation
Conversation
luhenry
added a commit
that referenced
this pull request
Nov 9, 2026
ray[default]'s test-install resolves py-spy>=0.4.0 directly and cryptography>=38.0.3 transitively (opencensus -> google-api-core -> google-auth), both unbounded. PIP_EXTRA_INDEX_URL alone lets pip pick PyPI's newest release of each over our registry's riscv64 wheel, and both fail to source-build: py-spy 0.4.3 hits a rustc error in its own source, cryptography 50.0.2's openssl-sys can't find openssl.pc. PIP_ONLY_BINARY in CIBW_TEST_ENVIRONMENT (test-scoped only) makes pip pick the registry's highest wheel for each, which satisfies both specs.
cosmos_xenna/file_distribution/_file_distribution.py does a top-level import tqdm, but tqdm isn't declared anywhere in pyproject.toml (dependencies or any optional-dependencies group). Upstream's own uv.lock only carries tqdm in transitively, through huggingface-hub and transformers in the examples extra, which uv.lock pulls in by default. A plain pip install of the wheel never gets tqdm, so collection blows up as soon as pytest imports file_distribution (via pipelines.v1 and pipelines.private.pipelines), aborting all 21 test files that import it. This is an upstream packaging gap, but there's nothing to patch in our own install_requires here, so list tqdm explicitly for the test step. It's a pure Python (py3-none-any) wheel, so it installs fine from either index with no riscv64 build involved.
_publish-wheel.yml now requires a matrix input (main's "publish: Validate effective wheel targets"), but this PR branch forked before that landed and cosmos-xenna has never been merged to main, so build-cosmos-xenna.yml never picked up the matching one-line update every already-published package's workflow got. The merge ref combines the new required-input _publish-wheel.yml with this branch's old build-cosmos-xenna.yml, so every run has failed startup with "Input matrix is required, but not provided". Pass it the same way the mass-update commit did for every other package's publish job.
5 non-slow tests (test_batch_size_hang, test_batching, test_empty_return, test_serving, test_setup_on_node) failed with 'Not enough CPU resources to run pipeline' or a stalled queue read. cosmos_xenna's own tests scale their Ray resource requirements down via is_running_in_cicd(), which upstream's ci.yml enables by setting IS_RUNNING_IN_CICD=1 - but cibuildwheel's podman container doesn't forward that from the runner, so the tests used their full-size (non-CI) requirements against a 3-CPU cluster and asked for more than was available. Setting the same env var in CIBW_TEST_ENVIRONMENT restores upstream's own CI sizing.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cosmos-xenna0.5.11Compiles a single PyO3/maturin extension (
cosmos_xenna._cosmos_xenna, Ray pipeline scheduling, file distribution overobject_store) via a plain crates.io Cargo tree. Upstream publishes no riscv64 wheel.Mirrors the
build-wheelsjob of upstream'srelease-from-tag.yml.Differs from upstream
actions/setup-python+maturin-action, neither of which supports riscv64.Testing
--pyargs cosmos_xenna -m "not slow"- the test files already ship inside the wheel, so this runs them straight against the installed, compiled package;ray[default],obstore<0.9.0and the rest of the hard runtime dependencies resolve from the registry.pytest -m 'slow'CI step as disproportionate for a shared riscv64 runner.License: OK
Built on cp312-abi3 (also tested on cp313/cp314); CI pending.