Skip to content

Commit 77f7fd7

Browse files
committed
Turn test_persistent_tasks on by default
1 parent 0dcd8bf commit 77f7fd7

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
- Two additions check whether packages might block precompilation on Julia 1.10 or higher:
13-
+ `test_persistent_tasks` tests whether "your" package can safely be used as a dependency for downstream packages. This test is disabled for the default testsuite, but you can opt-in by supplying `persistent_tasks=true` to `test_all`.
12+
- Two additions check whether packages might block precompilation on Julia 1.10 or higher: ([#174](https://github.com/JuliaTesting/Aqua.jl/pull/174))
13+
+ `test_persistent_tasks` tests whether "your" package can safely be used as a dependency for downstream packages. This test is enabled for the default testsuite, but you can opt-out by supplying `persistent_tasks=false` to `test_all`. [BREAKING]
1414
+ `find_persistent_tasks_deps` is useful if "your" package hangs upon precompilation: it runs `test_persistent_tasks` on all the things you depend on, and may help isolate the culprit(s).
1515

1616
### Changed

src/Aqua.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ passed to `\$x` to specify the keyword arguments for `test_\$x`.
5252
- `deps_compat = true`
5353
- `project_toml_formatting = true`
5454
- `piracy = true`
55-
- `persistent_tasks = false` (will become `true` in the next breaking release)
55+
- `persistent_tasks = true`
5656
"""
5757
function test_all(
5858
testtarget::Module;
@@ -64,7 +64,7 @@ function test_all(
6464
deps_compat = true,
6565
project_toml_formatting = true,
6666
piracy = true,
67-
persistent_tasks = false,
67+
persistent_tasks = true,
6868
)
6969
@testset "Method ambiguity" begin
7070
if ambiguities !== false

test/test_smoke.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Aqua.test_all(
1616
deps_compat = (; check_extras = true, check_weakdeps = true),
1717
project_toml_formatting = false,
1818
piracy = false,
19-
persistent_tasks = true,
19+
persistent_tasks = false,
2020
)
2121

2222
end # module

0 commit comments

Comments
 (0)