-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Description
Running project code that works fine in Python 3.9. Attempting to run the same code in Python 3.13, it crashes almost immediately. A screenshot of the full CLI output will be shared in Slack, but the bottom level claims to be an issue with "dimod/cyvariables.pyx," specifically that "The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()."
This is especially striking because this bug does not occur in earlier version of the project code, but changes since then haven't made changes that should affect the use of this library in any way I can see.
Steps To Reproduce
Bug is related to a D-Wave internal codebase, I'll post steps to access and reproduce in a Slack thread.
Bug should occur almost immediately.
Expected Behavior
I expected the code to run as normal, as it still does in both my Python 3.9 environment and earlier versions of this repo running on Python 3.13
Environment
- OS: Ubuntu 22.04.5
- Python version: 3.13.2 when the bug occurs. (Ordinarily runs on 3.9.22 and the bug does not occur.)