Add python3.13 tests, bump qutip==5.1.0 and other dependencies #93
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Root of the issue was with the breaking changes introduced in major version 5 of
qutip
, which now returns an internal representation of sparse matrices (theCSR
class) when calling.data
. This is not supporteddtype
forscipy
. As per the release notes, thedata_as("csr_matrix")
retains the old behaviour, and isscipy
compatible. Also, the argument nameinpt
changed toarg
.As a consequence, have to drop support for Python 3.8 and 3.9 as these are not supported by the new qutip version.
Whitespace changes caused by re-running
black
, along with some changes to pass the latestflake8
version.While pinning versions, also added tests for Python 3.13 to try and get a working feedstock. Appears to be a (not very widely?) known bug with GHA windows runners, Python3.13 and threading, so exclude that from testing matrix. Conda-forge runs on Azure so hoping this won't affect their builds.
Also macOS runners are deprecated, so bumped this to macOS14 for the OpenMP builds - this means changing the environment variables for using the libomp install by brew.
Closes #92