Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Commit 7649c80

Browse files
committed
Move ForwardDiff and FiniteDiff into extensions
1 parent 5afc4ba commit 7649c80

17 files changed

+346
-444
lines changed

Manifest.toml

+12-195
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.10.1"
44
manifest_format = "2.0"
5-
project_hash = "fd7dd831d23cbd09082d4fbd447d505786d32a50"
5+
project_hash = "0f8351b22e508389e9e69531474eb9c04e478a60"
66

77
[[deps.ADTypes]]
88
git-tree-sha1 = "41c37aa88889c171f1300ceac1313c06e891d245"
@@ -21,10 +21,6 @@ version = "4.0.1"
2121
[deps.Adapt.weakdeps]
2222
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2323

24-
[[deps.ArgTools]]
25-
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
26-
version = "1.1.1"
27-
2824
[[deps.ArrayInterface]]
2925
deps = ["Adapt", "LinearAlgebra", "Requires", "SparseArrays", "SuiteSparse"]
3026
git-tree-sha1 = "c5aeb516a84459e0318a02507d2261edad97eb75"
@@ -58,12 +54,6 @@ git-tree-sha1 = "0eee5eb66b1cf62cd6ad1b460238e60e4b09400c"
5854
uuid = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2"
5955
version = "0.2.4"
6056

61-
[[deps.CommonSubexpressions]]
62-
deps = ["MacroTools", "Test"]
63-
git-tree-sha1 = "7b8a93dba8af7e3b42fecabf646260105ac373f7"
64-
uuid = "bbf7d656-a473-5ed7-a52c-81e309532950"
65-
version = "0.3.0"
66-
6757
[[deps.CompilerSupportLibraries_jll]]
6858
deps = ["Artifacts", "Libdl"]
6959
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
@@ -102,18 +92,6 @@ version = "1.0.0"
10292
deps = ["Printf"]
10393
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
10494

105-
[[deps.DiffResults]]
106-
deps = ["StaticArraysCore"]
107-
git-tree-sha1 = "782dd5f4561f5d267313f23853baaaa4c52ea621"
108-
uuid = "163ba53b-c6d8-5494-b064-1a9d43ac40c5"
109-
version = "1.1.0"
110-
111-
[[deps.DiffRules]]
112-
deps = ["IrrationalConstants", "LogExpFunctions", "NaNMath", "Random", "SpecialFunctions"]
113-
git-tree-sha1 = "23163d55f885173722d1e4cf0f6110cdbaf7e272"
114-
uuid = "b552c78f-8df3-52c6-915a-8e097449b14b"
115-
version = "1.15.1"
116-
11795
[[deps.Distributed]]
11896
deps = ["Random", "Serialization", "Sockets"]
11997
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
@@ -124,11 +102,6 @@ git-tree-sha1 = "2fb1e02f2b635d0845df5d7c167fec4dd739b00d"
124102
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
125103
version = "0.9.3"
126104

127-
[[deps.Downloads]]
128-
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
129-
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
130-
version = "1.6.0"
131-
132105
[[deps.EnumX]]
133106
git-tree-sha1 = "bdb1942cd4c45e3c678fd11569d5cccd80976237"
134107
uuid = "4e289a0a-7415-4d19-859d-a7e5c4648b56"
@@ -144,53 +117,6 @@ git-tree-sha1 = "acebe244d53ee1b461970f8910c235b259e772ef"
144117
uuid = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a"
145118
version = "0.3.2"
146119

