Skip to content
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

Tests failing on Julia v1.11 #942

Closed
epatters opened this issue Oct 11, 2024 · 0 comments · Fixed by #943
Closed

Tests failing on Julia v1.11 #942

epatters opened this issue Oct 11, 2024 · 0 comments · Fixed by #943

Comments

@epatters
Copy link
Member

epatters commented Oct 11, 2024

The errors are happening in CI and I can also reproduce them locally.

CSets: Error During Test at /home/runner/work/Catlab.jl/Catlab.jl/test/categorical_algebra/CSets.jl:350
  Test threw exception
  Expression: ob(terminal(VELabeledGraph; loose = true)) == cycle_graph(VELabeledGraph{Tuple{}}, 1; E = (; elabel = [()]), V = (; vlabel = [()]))
  MethodError: no method matching limit(::Type{Tuple{Main.TestCategoricalAlgebra.TestCSets.VELabeledGraph, Catlab.CategoricalAlgebra.CSets.LooseACSetTransformation}}, ::Catlab.CategoricalAlgebra.FreeDiagrams.EmptyDiagram{Main.TestCategoricalAlgebra.TestCSets.VELabeledGraph, Catlab.CategoricalAlgebra.CSets.LooseACSetTransformation, StaticArraysCore.SVector{0, Main.TestCategoricalAlgebra.TestCSets.VELabeledGraph}})
  The function `limit` exists, but no method is defined for this combination of argument types.
  
  Closest candidates are:
    limit(::Type{Tuple{ACS, Hom}}, ::Any; product_attrs) where {S, Ts, ACS<:(ACSets.DenseACSets.StructACSet{S, Ts}), Hom<:Catlab.CategoricalAlgebra.CSets.LooseACSetTransformation}
     @ Catlab ~/work/Catlab.jl/Catlab.jl/src/categorical_algebra/CSets.jl:837
    limit(::Any, ::Nothing; kw...)
     @ Catlab ~/work/Catlab.jl/Catlab.jl/src/categorical_algebra/Limits.jl:133
    limit(::Type{<:Tuple{ACS, Catlab.CategoricalAlgebra.CSets.CSetTransformation}}, ::Any; attrfun) where {S, ACS<:(ACSets.DenseACSets.StructACSet{S})}
     @ Catlab ~/work/Catlab.jl/Catlab.jl/src/categorical_algebra/CSets.jl:814
    ...

Also:

 CSets: Test Failed at /home/runner/work/Catlab.jl/Catlab.jl/test/categorical_algebra/HomSearch.jl:157
  Expression: homomorphism(K₆, K₆, any = true) != homomorphism(K₆, K₆; any = true, random = true)
   Evaluated: ACSetTransformation((V = FinFunction([1, 2, 3, 4, 5, 6], 6, 6), E = FinFunction([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 30, 30)), Catlab.Graphs.BasicGraphs.SymmetricGraph {V:6, E:30}, Catlab.Graphs.BasicGraphs.SymmetricGraph {V:6, E:30}) != ACSetTransformation((V = FinFunction([1, 2, 3, 4, 5, 6], 6, 6), E = FinFunction([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 30, 30)), Catlab.Graphs.BasicGraphs.SymmetricGraph {V:6, E:30}, Catlab.Graphs.BasicGraphs.SymmetricGraph {V:6, E:30})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant