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

feat: use native interrupt support in Downloads.jl #82

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

tanmaykm
Copy link
Member

Detect if we are using a newer version of Download.jl that supports interrupting of requests natively and use that instead of throwing InterruptException.

ref: JuliaLang/Downloads.jl#256 and JuliaLang/Downloads.jl#259

fixes: #81

Detect if we are using a newer version of Download.jl that supports interrupting of requests natively and use that instead of throwing `InterruptException`.

ref: JuliaLang/Downloads.jl#256 and JuliaLang/Downloads.jl#259

fixes: #81
@tanmaykm tanmaykm marked this pull request as ready for review September 24, 2024 08:22
@tanmaykm tanmaykm requested review from vdayanand and a team September 24, 2024 09:09
@tanmaykm tanmaykm merged commit 0a68530 into main Sep 24, 2024
4 checks passed
tanmaykm added a commit that referenced this pull request Sep 24, 2024
CI with nightlies were disabled earlier because of instabilities. It will be good to enable CI with julia nightlies back again, since #82 needs Downloads.jl version that's included only in the nightlies at the moment.
tanmaykm added a commit that referenced this pull request Sep 24, 2024
CI with nightlies were disabled earlier because of instabilities. It will be good to enable CI with julia nightlies back again, since #82 needs Downloads.jl version that's included only in the nightlies at the moment.
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.

Throwing InterruptException to download task not a good idea
2 participants