Skip to content

AlphaFold3_of3: fix install on Colab's Python 3.13 runtime - #849

Open
sokrypton wants to merge 1 commit into
mainfrom
af3-cp313-wheel
Open

AlphaFold3_of3: fix install on Colab's Python 3.13 runtime#849
sokrypton wants to merge 1 commit into
mainfrom
af3-cp313-wheel

Conversation

@sokrypton

Copy link
Copy Markdown
Owner

Colab moved its default runtime to Python 3.13 on 2026-08-25 (colabtools#6081), which broke the install cell:

ERROR: alphafold3_open-3.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
is not a supported wheel on this platform.

The cell hardcoded the cp312 wheel filename. cp312 is ABI-specific (pybind11 extension, not abi3), so pip on 3.13 correctly rejects it.

Fix

  • derive the interpreter tag from sys.version_info instead of hardcoding cp312
  • prefer the GitHub release manifest, matching the asset on the interpreter tag, so a changed platform tag still resolves; fall back to the URL template if the API call fails
  • pin alphafold3-open v3.1.5, the first release shipping a cp313 wheel (Build cp313 wheels for Colab's Python 3.13 runtime alphafold3#5)

Verified: v3.1.5 ships both wheels with identical platform tags, and the cp313 URL returns HTTP 200.

alphafold3_open-3.1.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
alphafold3_open-3.1.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

The rest of the stack already had cp313 wheels (jaxlib/jax-cuda12-plugin 0.10.1, rdkit 2025.9.4; jax/dm-haiku/tokamax are pure-Python), so no other pins needed changing.

🤖 Generated with Claude Code

Colab moved its default runtime to Python 3.13 on 2026-08-25, and the
install cell hardcoded the cp312 wheel filename, so pip rejected it with
"not a supported wheel on this platform".

Derive the interpreter tag from sys.version_info instead, preferring the
release manifest so a changed platform tag still resolves, and pin
alphafold3-open v3.1.5 (the first release shipping a cp313 wheel).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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