Skip to content

Commit

Permalink
Fix environments in test_persistent_tasks (part 2) (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Nov 16, 2023
1 parent 5fb04b7 commit 1d6cf6f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Aqua"
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
authors = ["Takafumi Arakaki <aka.tkf@gmail.com> and contributors"]
version = "0.8.1"
version = "0.8.2"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Expand Down
3 changes: 1 addition & 2 deletions src/persistent_tasks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d6cf6f

Please sign in to comment.