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: Check spyder-remote-services version compatibility (Remote client) #22860

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hlouzada
Copy link
Contributor

@hlouzada hlouzada commented Nov 5, 2024

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)

Modify server installation check and ensure server methods to check whether the spyder server version is compatible and updatable or display an error.

Visual changes

Show message when there's a mismatch between the Spyder and spyder-remote-services versions

image

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @hlouzada

@pep8speaks
Copy link

pep8speaks commented Nov 5, 2024

Hello @hlouzada! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 435:80: E501 line too long (80 > 79 characters)

Comment last updated at 2024-11-12 23:41:30 UTC

@ccordoba12 ccordoba12 added this to the v6.0.3 milestone Nov 6, 2024
@ccordoba12 ccordoba12 changed the title PR: Check spyder-remote-services version compatibility PR: Check spyder-remote-services version compatibility (Remote client) Nov 6, 2024
@ccordoba12
Copy link
Member

@hlouzada, please rebase on top of master to make our tests on Mac pass.

- This matches where the Spyder-kernels version constants are placed for
the IPython console.
- Also, remove a couple of constants that are unnecessary.
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and suggested a clearer, more concise and easier to understand formulation of the UI text

spyder/plugins/remoteclient/widgets/container.py Outdated Show resolved Hide resolved
spyder/plugins/remoteclient/widgets/container.py Outdated Show resolved Hide resolved
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revised UI text/message LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants