Skip to content

Conversation

@mshafer-NI
Copy link
Collaborator

flake8-import-order errors with

  File "/home/rfmibuild/myagent/_work/_temp/nidev-setup-oBKZYQJg-py3.8/lib/python3.8/site-packages/flake8_import_order/__init__.py", line 103, in visit_Import
    if node.col_offset == 0 or self._type_checking_import(node):
  File "/home/rfmibuild/myagent/_work/_temp/nidev-setup-oBKZYQJg-py3.8/lib/python3.8/site-packages/flake8_import_order/__init__.py", line 149, in _type_checking_import
    node.parent.test.value.id in {"t", "typing"}
AttributeError: 'Name' object has no attribute 'value'
"""

The above exception was the direct cause of the following exception:

Issue #212

@github-actions
Copy link
Contributor

Thank you for contributing! 👋

@mshafer-NI mshafer-NI changed the title block 0.18.3, it is broken pin to 0.18 because 0.19 is broken Jun 16, 2025
Copy link
Collaborator Author

@mshafer-NI mshafer-NI left a comment

Choose a reason for hiding this comment

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

I don't see a 0.18.3 on PyPI, not even a yanked version.

Fixed. Now pinning to <0.19.0

@mshafer-NI mshafer-NI requested a review from bkeryan June 16, 2025 17:38
@neilvana neilvana merged commit c664cce into ni:main Jun 20, 2025
19 checks passed
@mshafer-NI mshafer-NI deleted the dev/block_flake8_import_order_0_18_3 branch June 20, 2025 16:45
mshafer-NI added a commit that referenced this pull request Jun 20, 2025
* block 0.18.3, it is broken

* update dep pin to correct version and specify GH Issue that needs resolved to unpin
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