Skip to content

CI, STYLE sync flake8 versions #40783

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
Apr 9, 2021

Conversation

MarcoGorelli
Copy link
Member

@MarcoGorelli MarcoGorelli commented Apr 5, 2021

There's been a couple of recent CI failures due to differences in flake8 versions: #40481, #40457

CI failures due to style checks are really annoying, so I think it's worth adding a check to ensure they're in-sync. There's already a hook with pyyaml as additional dependency, so that environment will be reused for this check.

@MarcoGorelli MarcoGorelli added CI Continuous Integration Code Style Code style, linting, code_checks labels Apr 5, 2021
@MarcoGorelli MarcoGorelli force-pushed the sync-flake8-version branch from 2de4aa9 to c2560c7 Compare April 5, 2021 14:00
@MarcoGorelli MarcoGorelli reopened this Apr 6, 2021
@MarcoGorelli MarcoGorelli requested a review from jreback April 6, 2021 17:28
@@ -20,7 +20,7 @@ dependencies:
# code checks
- black=20.8b1
- cpplint
- flake8
- flake8=3.9.0
Copy link
Contributor

Choose a reason for hiding this comment

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

can we have 1 build where this is unpinned?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, but there's the risk that there's be another annoying CI failure like #40457

If there's a new flake8 release, this'll get bumped up anyway by the weekly autoupdate job

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah this is ok then.

@jreback jreback added this to the 1.3 milestone Apr 8, 2021
@jreback
Copy link
Contributor

jreback commented Apr 8, 2021

can you merge master and merge on green.

@jreback jreback merged commit 9bfa67c into pandas-dev:master Apr 9, 2021
@jreback
Copy link
Contributor

jreback commented Apr 9, 2021

thanks @MarcoGorelli

@MarcoGorelli MarcoGorelli deleted the sync-flake8-version branch April 9, 2021 19:51
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants