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

Pin isort and revert pylint #225

Merged
merged 2 commits into from
Jul 8, 2020
Merged

Pin isort and revert pylint #225

merged 2 commits into from
Jul 8, 2020

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Jul 8, 2020

Pin isort and revert pylint update (#224).

No matter whether we use the main branch of azdev or the released version on PyPI, pylint will crash with AttributeError: module 'isort' has no attribute 'SortImports', but azdev can't detect that (another bug). In such case, pylint doesn't work at all, giving a false positive indicating the style check passed.

],
extras_require={
":python_version<'3.0'": ['pylint==1.9.2', 'futures'],
":python_version>='3.0'": ['pylint==2.5.3']
":python_version>='3.0'": ['pylint==2.3.0']
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to release new azdev since the released version is also broken?

Copy link
Member Author

Choose a reason for hiding this comment

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

Luckily we currently use the main branch of azdev in Azure CLI CI so the fix will applied. But yes, we do need to release a new version of azdev.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This version pin issue may exist in other third-party packages, we should look through and pin all of them.

@mmyyrroonn mmyyrroonn self-requested a review July 8, 2020 03:10
@jiasli jiasli merged commit 5284eaf into Azure:master Jul 8, 2020
@Juliehzl
Copy link
Contributor

Juliehzl commented Jul 8, 2020

we need to add release note in history.rst

@jiasli jiasli mentioned this pull request Apr 26, 2021
@jiasli jiasli deleted the isort branch April 26, 2021 08:01
@jiasli
Copy link
Member Author

jiasli commented Apr 26, 2021

The "azdev silences pylint error" bug has been fixed by #281.

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

Successfully merging this pull request may close these issues.

4 participants