Skip to content

Cap islpy below 2026.2 on release - #5378

Merged
connorjward merged 3 commits into
releasefrom
pbrubeck/cap-islpy
Aug 24, 2026
Merged

Cap islpy below 2026.2 on release#5378
connorjward merged 3 commits into
releasefrom
pbrubeck/cap-islpy

Conversation

@pbrubeck

Copy link
Copy Markdown
Contributor

islpy 2026.2 removed the implicit conversion of a BasicSet to a Set. loopy 2025.2 — the newest release, and what loopy>2024.1 resolves to — calls BasicSet.make_disjoint() in count_insn_runs, so every flop count in the test suite fails:

AttributeError: 'islpy._isl.BasicSet' object has no attribute 'make_disjoint'

islpy 2026.2.1 was published on 2026-08-22, after the last CI run on this branch, so release has not hit this yet — but the next run will, and so will anyone installing a released Firedrake today.

main takes loopy from git instead (#5377). That is not appropriate here, where every dependency is a released version, so cap islpy at the last one that still converts. With islpy 2026.1 and loopy 2025.2, tests/tsfc is 369 passed locally (run against main's copy of those tests, which is the same loopy/islpy interaction).

Lift the cap once loopy makes a release containing the explicit to_set().


AI was used in preparing this contribution (Claude Code).

🤖 Generated with Claude Code

islpy 2026.2 removed the implicit conversion of a BasicSet to a Set, so
loopy 2025.2 raises AttributeError from count_insn_runs when it reaches
BasicSet.make_disjoint, and every flop count in the test suite fails.

loopy has released nothing since, so hold islpy at the last version that
still converts. Lift the cap once loopy releases the fix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Comment thread pyproject.toml Outdated
@pbrubeck pbrubeck changed the title Cap islpy below 2026.2 Cap islpy below 2026.2 on release Aug 24, 2026
@connorjward
connorjward merged commit 59f5a18 into release Aug 24, 2026
5 of 6 checks passed
@connorjward
connorjward deleted the pbrubeck/cap-islpy branch August 24, 2026 15:52
pbrubeck added a commit that referenced this pull request Aug 25, 2026
The latest release breaks loopy.

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk>
pbrubeck added a commit that referenced this pull request Aug 26, 2026
The latest release breaks loopy.

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk>
nwng04 pushed a commit that referenced this pull request Aug 27, 2026
The latest release breaks loopy.

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk>
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.

2 participants