147-
[[deps.FileWatching]]
148-
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
149-
150-
[[deps.FillArrays]]
151-
deps = ["LinearAlgebra", "Random"]
152-
git-tree-sha1 = "5b93957f6dcd33fc343044af3d48c215be2562f1"
153-
uuid = "1a297f60-69ca-5386-bcde-b61e274b549b"
154-
version = "1.9.3"
155-
156-
[deps.FillArrays.extensions]
157-
FillArraysPDMatsExt = "PDMats"
158-
FillArraysSparseArraysExt = "SparseArrays"
159-
FillArraysStatisticsExt = "Statistics"
160-
161-
[deps.FillArrays.weakdeps]
162-
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
163-
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
164-
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
165-
166-
[[deps.FiniteDiff]]
167-
deps = ["ArrayInterface", "LinearAlgebra", "Requires", "Setfield", "SparseArrays"]
168-
git-tree-sha1 = "73d1214fec245096717847c62d389a5d2ac86504"
169-
uuid = "6a86dc24-6348-571c-b903-95158fe2bd41"
170-
version = "2.22.0"
171-
172-
[deps.FiniteDiff.extensions]
173-
FiniteDiffBandedMatricesExt = "BandedMatrices"
174-
FiniteDiffBlockBandedMatricesExt = "BlockBandedMatrices"
175-
FiniteDiffStaticArraysExt = "StaticArrays"
176-
177-
[deps.FiniteDiff.weakdeps]
178-
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
179-
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
180-
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
181-
182-
[[deps.ForwardDiff]]
183-
deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "LinearAlgebra", "LogExpFunctions", "NaNMath", "Preferences", "Printf", "Random", "SpecialFunctions"]
184-
git-tree-sha1 = "cf0fe81336da9fb90944683b8c41984b08793dad"
185-
uuid = "f6369f11-7733-5829-9624-2563aa707210"
186-
version = "0.10.36"
187-
188-
[deps.ForwardDiff.extensions]
189-
ForwardDiffStaticArraysExt = "StaticArrays"
190-
191-
[deps.ForwardDiff.weakdeps]
192-
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
193-
194120
[[deps.FunctionWrappers]]
195121
git-tree-sha1 = "d62485945ce5ae9c0c48f124a84998d755bae00e"
196122
uuid = "069b7b12-0de2-55c6-9aab-29f3d0a68a2e"
@@ -212,36 +138,11 @@ git-tree-sha1 = "ec632f177c0d990e64d955ccc1b8c04c485a0950"
212138
uuid = "46192b85-c4d5-4398-a991-12ede77f4527"
213139
version = "0.1.6"
214140

215-
[[deps.InteractiveUtils]]
216-
deps = ["Markdown"]
217-
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
218-
219-
[[deps.IrrationalConstants]]
220-
git-tree-sha1 = "630b497eafcc20001bba38a4651b327dcfc491d2"
221-
uuid = "92d709cd-6900-40b7-9082-c6be49f344b6"
222-
version = "0.2.2"
223-
224141
[[deps.IteratorInterfaceExtensions]]
225142
git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856"
226143
uuid = "82899510-4779-5014-852e-03e436cf321d"
227144
version = "1.0.0"
228145

229-
[[deps.JLLWrappers]]
230-
deps = ["Artifacts", "Preferences"]
231-
git-tree-sha1 = "7e5d6779a1e09a36db2a7b6cff50942a0a7d0fca"
232-
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
233-
version = "1.5.0"
234-
235-
[[deps.LibCURL]]
236-
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
237-
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
238-
version = "0.6.4"
239-
240-
[[deps.LibCURL_jll]]
241-
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"]
242-
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
243-
version = "8.4.0+0"
244-
245146
[[deps.LibGit2]]
246147
deps = ["Base64", "LibGit2_jll", "NetworkOptions", "Printf", "SHA"]
247148
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
@@ -263,22 +164,6 @@ uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
263164
deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"]
264165
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
265166

266-
[[deps.LogExpFunctions]]
267-
deps = ["DocStringExtensions", "IrrationalConstants", "LinearAlgebra"]
268-
git-tree-sha1 = "18144f3e9cbe9b15b070288eef858f71b291ce37"
269-
uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688"
270-
version = "0.3.27"
271-
272-
[deps.LogExpFunctions.extensions]
273-
LogExpFunctionsChainRulesCoreExt = "ChainRulesCore"
274-
LogExpFunctionsChangesOfVariablesExt = "ChangesOfVariables"
275-
LogExpFunctionsInverseFunctionsExt = "InverseFunctions"
276-
277-
[deps.LogExpFunctions.weakdeps]
278-
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
279-
ChangesOfVariables = "9e997f8a-9a97-42d5-a9f1-ce6bfc15e2c0"
280-
InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112"
281-
282167
[[deps.Logging]]
283168
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
284169

@@ -303,58 +188,36 @@ deps = ["Artifacts", "Libdl"]
303188
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
304189
version = "2.28.2+1"
305190

