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

CASMCMS-9225: Do not use itertools.batched #414

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

mharding-hpe
Copy link
Contributor

I made a mistake in the backports for CSM 1.4 and CSM 1.5 yesterday. I didn't modify the code to account for the fact that itertools.batched is not available in the Python version BOS uses in those releases.

We already handle this same thing in src/bos/operators/base.py, where we use that function in CSM 1.6, but use an alternative for previous CSM releases. This PR makes the same adjustment to the redis DB utility code which uses batched in CSM 1.6.

I tested this on baldar and verified that it fixes the issue, passes basic BOS tests, and shows no signs of other issues.

@mharding-hpe mharding-hpe merged commit 2dbbd84 into release/2.10 Dec 19, 2024
6 of 7 checks passed
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.

2 participants