Skip to content

CI: pin isort version #35136

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

Merged
merged 4 commits into from
Jul 6, 2020
Merged

Conversation

AlexKirko
Copy link
Member

@AlexKirko AlexKirko commented Jul 6, 2020

  • xref CI: Update to isort 5 #35134
  • 0 tests added / 0 passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry. this is a CI PR. I don't think we touch whatsnew for those.

Scope

Remove the --recursive keyword from code_checks.sh, so that the newest version of isort can run without errors (it does recursive sorting by default).
Pin the version instead, because version 5 has changed the way isort sorts imports. Needs more work to switch safely.

@TomAugspurger
Copy link
Contributor

Perhaps some other changes in 5.0 that will take more time. I was just about to push a commit pinning to <5 for now. Thanks @AlexKirko.

@AlexKirko AlexKirko changed the title CI: remove recursive keyword from isort call CI: pin isort version Jul 6, 2020
@AlexKirko
Copy link
Member Author

Thanks @TomAugspurger for the quick fix!

@TomAugspurger
Copy link
Contributor

Docs are being fixed in #35139.

@TomAugspurger TomAugspurger merged commit 8f21cb5 into pandas-dev:master Jul 6, 2020
jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Jul 7, 2020
@AlexKirko AlexKirko deleted the isort-recursive-kw branch July 9, 2020 15:12
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.

3 participants