Commit
2 years ago
gh-36609: avoid using `itertools.pairwise` Method `pairwise` has been introduced in `itertools` version 3.10. As reported in #36493, its use breaks the condo workflow with Python 3.9. So we modify the code to avoid using `pairwise`. ### :memo: Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### :hourglass: Dependencies See discussion https://github.com/sagemath/sage/pull/36493#issuecomment-1786350920, URL: https://github.com/sagemath/sage/pull/36609 Reported by: David Coudert Reviewer(s): Tobias Diez
Author
Release Manager
Loading