Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

flake8 started failing between Mar 17 and Mar 19 2018 #99

Closed
mikaelarguedas opened this issue Mar 19, 2018 · 3 comments
Closed

flake8 started failing between Mar 17 and Mar 19 2018 #99

mikaelarguedas opened this issue Mar 19, 2018 · 3 comments

Comments

@mikaelarguedas
Copy link
Member

All jobs show flake8 failures as of this morning, e.g.: https://ci.ros2.org/view/nightly/job/nightly_linux_debug/774/

Not sure when it broke as nightlies were broken over the weekend.

cc @dhood as build_cop

@dhood
Copy link
Member

dhood commented Mar 19, 2018

Python dependency changes over the weekend: https://www.diffchecker.com/n8oVIXWn

Regression from this PR in flake8-builtins; gforcada/flake8-builtins@7580be7#diff-fef87cfd8dd8ac2667a6ba1e5a368dc1R129

Issue already reported at: gforcada/flake8-builtins#19

Will look at pinning to older version to avoid failures while it's being addressed upstream.

@dhood
Copy link
Member

dhood commented Mar 19, 2018

This was only failing on some files not all; for us, a file/files in rclpy and a file/files in rosidl_parser. In the upstream issue, pulling out tuples in a for loop was listed as one of the causes. We have that at https://github.com/ros2/rosidl/blob/774a3cd4509f2d432b7325f60434765a9ccd5cee/rosidl_parser/test/test_parse_primitive_value_string.py#L63 and at https://github.com/ros2/rclpy/blob/7180fdf4769230c93d919702fb853803bbefa43b/rclpy/rclpy/executors.py#L373

Since this isn't code that we want to change, we have pinned in ros2/ci#129 and will revert when the regression is addressed upstream

@dhood
Copy link
Member

dhood commented Mar 20, 2018

unpinned because resolved upstream

@dhood dhood closed this as completed Mar 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants