diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ce6e03d17..2bd27c77c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,8 +6,7 @@ updates: schedule: interval: "weekly" - package-ecosystem: "julia" - directories: - - "/" + directory: "/" schedule: interval: "weekly" groups: diff --git a/Project.toml b/Project.toml index 50a2a2c28..116735a0c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,11 +1,10 @@ name = "ChainRules" uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2" -version = "1.74.1" +version = "1.74.2" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" -Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b" GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527" IrrationalConstants = "92d709cd-6900-40b7-9082-c6be49f344b6" @@ -20,32 +19,17 @@ StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" [compat] Adapt = "3.4.0, 4" ChainRulesCore = "1.25" -ChainRulesTestUtils = "1.5" -Compat = "3.46, 4.2" Distributed = "1" -FiniteDifferences = "0.12.20" GPUArraysCore = "0.1.0, 0.2" IrrationalConstants = "0.1.1, 0.2" -JLArrays = "0.1, 0.4" LinearAlgebra = "1" -ParallelTestRunner = "2" Random = "1" RealDot = "0.1" SparseArrays = "1" SparseInverseSubset = "0.1" -StaticArrays = "1.2" Statistics = "1" StructArrays = "0.6.11, 0.7" julia = "1.10" -[extras] -ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a" -FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000" -JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb" -ParallelTestRunner = "d3525ed8-44d0-4b2c-a655-542cee43accc" -Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" -Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" - -[targets] -test = ["ChainRulesTestUtils", "FiniteDifferences", "JLArrays", "ParallelTestRunner", "Random", "StaticArrays", "Test"] +[workspace] +projects = ["test"] diff --git a/src/ChainRules.jl b/src/ChainRules.jl index 6d33a22e7..6e8952756 100644 --- a/src/ChainRules.jl +++ b/src/ChainRules.jl @@ -3,7 +3,6 @@ module ChainRules using Adapt: adapt using Base.Broadcast: materialize, materialize!, broadcasted, Broadcasted, broadcastable using ChainRulesCore -using Compat using Distributed using GPUArraysCore: AbstractGPUArray, AbstractGPUArrayStyle, @allowscalar using IrrationalConstants: logtwo, logten @@ -22,8 +21,6 @@ import ChainRulesCore: rrule, frule # Experimental: using ChainRulesCore: derivatives_given_output -using Compat: stack - # numbers that we know commute under multiplication const CommutativeMulNumber = Union{Real,Complex} diff --git a/test/Project.toml b/test/Project.toml new file mode 100644 index 000000000..a41d33187 --- /dev/null +++ b/test/Project.toml @@ -0,0 +1,33 @@ +[deps] +Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" +ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2" +ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" +ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a" +FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000" +GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527" +JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +ParallelTestRunner = "d3525ed8-44d0-4b2c-a655-542cee43accc" +Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" +Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[compat] +Adapt = "3.4.0, 4" +ChainRulesCore = "1.25" +ChainRulesTestUtils = "1.5" +FiniteDifferences = "0.12.20" +GPUArraysCore = "0.1.0, 0.2" +JLArrays = "0.1, 0.4" +LinearAlgebra = "1" +ParallelTestRunner = "2" +Random = "1" +SparseArrays = "1" +StaticArrays = "1.2" +Statistics = "1" +Test = "1" + +[sources] +ChainRules = { path = ".." }