-
Notifications
You must be signed in to change notification settings - Fork 66
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
Bump isort
version to 5.6
#286
Conversation
JFYI this is still targeting |
Converted this PR to a draft so that it doesn't accidentally get merged to |
Is this safe to mark as ready for review? |
Yes it's been retargeted to the new branch |
Trying to assert if this will be a breaking PR, i.e. if code resorted by |
@charlesbluca, sounds like we might want to figure that out before merging this. Please post your findings here. Until then, I'll switch this to a draft so we don't break anything with an accidental merge. |
It looks like the repos this could potentially break are those running
Essentially, we would either want to make sure these repos' gpuCI |
Opened up PRs for the impacted repos:
I skipped over rmm-testbed as it seems like that repo would probably pull the changes from rmm, but happy to open up a PR there too if that isn't the case |
@charlesbluca, |
Sure! I'd imagine the failures are because I can do this now, which should request review from the Python codeowners of the respective repos. |
With rapidsai/integration#286, the version of isort running on gpuCI will be bumped to 5.6.4, allowing us to enforce the sorting of packages in Cython (pyx, pxd) files. This PR intends to: - Enable these checks in the gpuCI style script - Enable Cython package resorting in the pre-commit hook - Resort all the Cython files in this repo so they pass the newly enabled checks Authors: - Charles Blackmon-Luca (https://github.com/charlesbluca) Approvers: - Dillon Cullinan (https://github.com/dillon-cullinan) URL: #806
I neglected to run the updated isort hooks from #806 before it was merged - this should ensure that rapidsai/integration#286 doesn't cause any CI failures here when it is merged. Authors: - Charles Blackmon-Luca (https://github.com/charlesbluca) Approvers: - https://github.com/jakirkham URL: #812
With rapidsai/integration#286, the version of `isort` running on gpuCI will be bumped to 5.6.4, allowing us to enforce the sorting of packages in Cython (pyx, pxd) files. This PR intends to: - Enable these checks in the gpuCI style script - Enable Cython package resorting in the pre-commit hook - Resort all the Cython files in this repo so they pass the newly enabled checks These checks are optional, meaning that even without this being merged, gpuCI should still pass on style checks even when rapidsai/integration#286 is merged. Authors: - Charles Blackmon-Luca (https://github.com/charlesbluca) Approvers: - H. Thomson Comer (https://github.com/thomcom) - AJ Schmidt (https://github.com/ajschmidt8) URL: #419
With all the |
rerun tests |
…8755) As a follow up to rapidsai/integration#286 being merged and bumping gpuCI's `isort` version to 5.6.4, this removes the temporary overrides made to avoid failures with the old conflicting version. Authors: - Charles Blackmon-Luca (https://github.com/charlesbluca) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) - GALI PREM SAGAR (https://github.com/galipremsagar) - Richard (Rick) Zamora (https://github.com/rjzamora) URL: #8755
Pins the `isort` pre-commit hook to 5.6.4 to correspond with the version bump in gpuCI (see rapidsai/integration#286). Also moves the pre-commit configuration to the root directory so it can be detected when running `pre-commit`. Authors: - Charles Blackmon-Luca (https://github.com/charlesbluca) Approvers: - https://github.com/jakirkham URL: #73
This change is intended for 21.08
With
isort
5.6.0 came the ability to resort .pxd files, in addition to .pyx. By bumping the version here, we could begin enforcing .pxd package sorting on RAPIDS projects with Cython code.Also relevant to rapidsai/cudf#8215