diff --git a/CHANGELOG.md b/CHANGELOG.md index c2587c4d..05ad2471 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Two additions check whether packages might block precompilation on Julia 1.10 or higher: - + `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`. +- Two additions check whether packages might block precompilation on Julia 1.10 or higher: ([#174](https://github.com/JuliaTesting/Aqua.jl/pull/174)) + + `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`. + `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). ### Changed diff --git a/src/Aqua.jl b/src/Aqua.jl index 84830ba0..8d403081 100644 --- a/src/Aqua.jl +++ b/src/Aqua.jl @@ -52,7 +52,7 @@ passed to `\$x` to specify the keyword arguments for `test_\$x`. - `deps_compat = true` - `project_toml_formatting = true` - `piracy = true` -- `persistent_tasks = false` (will become `true` in the next breaking release) +- `persistent_tasks = true` """ function test_all( testtarget::Module; @@ -64,7 +64,7 @@ function test_all( deps_compat = true, project_toml_formatting = true, piracy = true, - persistent_tasks = false, + persistent_tasks = true, ) @testset "Method ambiguity" begin if ambiguities !== false diff --git a/test/test_smoke.jl b/test/test_smoke.jl index 5a32d559..7bd39bb9 100644 --- a/test/test_smoke.jl +++ b/test/test_smoke.jl @@ -16,7 +16,7 @@ Aqua.test_all( deps_compat = (; check_extras = true, check_weakdeps = true), project_toml_formatting = false, piracy = false, - persistent_tasks = true, + persistent_tasks = false, ) end # module