Skip to content

Commit fb20ec7

Browse files
Merge pull request #474 from SciML/ChrisRackauckas-patch-1
Simplify table extension
2 parents 24645c3 + daddcfb commit fb20ec7

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

Project.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1717
[weakdeps]
1818
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
1919
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
20-
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"
2120
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
2221
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
2322
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
@@ -37,7 +36,7 @@ RecursiveArrayToolsMonteCarloMeasurementsExt = "MonteCarloMeasurements"
3736
RecursiveArrayToolsReverseDiffExt = ["ReverseDiff", "Zygote"]
3837
RecursiveArrayToolsSparseArraysExt = ["SparseArrays"]
3938
RecursiveArrayToolsStructArraysExt = "StructArrays"
40-
RecursiveArrayToolsTablesExt = ["Tables", "IteratorInterfaceExtensions"]
39+
RecursiveArrayToolsTablesExt = ["Tables"]
4140
RecursiveArrayToolsTrackerExt = "Tracker"
4241
RecursiveArrayToolsZygoteExt = "Zygote"
4342

@@ -49,7 +48,6 @@ DocStringExtensions = "0.9"
4948
FastBroadcast = "0.2.8, 0.3"
5049
ForwardDiff = "0.10.19, 1"
5150
GPUArraysCore = "0.1.1, 0.2"
52-
IteratorInterfaceExtensions = "1"
5351
KernelAbstractions = "0.9.36"
5452
LinearAlgebra = "1.10"
5553
Measurements = "2.3"
@@ -95,4 +93,4 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
9593
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
9694

9795
[targets]
98-
test = ["Aqua", "FastBroadcast", "ForwardDiff", "IteratorInterfaceExtensions", "KernelAbstractions", "Measurements", "NLsolve", "Pkg", "Random", "SafeTestsets", "SciMLBase", "SparseArrays", "StaticArrays", "StructArrays", "Tables", "Test", "Unitful", "Zygote"]
96+
test = ["Aqua", "FastBroadcast", "ForwardDiff", "KernelAbstractions", "Measurements", "NLsolve", "Pkg", "Random", "SafeTestsets", "SciMLBase", "SparseArrays", "StaticArrays", "StructArrays", "Tables", "Test", "Unitful", "Zygote"]

ext/RecursiveArrayToolsTablesExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module RecursiveArrayToolsTablesExt
22

33
import RecursiveArrayTools: AbstractDiffEqArray, variable_symbols
44
import Tables
5-
import IteratorInterfaceExtensions
5+
import Tables: IteratorInterfaceExtensions
66

77
# Tables traits for AbstractDiffEqArray
88
Tables.istable(::Type{<:AbstractDiffEqArray}) = true

test/tabletraits.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using RecursiveArrayTools, Random, Test, Tables, IteratorInterfaceExtensions
2-
1+
using RecursiveArrayTools, Random, Test, Tables
32
include("testutils.jl")
43

54
Random.seed!(1234)

test/testutils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using RecursiveArrayTools
2-
using Tables, IteratorInterfaceExtensions
2+
using Tables
3+
using Tables: IteratorInterfaceExtensions
34

45
# Test Tables interface with row access + IteratorInterfaceExtensions for QueryVerse
56
# (see https://tables.juliadata.org/stable/#Testing-Tables.jl-Implementations)

0 commit comments

Comments
 (0)