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

Use regular dictionary instead of defaultdict #164

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Conversation

fsouza
Copy link
Collaborator

@fsouza fsouza commented Oct 11, 2022

This makes sure that we don't break multiprocessing. Also introduce a
test to prevent future regressions. I should have added that test ages
ago :)

Closes #163.

@fsouza fsouza force-pushed the fix-lambda-error branch 2 times, most recently from 1b35eb5 to 1bf1f6c Compare October 11, 2022 02:27
@fsouza fsouza marked this pull request as ready for review October 11, 2022 02:27
@fsouza fsouza changed the title Fix pickle error with multiprocessing logic Use regular dictionary instead of defaultdict Oct 11, 2022
@fsouza fsouza force-pushed the fix-lambda-error branch 3 times, most recently from b5bf6f2 to bc630ca Compare October 11, 2022 03:08
This makes sure that we don't break multiprocessing. Also introduce a
test to prevent future regressions. I should have added that test ages
ago :)

Use --check and check just the exit status to avoid a flaky output. I'll
investigate that later, for now, let's make sure we fix the buggy
release.

Closes #163.
@fsouza fsouza merged commit eecb1cc into main Oct 11, 2022
@fsouza fsouza deleted the fix-lambda-error branch October 11, 2022 03:12
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.

AttributeError: Can't pickle local object 'merge_configuration_file.<locals>.<lambda>'
1 participant