306-
[[deps.MozillaCACerts_jll]]
307-
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
308-
version = "2023.1.10"
309-
310-
[[deps.NaNMath]]
311-
deps = ["OpenLibm_jll"]
312-
git-tree-sha1 = "0877504529a3e5c3343c6f8b4c0381e57e4387e4"
313-
uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
314-
version = "1.0.2"
315-
316191
[[deps.NetworkOptions]]
317192
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
318193
version = "1.2.0"
319194

320195
[[deps.NonlinearSolveBase]]
321196
deps = ["ArrayInterface", "ConcreteStructs", "FastClosures", "LinearAlgebra", "Markdown", "PrecompileTools", "RecursiveArrayTools", "SciMLBase", "StaticArraysCore"]
322-
git-tree-sha1 = "44c1ccea6b6cc6126fb83b83424ae6cbf61cc63f"
197+
git-tree-sha1 = "4b21852907478b4039cf6bed35e070b3428279b5"
323198
repo-rev = "master"
324199
repo-url = "https://github.com/SciML/NonlinearSolveBase.jl"
325200
uuid = "be0214bd-f91f-a760-ac4e-3421ce2b2da0"
326201
version = "1.0.0"
327-
weakdeps = ["SparseArrays"]
328202

329203
[deps.NonlinearSolveBase.extensions]
204+
NonlinearSolveBaseForwardDiffExt = "ForwardDiff"
330205
NonlinearSolveBaseSparseArraysExt = "SparseArrays"
331206

207+
[deps.NonlinearSolveBase.weakdeps]
208+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
209+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
210+
332211
[[deps.OpenBLAS_jll]]
333212
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
334213
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
335214
version = "0.3.23+4"
336215

337-
[[deps.OpenLibm_jll]]
338-
deps = ["Artifacts", "Libdl"]
339-
uuid = "05823500-19ac-5b8b-9628-191a04bc5112"
340-
version = "0.8.1+2"
341-
342-
[[deps.OpenSpecFun_jll]]
343-
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Pkg"]
344-
git-tree-sha1 = "13652491f6856acfd2db29360e1bbcd4565d04f1"
345-
uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e"
346-
version = "0.5.5+0"
347-
348216
[[deps.OrderedCollections]]
349217
git-tree-sha1 = "dfdf5519f235516220579f949664f1bf44e741c5"
350218
uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
351219
version = "1.6.3"
352220

353-
[[deps.Pkg]]
354-
deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"]
355-
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
356-
version = "1.10.0"
357-
358221
[[deps.PrecompileTools]]
359222
deps = ["Preferences"]
360223
git-tree-sha1 = "03b4c25b43cb84cee5c90aa9b5ea0a78fd848d2f"
@@ -371,10 +234,6 @@ version = "1.4.1"
371234
deps = ["Unicode"]
372235
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
373236

374-
[[deps.REPL]]
375-
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
376-
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
377-
378237
[[deps.Random]]
379238
deps = ["SHA"]
380239
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
@@ -387,9 +246,9 @@ version = "1.3.4"
387246

