-
Notifications
You must be signed in to change notification settings - Fork 425
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
Added conjunction to comma_join, fixed islist #4184
Conversation
Added ability to change the conjunction used by comma_join. Fixed islist bug which caused it to incorrectly treat classes with __iter__ as lists (e.g. islist(dict)).
It would appear that the failing test (macOS py37-release: test_api_build/test_env_creation_fail_exits_build) is unrelated to this change and fails erratically as seen in other pipelines. |
@mingwandroid - still no rush just didn't want to forget about these changes |
Hey @njalerikson, they've not been forgotten, as soon as I get back to conda-build, merging your changes will be my top priority. Thanks for the ping. |
Blast from the past! |
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Conda Bot <[email protected]> Co-authored-by: Ken Odegard <[email protected]> Co-authored-by: Jannis Leidel <[email protected]> Co-authored-by: Bianca Henderson <[email protected]> Co-authored-by: conda-bot <[email protected]> fix islist (#4184)
Added ability to change the conjunction used by
comma_join
(e.g.comma_join(iterable, conjunction="or"
). Fixedislist
bug which caused it to incorrectly treat classes with__iter__
as lists (e.g.islist(dict)
).Both of these changes are prompted by #4179, separated out here to make reviewing easier.