Skip to content

Commit 0cdfd8a

Browse files
Merge pull request #239 from SciML/ap/deps
Remove Packages that are no longer needed in 1.10
2 parents b79f2e1 + 0f21d64 commit 0cdfd8a

File tree

5 files changed

+11
-15
lines changed

5 files changed

+11
-15
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
- Core
2121
version:
2222
- '1'
23-
- '1.6'
2423
steps:
2524
- uses: actions/checkout@v4
2625
- uses: julia-actions/setup-julia@v1

.github/workflows/Downstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
GROUP: ${{ matrix.package.group }}
1414
strategy:
1515
matrix:
16-
julia-version: [1,1.6]
16+
julia-version: [1]
1717
os: [ubuntu-latest]
1818
package:
1919
- {user: SciML, repo: SciMLBase.jl, group: InterfaceII}

Project.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
name = "SciMLOperators"
22
uuid = "c0aeaf25-5076-4817-a8d5-81caf7dfa961"
33
authors = ["Vedant Puri <[email protected]>"]
4-
version = "0.3.7"
4+
version = "0.3.8"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
88
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
9-
Lazy = "50d2b5c4-7a5e-59d5-8109-a42b560f39c0"
109
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
10+
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
1111
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
1212
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1313
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
14-
Tricks = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
1514

1615
[compat]
1716
ArrayInterface = "7"
1817
DocStringExtensions = "0.8, 0.9"
19-
Lazy = "0.15"
2018
LinearAlgebra = "1.6"
19+
MacroTools = "0.5"
2120
Setfield = "0.8, 1"
22-
StaticArraysCore = "1"
2321
SparseArrays = "1.6"
24-
Tricks = "0.1.6"
25-
julia = "1.6"
22+
StaticArraysCore = "1"
23+
julia = "1.10"

src/SciMLOperators.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ using LinearAlgebra
99
import SparseArrays
1010
import StaticArraysCore
1111
import ArrayInterface
12-
import Tricks: static_hasmethod
13-
import Lazy: @forward
12+
import MacroTools: @forward
1413
import Setfield: @set!
1514

1615
# overload

src/func.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,15 @@ function FunctionOperator(op,
265265
# evaluation signatures
266266

267267
_isinplace = if isinplace === nothing
268-
Val(static_hasmethod(op, typeof((output, input, p, _t))))
268+
Val(hasmethod(op, typeof((output, input, p, _t))))
269269
elseif isinplace isa Bool
270270
Val(isinplace)
271271
else
272272
isinplace
273273
end
274274

275275
_outofplace = if outofplace === nothing
276-
Val(static_hasmethod(op, typeof((input, p, _t))))
276+
Val(hasmethod(op, typeof((input, p, _t))))
277277
elseif outofplace isa Bool
278278
Val(outofplace)
279279
else
@@ -342,7 +342,7 @@ end
342342

343343
@inline __has_mul5(::Nothing, y, x, p, t) = Val(true)
344344
@inline function __has_mul5(f::F, y, x, p, t) where {F}
345-
return Val(static_hasmethod(f, typeof((y, x, p, t, t, t))))
345+
return Val(hasmethod(f, typeof((y, x, p, t, t, t))))
346346
end
347347
@inline __and_val(vs...) = mapreduce(_unwrap_val, *, vs)
348348

@@ -542,7 +542,7 @@ function Base.resize!(L::FunctionOperator, n::Integer)
542542
end
543543

544544
for op in getops(L)
545-
if static_hasmethod(resize!, typeof((op, n)))
545+
if hasmethod(resize!, typeof((op, n)))
546546
resize!(op, n)
547547
end
548548
end

0 commit comments

Comments
 (0)