Skip to content

Conversation

JamesWrigley
Copy link
Contributor

Previously the code would temporarily store the dimension => lookup mapping in a Dict, but that doesn't maintain insertion order. So later on it was possible for the DimArray to be created with the dimensions in the wrong order, which would cause an exception.

I think it would be good to get this in a release soon-ish since it's quite a serious bug, e.g. if a square matrix is being loaded then the dimensions could get applied in the wrong order and other cases may just fail.

Previously the code would temporarily store the dimension => lookup mapping in a
Dict, but that doesn't maintain insertion order. So later on it was possible for
the DimArray to be created with the dimensions in the wrong order, which would
cause an exception.
Copy link

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.44%. Comparing base (87a0b40) to head (87c2f16).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #971      +/-   ##
==========================================
+ Coverage   83.35%   83.44%   +0.09%     
==========================================
  Files          54       54              
  Lines        5154     5154              
==========================================
+ Hits         4296     4301       +5     
+ Misses        858      853       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@felixcremer
Copy link
Collaborator

The nightly failures seem to come from ERROR: LoadError: syntax: World age increment not at top level from other packages.

@asinghvi17
Copy link
Collaborator

It's PrecompileTools.jl, JuliaLang/PrecompileTools.jl#58

fix is on the way

@rafaqz
Copy link
Owner

rafaqz commented Apr 9, 2025

And Makie is breaking the docs again

@asinghvi17
Copy link
Collaborator

It's AoG this time 😭

@lazarusA
Copy link
Collaborator

lazarusA commented Apr 9, 2025

And Makie is breaking the docs again

should be easy to fix. I can take a look tomorrow if someone else doesn't beat me to it 😄 .

@jpthiele
Copy link

Precompile issue in HTTP.jl is fixed in main revision JuliaWeb/HTTP.jl#1218
so the nightly CI issue will be resolved with the next release.

@lazarusA
Copy link
Collaborator

triggering CI to see if JuliaLang/PrecompileTools.jl#60 and MakieOrg/AlgebraOfGraphics.jl#646 fixed the issues.

@rafaqz
Copy link
Owner

rafaqz commented Apr 11, 2025

Ok it's just nightly, we can ignore that for now. Thanks everyone I'll merge an bump a patch version

@rafaqz rafaqz merged commit 6dd52f7 into rafaqz:main Apr 11, 2025
21 of 25 checks passed
@JamesWrigley JamesWrigley deleted the xarray branch April 11, 2025 09:50
felixcremer pushed a commit to felixcremer/DimensionalData.jl that referenced this pull request Jul 4, 2025
…z#971)

Previously the code would temporarily store the dimension => lookup mapping in a
Dict, but that doesn't maintain insertion order. So later on it was possible for
the DimArray to be created with the dimensions in the wrong order, which would
cause an exception.
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.

6 participants