Skip to content

Commit 1d6cf6f

Browse files
authored
Fix environments in test_persistent_tasks (part 2) (#241)
1 parent 5fb04b7 commit 1d6cf6f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010

11+
## [0.8.2] - 2023-11-16
12+
13+
### Changed
14+
15+
- `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))
16+
17+
1118
## [0.8.1] - 2023-11-16
1219

1320
### Changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Aqua"
22
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
33
authors = ["Takafumi Arakaki <[email protected]> and contributors"]
4-
version = "0.8.1"
4+
version = "0.8.2"
55

66
[deps]
77
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

src/persistent_tasks.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ end
151151
)
152152
end
153153
# Precompile the wrapper package
154-
cmd = `$(Base.julia_cmd()) --project=$wrapperdir -e 'using Pkg; Pkg.precompile()'`
155-
cmd = setenv(cmd, String[])
154+
cmd = `$(Base.julia_cmd()) --project=$wrapperdir -e 'push!(LOAD_PATH, "@stdlib"); using Pkg; Pkg.precompile()'`
156155
proc = run(cmd, stdin, stdout, stderr; wait = false)
157156
while !isfile(statusfile) && process_running(proc)
158157
sleep(0.5)

0 commit comments

Comments
 (0)