Skip to content
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

Fix precompilation warnings downstream #466

Merged
merged 6 commits into from
Jan 4, 2024
Merged

Fix precompilation warnings downstream #466

merged 6 commits into from
Jan 4, 2024

Conversation

thofma
Copy link
Contributor

@thofma thofma commented Jan 1, 2024

Fixes thofma/Hecke.jl#1340 for me (see also JuliaLang/julia#52685).

If you are happy with this, I would also appreciate a quick patch release containing this fix.

@benlorenz
Copy link
Member

I don't think this is a good solution, as pointed out here JuliaLang/julia#50914 (comment) this could cause issues with packages using Polymake.jl which expect polymake to be initialized correctly during precompilation.

@benlorenz
Copy link
Member

benlorenz commented Jan 1, 2024

Note that we are even running the Aqua test regarding this issue during CI:

  Persistent tasks                           |    1      1   6.4s

restore initialization during precompilation for downstream packages

This reverts commit 985c968.
by setting a default downloader with shorter grace time
@benlorenz
Copy link
Member

I reverted your commit and added a different workaround for this by setting a custom Downloads.Downloader with a short grace time. This should avoid the hang due to the timer.

@thofma
Copy link
Contributor Author

thofma commented Jan 4, 2024

Thanks!

@benlorenz benlorenz merged commit c58cb20 into master Jan 4, 2024
22 of 25 checks passed
@benlorenz benlorenz deleted the th/nonsense branch January 4, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PolymakeExt background task in precompilation
2 participants