From 185d79791a464f4b53a4cea18ec74989c07c7038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Thu, 16 Nov 2023 17:16:43 +0100 Subject: [PATCH 1/2] Fix environments in `test_persistent_tasks` (part 2) --- CHANGELOG.md | 7 +++++++ Project.toml | 2 +- src/persistent_tasks.jl | 3 +-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b7416db..670149d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.8.2] - 2023-11-16 + +### Changed + +- `test_persistent_tasks` no longer clears the environmetn of the subtask. Instead, it modifies `LOAD_PATH` directly to make stdlibs work. ([#240](https://github.com/JuliaTesting/Aqua.jl/pull/240)) + + ## [0.8.1] - 2023-11-16 ### Changed diff --git a/Project.toml b/Project.toml index 7f4d3af0..59dfd272 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Aqua" uuid = "4c88cf16-eb10-579e-8560-4a9242c79595" authors = ["Takafumi Arakaki and contributors"] -version = "0.8.1" +version = "0.8.2" [deps] Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" diff --git a/src/persistent_tasks.jl b/src/persistent_tasks.jl index 62b67eca..3f59b350 100644 --- a/src/persistent_tasks.jl +++ b/src/persistent_tasks.jl @@ -151,8 +151,7 @@ end ) end # Precompile the wrapper package - cmd = `$(Base.julia_cmd()) --project=$wrapperdir -e 'using Pkg; Pkg.precompile()'` - cmd = setenv(cmd, String[]) + cmd = `$(Base.julia_cmd()) --project=$wrapperdir -e 'push!(LOAD_PATH, "@stdlib"); using Pkg; Pkg.precompile()'` proc = run(cmd, stdin, stdout, stderr; wait = false) while !isfile(statusfile) && process_running(proc) sleep(0.5) From acc143ed8629da25cf3a2ea1067e3ea16cd23c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Thu, 16 Nov 2023 17:25:33 +0100 Subject: [PATCH 2/2] Fix changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 670149d9..06922a5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- `test_persistent_tasks` no longer clears the environmetn of the subtask. Instead, it modifies `LOAD_PATH` directly to make stdlibs work. ([#240](https://github.com/JuliaTesting/Aqua.jl/pull/240)) +- `test_persistent_tasks` no longer clears the environmetn of the subtask. Instead, it modifies `LOAD_PATH` directly to make stdlibs work. ([#241](https://github.com/JuliaTesting/Aqua.jl/pull/241)) ## [0.8.1] - 2023-11-16