Conversation
connorjward
left a comment
There was a problem hiding this comment.
Can there be an equivalent PR into release that pins islpy?
Sure, I'll open it. |
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>
a56d0cd to
5c03143
Compare
|
@connorjward It seems that the right fix is to cap islpy on main too. Do we want two separate PRs? |
Why is it needed on |
|
While this might be a good short-term solution, can you work with upstream islpy/loopy to fix the issue? I had to open a PR on islpy (which then generated a new release 2026.2.1) to fix compatibility with nanobind 3.0, and if islpy gets pinned it won't have that fix. |
We cannot pin islpy and loopy to
|
I don't understand break 2 |
|
I think pinning islpy is a non-starter. We have to address this more fundamentally. If loopy |
I've opened a loopy issue inducer/loopy#1039. Contrary to what I said before I think we do have to pin islpy because I don't know the loopy fix and we need CI back up. |
|
Closing this one as #5378 has just been merged into release and will be carried over ASAP. |
islpy2026.2 removed the implicit conversion of aBasicSetto aSet.loopy2025.2 — the newest release, and whatloopy>2024.1resolves to — callsBasicSet.make_disjoint()incount_insn_runs, so every flop count in the test suite fails:loopy converts explicitly on main, but taking loopy from git is not an option yet: its
_AccessCheckMapper.map_subscriptasks for the dependencies of every shape axis without guardingNone, and PyOP2 builds args with an unknown leading axis (dat0hasshape=(None, 2)inwrap_to_reference_coords), sofiredrake-checkdies withDependencyMapperWithReductionInames encountered invalid foreign object: None.So cap islpy at the last version that still converts. With islpy 2026.1 and loopy 2025.2,
tests/tsfcandtests/firedrake/regression/test_locate_cell.pyare green locally.Lift the cap once loopy makes a release containing the explicit
to_set(). #5378 does the same forrelease.AI was used in preparing this contribution (Claude Code).
🤖 Generated with Claude Code