-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zero dimensional BlockIndex
#431
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #431 +/- ##
==========================================
- Coverage 93.67% 0.00% -93.68%
==========================================
Files 18 18
Lines 1643 1630 -13
==========================================
- Hits 1539 0 -1539
- Misses 104 1630 +1526 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
You can see that there were some tests that were explicitly relying on the previous definition that |
I see there is a downstream test failure in The root cause of that seems to be that |
I see now that |
Do we know why the LazyArrays.jl test is failing? |
Co-authored-by: Sheehan Olver <[email protected]>
I don't know, but it seems to be failing in the same way in other PRs. It looks like an issue with how the |
Having it listed as both was necessary and standard to support Julia before extensions so that shouldn’t be the issue… |
I see. I see a few issues related to package extension loading in Julia 1.11 like JuliaLang/julia#55939 and JuliaLang/julia#56204 but I'm not sure if they are related. But also I see that LazyArrays.jl requires Julia 1.10 anyway so it seems like they can just be weakdeps now and the code logic https://github.com/JuliaArrays/LazyArrays.jl/blob/v2.2.1/src/LazyArrays.jl#L80-L85 can be removed. EDIT: I'm trying that out in JuliaArrays/LazyArrays.jl#347. |
I reran the LazyArrays.jl integration test now that JuliaArrays/LazyArrays.jl#347 is merged and registered but there is still an issue. Maybe the issue is being triggered because |
Many of these issues will be resolved in Julia v1.11.2. Could you check on that branch? Or perhaps we may wait for the release, which should be soon. |
I thought the lazyarrays extensions were rewritten to avoid this problem… |
I'm having trouble reproducing the issue locally so it is tough for me to test, JuliaArrays/LazyArrays.jl#347 was my best guess for a quick fix but it must be another issue. As @jishnub said, probably it is best to wait for Julia v1.11.2 to be released and rerun the tests against that version. |
You may test against Julia nightly meanwhile, as any feature being backported to v1.11 would be present on nightly |
Ok, I reran the downstream tests against nightly, and the LazyArrays.jl tests don't hit that same installation issue (one test fails for some unrelated issue, but at least the tests run). So that's a good indication that we can wait for the Julia v1.11.2 release and that will hopefully resolve this issue. I'll revert back to testing against the latest stable release, and I guess we can wait for that release to test again and then merge this. |
I've tried running the downstream tests against a few Julia versions at this point, here is the summary:
I haven't been able to reproduce this locally so I'm at a loss for how to proceed. @jishnub any suggestions? It seems like there is an issue in Julia v1.11.1 that is still in the v1.11.2 pre-release related to package extension loading. I would like to raise an issue about this to the Julia (or Pkg) Github repository but if I can't reproduce it locally I can't create a minimal reproducible example... |
I think just file an issue with a link to the CI failures showing the regression. It definitely seems like a Julia problem. |
If its independent of this PR then we can merge this |
Sounds good. I agree the issue is independent of this PR, let's merge this and I can start a new PR that just demonstrates the LazyArrays.jl loading issue and I'll make an issue on the Julia repo about it. |
As discussed in #431, this PR is meant to demonstrate an issue loading the LazyArraysBlockArraysExt package extension in Julia v1.11.1 and the v1.11.2 pre-release. As a summary, I've tried running the downstream tests against a few Julia versions, here are the results: - Julia v1.11.0: All tests pass. - Julia v1.11.1: LazyArrays.jl tests fail when LazyArraysBlockArraysExt is being loaded with the error "ERROR: LoadError: ArgumentError: Package LazyArraysBlockArraysExt does not have BlockArrays in its dependencies", all others pass. - [Julia v1.11.2 pre-release](https://discourse.julialang.org/t/julia-v1-11-2-testing-period/122943): LazyArrays.jl tests fail with the same error as in Julia v1.11.1, all others pass. I tested it by setting `1.11-nightly` in the workflow. - Julia nightly: The last time I checked LazyArrays.jl tests ran properly (so the original issue plaguing Julia v1.11.1 and v1.11.2 is fixed) but failed for another independent reason. I haven't been able to reproduce this locally so this PR is the best I could do to demonstrate the issue. It seems like there is an issue in Julia v1.11.1 that is still in the v1.11.2 pre-release related to package extension loading.
Fixes #430.
I bumped the minor package version since this is mildly breaking, though I think it would be strange if code was relying on the previous behavior and this PR could be considered a bug fix.
To-do: