Skip to content

Fix CI failures from #110 - #111

Merged
a-r-j merged 3 commits into
ci/update-workflow-actionsfrom
ci/fix-matrix-failures
Oct 30, 2026
Merged

a-r-j merged 3 commits into
ci/update-workflow-actionsfrom
ci/fix-matrix-failures

Conversation

@a-r-j

@a-r-j a-r-j commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Fixes the Build CPU failures on #110. Targets #110's branch so this merges into it.

With fail-fast turned off, the full matrix showed three separate causes:

  1. Poetry broke its own install (Linux and Windows). FileNotFoundError: ...virtualenv/activation/... while installing pytdc. Update CI workflow actions to latest versions #110 switched steps to a conda login shell, so poetry installed into the same env it runs from. The lockfile then downgraded virtualenv underneath it. Fix: replace setup-miniconda with actions/setup-python@v7. Conda was only providing the Python version. Poetry now uses its in-project .venv, which is also the path the cache step saves.
  2. No torch wheel for macOS. The lockfile pins torch 2.1.2+cpu, which has no macOS arm64 wheel. The README says macOS and Windows aren't officially supported, so the matrix now covers Linux only: Python 3.9 and 3.10 on ubuntu-latest.
  3. test_train_fast_dev_run failed with Name or service not known. RCSB retired mmtf.rcsb.org, and the dummy dataset downloads its structures in MMTF format. Fix: switch dummy.yaml to format: "pdb".

Also sets fail-fast: false so one Python version failing doesn't cancel the other.

CI on this branch: Build CPU (3.9) ✅ and Build CPU (3.10) ✅ (run).

Not addressed

14 other dataset configs (CATH, ccPDB, antibody developability, …) still use format: "mmtf". Fresh downloads for them will fail the same way. That changes user-facing data formats, so it's left for a separate PR.

🤖 Generated with Claude Code

a-r-j and others added 2 commits October 30, 2026 15:09
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Replace setup-miniconda with setup-python. Under a conda login shell
  poetry installed into its own environment and broke itself when the
  lockfile downgraded virtualenv (FileNotFoundError installing pytdc).
- Test on Linux only; README states macOS/Windows are unsupported and
  the lockfile pins torch 2.1.2+cpu, which has no macOS arm64 wheel.
- Switch the dummy dataset to PDB format: mmtf.rcsb.org has been
  retired and no longer resolves, failing test_train_fast_dev_run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Require Pillow >=13.0.0 and Python 3.11

Pillow 13 requires Python >=3.11, so raise the supported range from
>=3.9,<3.11 to >=3.11,<3.12 (torch 2.1.2 supports up to 3.11). Re-lock
with existing pins kept: pillow 10.2.0 -> 13.0.0, and drop the
async-timeout/exceptiongroup/importlib-resources backports. Update
classifiers, ruff/black targets, README and the CI matrix to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Remove torchdrug dependency from GearNet

torchdrug's last release (0.2.1, 2023) requires Python <3.11, so it
cannot be installed alongside Pillow 13. GearNet only used it for
utils.sparse_coo_tensor, an unchecked wrapper around
torch.sparse_coo_tensor, and data.Graph.from_tensors inside
_message_and_aggregate, which nothing calls. Use torch directly, drop
the dead method, and remove the install-torchdrug task and CI step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@a-r-j
a-r-j merged commit 232246a into ci/update-workflow-actions Oct 30, 2026
3 checks passed
a-r-j added a commit that referenced this pull request Oct 31, 2026
Resolve conflicts from #110 being squash-merged into main while its
branch continued (#111, #112). main's squash commit is identical to the
branch's own #110 commits, so keep the branch side throughout.

Co-Authored-By: Claude Opus 5.5 <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