ClassicalOrthogonalPolynomials.jl icon indicating copy to clipboard operation
ClassicalOrthogonalPolynomials.jl copied to clipboard

Ambiguities in ClassicalOrthogonalPolynomials and its dependencies

Open akirakyle opened this issue 9 months ago • 0 comments

I've submitted a PR to QuantumOptics.jl which replaces it's own implementation of Hermite polynomials with this package (https://github.com/qojulia/QuantumOpticsBase.jl/pull/137). However adding ClassicalOrthogonalPolynomials as a dependency caused the Aqua tests for ambiguities to break in QuantumOpticsBase due 150 ambiguities total brought in by ClassicalOrthogonalPolynomials and it's dependencies. This can be checked by running

julia> using Test
julia> using ClassicalOrthogonalPolynomials
julia> Test.detect_ambiguities(Base, Core)

The set of packages which produce ambiguities are:

  • ArrayLayouts
  • BandedMatrices
  • BlockArrays
  • BlockBandedMatrices
  • ClassicalOrthogonalPolynomials
  • ContinuumArrays
  • DomainSets
  • InfiniteArrays
  • Infinities
  • LazyArrays
  • QuasiArrays
  • SemiseparableMatrices

Unfortunately there does not appear to be a way to disable ambiguities on a per package basis. It appears all these packages are all under the JuliaApproximation, JuliaArrays, and JuliaMath organizations with overlapping developers so hopefully there's already some awareness of these ambiguities and maybe some plan to eventually fix them?

akirakyle avatar Sep 14 '23 01:09 akirakyle