Skip to content

Resolve DataStructures v0.19 deprecations#1003

Open
lukem12345 wants to merge 3 commits into
mainfrom
llm/ds19-deprecation
Open

Resolve DataStructures v0.19 deprecations#1003
lukem12345 wants to merge 3 commits into
mainfrom
llm/ds19-deprecation

Conversation

@lukem12345
Copy link
Copy Markdown
Member

@lukem12345 lukem12345 commented May 5, 2026

Updating local versions of GATlab, Compose, and Catlab to use DataStructures v0.19 reveals deprecation warnings when using the enqueue! and dequeue! operations on DataStructures.jl Queues. The new usage pattern as suggested by the warnings is to use push! and popfirst! from Base.

┌ Warning: `enqueue!(q::Queue, x)` is deprecated, use `Base.push!(q, x)` instead.
│   caller = connected_component_projection_bfs(g::Catlab.Graphs.BasicGraphs.Graph) at GraphCategories.jl:31
└ @ Core ~/.julia/packages/Catlab/7kAcA/src/categorical_algebra/setcats/GraphCategories.jl:31
┌ Warning: `dequeue!(q::Queue)` is deprecated, use `Base.popfirst!(q)` instead.
│   caller = connected_component_projection_bfs(g::Catlab.Graphs.BasicGraphs.Graph) at GraphCategories.jl:33
└ @ Core ~/.julia/packages/Catlab/7kAcA/src/categorical_algebra/setcats/GraphCategories.jl:33
┌ Warning: `enqueue!(q::Queue, x)` is deprecated, use `Base.push!(q, x)` instead.
│   caller = connected_component_projection_bfs(g::Catlab.Graphs.BasicGraphs.Graph) at GraphCategories.jl:36
└ @ Core ~/.julia/packages/Catlab/7kAcA/src/categorical_algebra/setcats/GraphCategories.jl:36

@lukem12345 lukem12345 self-assigned this May 5, 2026
@lukem12345
Copy link
Copy Markdown
Member Author

This would need to be merged pending the upstream PRs/ issues here:

graph

@lukem12345 lukem12345 marked this pull request as ready for review June 7, 2026 17:56
@lukem12345 lukem12345 changed the title Remove deprecated Queue operations Resolve DataStructures v0.19 deprecations Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant