fix PyG package resolution for pixi and uv - #1
Merged
Conversation
Limit pixi PyG generation to linux-64 and add uv source configuration so PyG wheels resolve from the correct indexes.
Keep osx-arm64 support for non-PyG pixi projects and add CI coverage for both the non-PyG and PyG pixi template branches.
Switch the pixi PyG template to pixi-specific pypi-options and fix the workflow grep checks to match the rendered output reliably.
Use feature-scoped pixi pypi-options with an explicit PyPI index so the PyG wheel links supplement, rather than replace, normal package resolution.
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.
Summary
tool.uv.sourcesentries so uv resolves PyG support packages from the explicit PyG wheel indextool.uv.find-linksin the pixi+PyG path so pixi/uv can discover pre-built PyG wheelsTest Plan
uvx copier copy --trust --skip-tasks --defaults . /tmp/test-defaultspython3 -c \"import tomllib; tomllib.loads(open('/tmp/test-defaults/pyproject.toml').read()); print('OK: valid TOML')\"uvx copier copy --trust --skip-tasks --defaults --data package_manager=pixi --data use_pytorch_geometric=true . /tmp/test-final-pixigrep -E \"platforms|find-links|tool\\.uv\\]\" /tmp/test-final-pixi/pyproject.tomluvx copier copy --trust --skip-tasks --defaults --data package_manager=uv --data use_pytorch_geometric=true . /tmp/test-final-uvgrep -E \"tool\\.uv\\.sources|pytorch-geometric|torch-scatter\" /tmp/test-final-uv/pyproject.toml🤖 Generated with Claude Code