388247
[[deps.RecursiveArrayTools]]
389248
deps = ["Adapt", "ArrayInterface", "DocStringExtensions", "GPUArraysCore", "IteratorInterfaceExtensions", "LinearAlgebra", "RecipesBase", "SparseArrays", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables"]
390-
git-tree-sha1 = "1bbc4bb050165cc57ca2876cd53cc23395948650"
249+
git-tree-sha1 = "dc428bb59c20dafd1ec500c3432b9e3d7e78e7f3"
391250
uuid = "731186ca-8d62-57ce-b412-fbd966d074cd"
392-
version = "3.10.0"
251+
version = "3.10.1"
393252

394253
[deps.RecursiveArrayTools.extensions]
395254
RecursiveArrayToolsFastBroadcastExt = "FastBroadcast"
@@ -431,10 +290,10 @@ uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
431290
version = "0.7.0"
432291

433292
[[deps.SciMLBase]]
434-
deps = ["ADTypes", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FillArrays", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLOperators", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables", "TruncatedStacktraces"]
435-
git-tree-sha1 = "375256db2d99fc730d2d134cca17939324d284d1"
293+
deps = ["ADTypes", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLOperators", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables"]
294+
git-tree-sha1 = "3a281a9fce9cd62b849d7f16e412933a5fe755cb"
436295
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
437-
version = "2.28.0"
296+
version = "2.29.0"
438297

439298
[deps.SciMLBase.extensions]
440299
SciMLBaseChainRulesCoreExt = "ChainRulesCore"
@@ -478,18 +337,6 @@ deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"]
478337
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
479338
version = "1.10.0"
480339

481-
[[deps.SpecialFunctions]]
482-
deps = ["IrrationalConstants", "LogExpFunctions", "OpenLibm_jll", "OpenSpecFun_jll"]
483-
git-tree-sha1 = "e2cfc4012a19088254b3950b85c3c1d8882d864d"
484-
uuid = "276daf66-3868-5448-9aa4-cd146d93841b"
485-
version = "2.3.1"
486-
487-
[deps.SpecialFunctions.extensions]
488-
SpecialFunctionsChainRulesCoreExt = "ChainRulesCore"
489-
490-
[deps.SpecialFunctions.weakdeps]
491-
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
492-
493340
[[deps.StaticArraysCore]]
494341
git-tree-sha1 = "36b3d696ce6366023a0ea192b4cd442268995a0d"
495342
uuid = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
@@ -531,44 +378,14 @@ git-tree-sha1 = "cb76cf677714c095e535e3501ac7954732aeea2d"
531378
uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
532379
version = "1.11.1"
533380

534-
[[deps.Tar]]
535-
deps = ["ArgTools", "SHA"]
536-
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
537-
version = "1.10.0"
538-
539-
[[deps.Test]]
540-
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
541-
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
542-
543-
[[deps.TruncatedStacktraces]]
544-
deps = ["InteractiveUtils", "MacroTools", "Preferences"]
545-
git-tree-sha1 = "ea3e54c2bdde39062abf5a9758a23735558705e1"
546-
uuid = "781d530d-4396-4725-bb49-402e4bee1e77"
547-
version = "1.4.0"
548-
549381
[[deps.UUIDs]]
550382
deps = ["Random", "SHA"]
551383
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
552384

553385
[[deps.Unicode]]
554386
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
555387

556-
[[deps.Zlib_jll]]
557-
deps = ["Libdl"]
558-
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
559-
version = "1.2.13+1"
560-
561388
[[deps.libblastrampoline_jll]]
562389
deps = ["Artifacts", "Libdl"]
563390
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
564391
version = "5.8.0+1"
565-
566-
[[deps.nghttp2_jll]]
567-
deps = ["Artifacts", "Libdl"]
568-
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
569-
version = "1.52.0+1"
570-
571-
[[deps.p7zip_jll]]
572-
deps = ["Artifacts", "Libdl"]
573-
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
574-
version = "17.4.0+2"

Project.toml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name = "SimpleNonlinearSolve"
22
uuid = "727e6d20-b764-4bd8-a329-72de5adea6c7"
33
authors = ["SciML"]
4-
version = "1.6.0"
4+
version = "1.6.0" # Bump to 2.0.0 before releasing
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
88
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
99
ConcreteStructs = "2569d6c7-a4a2-43d3-a901-331e8e4be471"
10-
DiffResults = "163ba53b-c6d8-5494-b064-1a9d43ac40c5"
1110
FastClosures = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a"
12-
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
13-
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1411
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1512
MaybeInplace = "bb5d69b7-63fc-4a16-80bd-7e42200c7bdb"
1613
NonlinearSolveBase = "be0214bd-f91f-a760-ac4e-3421ce2b2da0"
@@ -22,11 +19,16 @@ StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
2219
[weakdeps]
2320
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
2421
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
22+
DiffResults = "163ba53b-c6d8-5494-b064-1a9d43ac40c5"
23+
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
24+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
2525
PolyesterForwardDiff = "98d1487c-24ca-40b6-b7ab-df2af84e126b"
2626
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2727
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2828

2929
[extensions]
30+
SimpleNonlinearSolveFiniteDiffExt = "FiniteDiff"
31+
SimpleNonlinearSolveDiffResultsForwardDiffExt = ["DiffResults", "ForwardDiff"]
3032
SimpleNonlinearSolveChainRulesCoreDiffEqBaseExt = ["ChainRulesCore", "DiffEqBase"]
3133
SimpleNonlinearSolvePolyesterForwardDiffExt = "PolyesterForwardDiff"
3234
SimpleNonlinearSolveStaticArraysExt = "StaticArrays"

0 commit comments

Comments
 (0)