Skip to content

Commit

Permalink
Disable persistent_tasks for old julia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Oct 27, 2023
1 parent 4916de9 commit 1af7ad8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/persistent_tasks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ end
In more complex cases, you may need to set up independently-callable functions
to launch the tasks and set conditions that allow them to cleanly exit.
On julia version 1.9 and before, this test always succeeds.
# Arguments
- `package`: a top-level `Module` or `Base.PkgId`.
Expand Down Expand Up @@ -115,6 +117,9 @@ function find_persistent_tasks_deps(package::Module; kwargs...)
end

function precompile_wrapper(project, tmax)
if VERSION < v"1.10.0-"
return true
end
prev_project = Base.active_project()
isdefined(Pkg, :respect_sysimage_versions) && Pkg.respect_sysimage_versions(false)
try
Expand Down

0 comments on commit 1af7ad8

Please sign in to comment.