-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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
check finder type before passing path #76448
check finder type before passing path #76448
Conversation
ci_complete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix looks sane, I've got some ideas for how to test...
Something didn't feel right here- the fix is fine, but looking at current At first glance, this is actually a setuptools bug that was introduced here: pypa/setuptools#1563 - they added support for The setuptools patch is pretty trivial... |
Proposed a setuptools patch for this going forward, but we should also keep |
FYI @felixfontein re: c.g test failures from the collection loader py3 update |
e6e7235
to
21fd0db
Compare
@s-hertel @nitzmahone thanks for fixing this! |
* check finder type before passing path ci_complete * Reduce nesting * Test find_module does not cause a traceback with Python 3 FileFinder * Update lib/ansible/utils/collection_loader/_collection_finder.py
SUMMARY
Attempt to fix #76225 (comment)
ISSUE TYPE