Skip to content

fix PyG package resolution for pixi and uv - #1

Merged
nishide-dev merged 4 commits into
mainfrom
fix/pyg-pixi-fix
Apr 23, 2026
Merged

fix PyG package resolution for pixi and uv#1
nishide-dev merged 4 commits into
mainfrom
fix/pyg-pixi-fix

Conversation

@nishide-dev

Copy link
Copy Markdown
Owner

Summary

  • limit pixi workspace generation to linux-64 when using the CUDA-based template path
  • add tool.uv.sources entries so uv resolves PyG support packages from the explicit PyG wheel index
  • add tool.uv.find-links in the pixi+PyG path so pixi/uv can discover pre-built PyG wheels

Test Plan

  • uvx copier copy --trust --skip-tasks --defaults . /tmp/test-defaults
  • python3 -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-pixi
  • grep -E \"platforms|find-links|tool\\.uv\\]\" /tmp/test-final-pixi/pyproject.toml
  • uvx copier copy --trust --skip-tasks --defaults --data package_manager=uv --data use_pytorch_geometric=true . /tmp/test-final-uv
  • grep -E \"tool\\.uv\\.sources|pytorch-geometric|torch-scatter\" /tmp/test-final-uv/pyproject.toml

🤖 Generated with Claude Code

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.
@nishide-dev
nishide-dev merged commit 842230b into main Apr 23, 2026
34 checks passed
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.

1 participant