Skip to content

Fix import of ScopedValues in Julia v1.11 #489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

JamesWrigley
Copy link
Collaborator

Previously ScopedValues.with was exported from Base but that was changed recently, so the ScopedValues check was failing. Now we check if the module is present instead.

Should fix #488. I still this warning when running the tests:

┌ ScopedValues                                                                                                                                                                                                                                 
│  WARNING: could not import ScopedValues.current_scope into ScopedValues                                                                                                                                                                      
└    

But we don't use current_scope() anywhere so I assume it's coming from Base 🤷

Previously `ScopedValues.with` was exported from `Base` but that was changed
recently, so the ScopedValues check was failing. Now we check if the module is
present instead.
@jpsamaroo jpsamaroo merged commit bb77974 into JuliaParallel:master Mar 21, 2024
10 of 13 checks passed
@jpsamaroo
Copy link
Member

Thanks!

@JamesWrigley JamesWrigley deleted the scoped-values-v1.11 branch March 21, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot use Dagger with Julia 1.11 (alpha2)
2 participants