-
-
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: Only show UpdateManager statusbar widget while updating and when updates are available #21836
Conversation
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.
@mrclary, a couple of small comments for now.
a899c0e
to
de3aa11
Compare
c7e97f1
to
4a1e1a3
Compare
7eb8efc
to
839a03f
Compare
9473d1f
to
97aa75f
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.
Thanks @mrclary for your work on this!
…is no longer needed either.
I don't think there is a way to remap the local channel to different channels depending on the package, e.g. spyder-kernels to use conda-forge/label/spyder_kernels_rc and spyder to use conda-forge/label/spyder_dev. However, I think conda-forge will be sufficient to allow the updater to perform its actions.
Co-authored-by: Carlos Cordoba <[email protected]>
Co-authored-by: Carlos Cordoba <[email protected]>
…ING_LOG_BUILD on pre-/release.
…ne if Spyder was still running. The shortcut no longer uses spyder.exe, but rather pythonw.exe. To positively identify Spyder, we need to expose the WindowTitle using verbosity and searching for "Spyder".
…for Windows, otherwise adverse behavior occurs when executing a file that is being over-written. Copy for macOS and Linux too, just to be safe.
Okay, I pushed up a fix. I decided to just copy |
I tested changing the installer Spyder version to 6.0.0a3 and seems like things are working now for that case (I got to 6.0.0a4 without issues) 🎉 However, after uninstalling, reinstalling and setting the Spyder version to 5.5.4, tried to do an update and I got the following warning message: I think this is probably due to not having an alpha release with the new installers naming, right? Checking 6.0.0a4 the installers put the version in the installer name (so instead of Also, kind of out of topic but, while doing the update testing, from time to time I have seen over the Spyder IPython Console a message related with the kernel? |
Just for testing, I added the expected asset to the 6.0.0a4 release and one thing I noticed is that it seems like the download percentage shown from the status bar is different from the dialog one sometimes 🤔 Also, due to the Could be possible to set the path where the Also, noticed that the tabs after finishing the update and Spyder opening (Spyder 6.0.0a4) have a weird style 🤔 Anyhow, regardless of the above, seems like the update mechanism for a major version update works too 👍 |
That is correct.
I have not seen that before. But let's keep an eye on it for alpha-5. |
That is strange, since it should be the same exact value fed to both. I wonder if there is a latency in the display of the window causing it to appear to be behind the statusbar.
Unfortunately not. This is fixed by NSIS and not configurable.
Yes, it is annoying. This should not be the case, however for the pre-release and releases. The install logging is disabled for these builds.
I have not seen this, but we should monitor it after alpha-5
Great! |
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.
Thanks @mrclary ! 👍
This should have been fixed by commit eabb402. At least it's working for me on Linux. But I'll test on Windows and submit a separate PR to fix it if that's not the case. |
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.
Thanks for all your hard work to improve our installers @mrclary!
Description of Changes
version_info
now includes pre-release item. To ensure that the development version is greater than the latest release tag, including unstable releases, this field should be used immediately following unstable releases, i.e. returning to work.install.bat
executes incorrectly because it is over-written during update.Fixes #21882
Requires conda-forge/spyder-feedstock#167