Skip to content

Conversation

@adienes
Copy link
Member

@adienes adienes commented Jan 6, 2026

particularly important after #59500 so that ranges match vectors!

@adienes adienes added bugfix This change fixes an existing bug ranges Everything AbstractRange equality Issues relating to equality relations: ==, ===, isequal backport 1.13 Change should be backported to release-1.13 labels Jan 6, 2026
@adienes adienes changed the title order ranges by firstindex before by values (like vectors) compare ranges by firstindex before by values (like vectors) Jan 6, 2026
@adienes
Copy link
Member Author

adienes commented Jan 6, 2026

the old behavior is explicitly tested for, but I think those tests are incorrect, right?

@adienes adienes requested a review from jishnub January 6, 2026 18:20
@jishnub
Copy link
Member

jishnub commented Jan 6, 2026

This seems to have some overlap with #30950, although it's much smaller in scope. I fear this will be complicated and might be breaking. The axis of an axis is often ignored -- incorrectly -- but that behavior is ancient.

@adienes
Copy link
Member Author

adienes commented Jan 6, 2026

note the following consequence:

julia> using OffsetArrays

julia> a1 = OffsetArray(Int[], 4);

julia> a2 = OffsetArray(Int[], 5);

julia> a1 == a2, axes(a1) == axes(a2)
(true, true)

julia> cmp(a1, a2), cmp(axes(a1), axes(a2))
(-1, -1)

ancient or not, shouldn't we fix it?

@jishnub
Copy link
Member

jishnub commented Jan 8, 2026

Please go ahead by all means, I'm not vetoing this. I'll just be interested in a PkgEval run to see if this impacts the ecosystem.

@jishnub jishnub added the needs nanosoldier run This PR should have benchmarks run on it label Jan 8, 2026
@adienes
Copy link
Member Author

adienes commented Jan 8, 2026

@nanosoldier runtests()

@KristofferC KristofferC mentioned this pull request Jan 9, 2026
43 tasks
@nanosoldier
Copy link
Collaborator

The package evaluation job you requested has completed - possible new issues were detected.
The full report is available.

Report summary

❗ Packages that crashed

1 packages crashed only on the current version.

  • An internal error was encountered: 1 packages

242 packages crashed on the previous version too.

✖ Packages that failed

121 packages failed only on the current version.

  • Package fails to precompile: 91 packages
  • Illegal method overwrites during precompilation: 3 packages
  • Package has test failures: 17 packages
  • Package tests unexpectedly errored: 5 packages
  • Tests became inactive: 2 packages
  • Test duration exceeded the time limit: 3 packages

1994 packages failed on the previous version too.

✔ Packages that passed tests

6 packages passed tests only on the current version.

  • Other: 6 packages

4026 packages passed tests on the previous version too.

~ Packages that at least loaded

5 packages successfully loaded only on the current version.

  • Other: 5 packages

4010 packages successfully loaded on the previous version too.

➖ Packages that were skipped altogether

4 packages were skipped only on the current version.

  • Package could not be installed: 4 packages

897 packages were skipped on the previous version too.

@adienes
Copy link
Member Author

adienes commented Jan 10, 2026

@nanosoldier runtests(["MethodInspector", "LazyModules", "UnzipLoops", "AssociatedLegendrePolynomials", "OddEvenIntegers", "PaddedViews", "CatIndices", "OffsetArrays", "TypeUtils", "RunningQuantiles", "LocalFilters", "IntegralArrays", "GeometricSolutions", "DataFlowTasks", "LACosmic", "ArrayInterfaceOffsetArrays", "TiledIteration", "FFTViews", "HistogramThresholding", "Sixel", "ImageTransformations", "FoldRNA", "Groebner", "AxisKeys", "PSRDatabase", "ImageSmooth", "ImageFiltering", "BasicTextRender", "SPECTrecon", "TrainingPhantoms", "SMLMMetrics", "GeoArrayOps", "ImageMorphology", "ImageEdgeDetection", "HierarchicalTemporalMemory", "ImageIO", "CompactBasisFunctions", "Augmentor", "BackgroundMeshes", "ImageInpainting", "MRICompress", "SMLMFrameConnection", "ImageQualityIndexes", "QuantitativeSusceptibilityMappingTGV", "CellSegmentation", "DeepFry", "CloudCovErr", "SpmGrids", "InstrumentOperator", "Photometry", "SimSpin", "ImgCIFHandler", "UVITTools", "PulseInputDDM", "Regions", "Ditherings", "MPITestImages", "Eikonal", "HoloProcessing", "ChaoticEncryption", "RemBG", "ComplexPhasePortrait", "ImageProjectiveGeometry", "Radiomics", "GigaScatter", "BundlerIO", "OtsuThresholding", "ImageUtils", "SpaSM", "CoralBlox", "PerceptualColourMaps", "UnfoldSim", "WebToys", "ImageHashes", "OliveImages", "AIBECS", "FinEtoolsVoxelMesher", "Colocalization", "Fable", "PGFPlots", "ChemfilesViewer", "FaceDetection", "Mellan", "Basins", "CriticalDifferenceDiagrams", "Repotomata", "ElectroPhysiology", "MPIReco", "PhysiologyPlotting", "FatDatasets", "Jchemo", "BlobTracking", "IceFloeTracker", "MAGEMinApp", "PhysiologyAnalysis", "HeartRateVariability", "JHistint", "LineIntegralConvolution", "Javis", "OrbisChessEngine", "MRINavigator", "Ecosons", "HmtGutenberg", "HmtArchive", "Graphene", "UnfoldMakie", "Mads", "MiseEnPage", "CanDecomp", "Test", "NeuroAnalysis", "NTFk", "SmartML", "NTNk", "GeoThermalCloud", "FundamentalsNumericalComputation", "GasChromatographySystems"])

@nanosoldier
Copy link
Collaborator

The package evaluation job you requested has completed - possible new issues were detected.
The full report is available.

Report summary

✖ Packages that failed

61 packages failed only on the current version.

  • Package fails to precompile: 41 packages
  • Package has test failures: 15 packages
  • Package tests unexpectedly errored: 5 packages

52 packages failed on the previous version too.

✔ Packages that passed tests

4 packages passed tests on the previous version too.

@KristofferC KristofferC mentioned this pull request Feb 4, 2026
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.13 Change should be backported to release-1.13 bugfix This change fixes an existing bug equality Issues relating to equality relations: ==, ===, isequal needs nanosoldier run This PR should have benchmarks run on it ranges Everything AbstractRange

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants