-
-
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: Update minimal required version of pylint
to >=2.5.0,<3.1
#21470
Conversation
pylint
3pylint
to >=2.5.0,<3.1
Note: If we decide to include this on 5.5.0, this will need to be rebased into the |
Agreed. @bnavigator, to include this in our next release, please run the following commands locally:
|
Note: This requires to merge first PR python-lsp/python-lsp-server#475 and then sync our subrepo here so that our tests actually run with Pylint 3 and catch any possible regression. |
@bnavigator, I'm going to take care of finishing this one so we can be sure to include it in 5.5. |
subrepo: subdir: "external-deps/python-lsp-server" merged: "5f53f8e7ec" upstream: origin: "https://github.com/python-lsp/python-lsp-server.git" branch: "develop" commit: "5f53f8e7ec" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596"
This comment was marked as off-topic.
This comment was marked as off-topic.
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.
@dalthviz, these are a couple of comments for you before doing the release.
@@ -26,6 +26,9 @@ if [ "$USE_CONDA" = "true" ]; then | |||
# Remove pylsp before installing its subrepo below | |||
micromamba remove --force python-lsp-server python-lsp-server-base -y | |||
|
|||
# Install Pylint 3 to run our tests with it | |||
micromamba install pylint=3 -q -y |
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.
Remove these lines when PyLSP 1.9 is released.
# Install Pylint 3 to run our tests with it | ||
pip install -U pylint |
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.
And these lines too.
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 your help with this @bnavigator!
Description of Changes
Pylint 3 removed long deprecated
find_pylintrc()
which was only a wrapper tofind_default_config_files()
.pylint-dev/pylint#9105
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:
bnavigator