Skip to content
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

Merged
merged 4 commits into from
Jul 24, 2023
Merged

Conversation

kenodegard
Copy link
Contributor

Added ability to change the conjunction used by comma_join (e.g. comma_join(iterable, conjunction="or"). Fixed islist 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.

@anaconda-issue-bot anaconda-issue-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jan 16, 2021
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)).
@kenodegard
Copy link
Contributor Author

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.

@kenodegard
Copy link
Contributor Author

@mingwandroid - still no rush just didn't want to forget about these changes

@mingwandroid
Copy link
Contributor

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.

@beeankha beeankha added the source::anaconda created by members of Anaconda, Inc. label Dec 7, 2022
@kenodegard kenodegard requested a review from a team July 18, 2023 19:30
@kenodegard kenodegard self-assigned this Jul 18, 2023
@jezdez
Copy link
Member

jezdez commented Jul 18, 2023

Blast from the past!

@kenodegard kenodegard merged commit ef382e4 into conda:main Jul 24, 2023
21 checks passed
@kenodegard kenodegard deleted the utils branch July 24, 2023 16:46
jezdez pushed a commit that referenced this pull request Aug 17, 2023
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Conda Bot <conda-bot@users.noreply.github.com>
Co-authored-by: Ken Odegard <kodegard@anaconda.com>
Co-authored-by: Jannis Leidel <jannis@leidel.info>
Co-authored-by: Bianca Henderson <bhenderson@anaconda.com>
Co-authored-by: conda-bot <18747875+conda-bot@users.noreply.github.com>
fix islist (#4184)
@kenodegard kenodegard mentioned this pull request Sep 26, 2023
36 tasks
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Jul 24, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity source::anaconda created by members of Anaconda, Inc.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants