Skip to content

Commit 68d8bf5

Browse files
devmotionclaude
andcommitted
Revert "Remove Compat dependency and use a test workspace"
This reverts commit 03ff6dd. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 03ff6dd commit 68d8bf5

4 files changed

Lines changed: 8 additions & 37 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ updates:
66
schedule:
77
interval: "weekly"
88
- package-ecosystem: "julia"
9-
directory: "/"
9+
directories:
10+
- "/"
1011
schedule:
1112
interval: "weekly"
1213
groups:

‎Project.toml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name = "ChainRules"
22
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
3-
version = "1.74.2"
3+
version = "1.74.1"
44

55
[deps]
66
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
77
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
8+
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
89
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
910
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
1011
IrrationalConstants = "92d709cd-6900-40b7-9082-c6be49f344b6"
@@ -20,6 +21,7 @@ StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
2021
Adapt = "3.4.0, 4"
2122
ChainRulesCore = "1.25"
2223
ChainRulesTestUtils = "1.5"
24+
Compat = "3.46, 4.2"
2325
Distributed = "1"
2426
FiniteDifferences = "0.12.20"
2527
GPUArraysCore = "0.1.0, 0.2"
@@ -47,6 +49,3 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4749

4850
[targets]
4951
test = ["ChainRulesTestUtils", "FiniteDifferences", "JLArrays", "ParallelTestRunner", "Random", "StaticArrays", "Test"]
50-
51-
[workspace]
52-
projects = ["test"]

‎src/ChainRules.jl‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module ChainRules
33
using Adapt: adapt
44
using Base.Broadcast: materialize, materialize!, broadcasted, Broadcasted, broadcastable
55
using ChainRulesCore
6+
using Compat
67
using Distributed
78
using GPUArraysCore: AbstractGPUArray, AbstractGPUArrayStyle, @allowscalar
89
using IrrationalConstants: logtwo, logten
@@ -21,6 +22,8 @@ import ChainRulesCore: rrule, frule
2122
# Experimental:
2223
using ChainRulesCore: derivatives_given_output
2324

25+
using Compat: stack
26+
2427
# numbers that we know commute under multiplication
2528
const CommutativeMulNumber = Union{Real,Complex}
2629

‎test/Project.toml‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)