Skip to content

Install graph_longrange from PyPI - #1751

Open
aacostadiaz wants to merge 2 commits into
ACEsuit:developfrom
aacostadiaz:chore/graph-longrange-pypi
Open

aacostadiaz wants to merge 2 commits into
ACEsuit:developfrom
aacostadiaz:chore/graph-longrange-pypi

Conversation

@aacostadiaz

@aacostadiaz aacostadiaz commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

graph_longrange is now on PyPI, so the polar extension no longer needs a git dependency.

  • requirements/polar.txt installs graph_longrange==0.4.4. CI keeps an exact pin, as it had with the commit SHA.
  • A new polar extra in setup.cfg (graph_longrange>=0.4.4,<0.5) lets users run pip install mace-torch[polar].
  • The ImportError raised by PolarMACE points to that extra instead of the GitHub repository.

The 0.4.4 wheel is identical, file for file, to commit 6a86de5 (tag v0.4.4), which was the previous pin. Behaviour should not change.


Note

Low Risk
Packaging and error-message changes only; CI still pins 0.4.4 and runtime polar behavior is unchanged.

Overview
Switches the polar extension’s graph_longrange dependency from a pinned Git URL to PyPI, without changing the resolved artifact (still 0.4.4, matching the previous commit pin).

requirements/polar.txt now installs graph_longrange==0.4.4 for CI. setup.cfg adds a polar extra (graph_longrange>=0.4.4,<0.5) so users can install via pip install mace-torch[polar].

PolarMACE ImportError text points at that extra instead of the old GitHub repo. pyproject.toml and feature_inventory.md are updated to document the new extra and the simplified polar pytest marker wording.

Reviewed by Cursor Bugbot for commit 4784cf4. Bugbot is set up for automated code reviews on this repo. Configure here.

graph_longrange 0.4.4 is now published on PyPI and its wheel is file for
file identical to the commit requirements/polar.txt pinned. CI installs the
exact release, and a new polar extra gives users pip install
mace-torch[polar].
@aacostadiaz
aacostadiaz deployed to gpu-internal October 6, 2026 11:28 — with GitHub Actions Active
@aacostadiaz
aacostadiaz deployed to gpu-internal October 6, 2026 11:29 — with GitHub Actions Active
@aacostadiaz
aacostadiaz deployed to gpu-internal October 6, 2026 11:29 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
gpu-internal — 4784cf4e Deployed Oct 6, 2026 by aacostadiaz via gpu-amd #653
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