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

PR: Only show UpdateManager statusbar widget while updating and when updates are available #21836

Merged
merged 22 commits into from
Apr 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6a2ee12
Do not distinguish for bootstrap or development versions on startup.
mrclary Feb 26, 2024
1ca7e99
Process url data according to url value. The processing algorithms ar…
mrclary Feb 26, 2024
3cca020
Use github url instead for editable mode.
mrclary Feb 26, 2024
1b0e38f
Hide update_manager statusbar widget on startup.
mrclary Feb 27, 2024
450011b
Only show statusbar widget while checking for updates, an update is p…
mrclary Feb 27, 2024
599755e
Do not use "Spyder: " in statusbar status value
mrclary Feb 27, 2024
54671e9
Remove obsolete statuses
mrclary Feb 27, 2024
62eb49d
Do not need base tooltip, since widget is hidden.
mrclary Feb 27, 2024
e57514f
Remove "Check for updates..." widget action.
mrclary Feb 27, 2024
f6aefbd
Do not show statusbar widget while checking for updates. The spinner …
mrclary Feb 27, 2024
d41092b
Send untracked errors from update worker to the error reporter
mrclary Mar 13, 2024
d16b13b
Add pre-release element to version_info, when appropriate.
mrclary Mar 13, 2024
9d14a6b
Revert "Merge from 5.x: PR #21910"
mrclary Mar 21, 2024
5059c82
Remap local channel to conda-forge.
mrclary Mar 25, 2024
049793b
Explicitly add packaging to Python build system
mrclary Mar 28, 2024
29182fe
Apply suggestions from code review
mrclary Apr 9, 2024
89d26bd
Apply suggestions from code review
mrclary Apr 10, 2024
5f7a58c
Make CONDA_BLD_PATH available to the entire job and condition NSIS_US…
mrclary Apr 11, 2024
f1850d0
Fix issue where install script for windows could not properly determi…
mrclary Apr 12, 2024
d52b7a1
Fix issue where install script used incorrect shortcut for launching …
mrclary Apr 12, 2024
48ff669
Fix continue message
mrclary Apr 13, 2024
61efbc4
Copy install.[sh|bat] script to temporary location. This is required …
mrclary Apr 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use github url instead for editable mode.
  • Loading branch information
mrclary committed Apr 16, 2024
commit 3cca02015a39c7e06c8341b130cfc3a62c6bf942
5 changes: 2 additions & 3 deletions spyder/plugins/updatemanager/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def start(self):
error_msg = None
pypi_url = "https://pypi.org/pypi/spyder/json"
github_url = 'https://api.github.com/repos/spyder-ide/spyder/releases'
cf_url = 'https://conda.anaconda.org/conda-forge'

if is_conda_based_app():
url = github_url
Expand All @@ -112,8 +111,8 @@ def start(self):
logger.debug(
f"channel = {self.channel}; channel_url = {channel_url}. "
)
# Spyder installed in development mode, use conda-forge
url = cf_url + '/channeldata.json'
# Spyder installed in development mode, use GitHub
mrclary marked this conversation as resolved.
Show resolved Hide resolved
url = github_url
elif self.channel == "pypi":
url = pypi_url
else:
Expand Down