JuliaTesting / Aqua.jl

Auto QUality Assurance for Julia packages
MIT License
340 stars 25 forks source link

persistent_task should respect the environment #292

Open thofma opened 6 months ago

thofma commented 6 months ago

As I learned from @lgoettgens:

The persistent task test does not work with deved dependecies

Would be great if it could work with deved dependencies. I guess this boils down to respecting the environment when spawning the test.

lgoettgens commented 4 weeks ago

@timholy @NHDaly since you two introduced the test_persistent_tasks test, do you have any idea on how to adapt it to respect deved dependencies (and more general all dependencies that are not just taken from the registry, but via a local path, a git revision etc.)?

NHDaly commented 2 weeks ago

😬 no, i don't have much of an idea about that. I'm not really clear on why it would be harder, even. Can you share more info?

timholy commented 2 weeks ago

I'm also unsure what this is about. But looking at the code, I noticed two Pkg-related and one julia-options candidates:

Since I don't know what you're experiencing, this is a blind guess. Perhaps passing more info into precompile_wrapper would fix it?