-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Check for asset availability when checking for updates #22598
Conversation
f53e4ad
to
78fef01
Compare
379eced
to
b2da67c
Compare
68153cd
to
a0ec21a
Compare
b558ba3
to
6552f65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial review for you @mrclary.
Hello @mrclary! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-10-16 16:39:19 UTC |
@ccordoba12, thank you for suggesting the |
dde2b0c
to
bfdca46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second round of suggestions for you @mrclary, then this should be ready (you can add them to the commit where you addressed my initial review, if you want).
…o an available update. Create a function that determines the asset name, update type, and url, depending on the latest release and the current Spyder version. Fixes spyder-ide#22566
…WorkerDownloadInstaller.latest_release are now packaging.version.Version objects instead of strings. We can now use packaging.version mechanisms for comparison, sorting, and stable release checks.
Added test_update_no_asset and test_get_asset_info
31b13da
to
c171a8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last nitpick @mrclary.
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
c171a8c
to
24e8366
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now, thanks @mrclary!
@meeseeksdev please backport to 6.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
…hecking for updates
…en checking for updates) (#22684)
Description of Changes
UpdateWorker.channel
is assigned.Issue(s) Resolved
Fixes #22566
Fixes #22572