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

Add python3.13 tests, bump qutip==5.1.0 and other dependencies #93

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

patrick-austin
Copy link
Contributor

@patrick-austin patrick-austin commented Jan 13, 2025

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 (the CSR class) when calling .data. This is not supported dtype for scipy. As per the release notes, the data_as("csr_matrix") retains the old behaviour, and is scipy compatible. Also, the argument name inpt changed to arg.

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 latest flake8 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

@patrick-austin patrick-austin marked this pull request as ready for review January 15, 2025 16:29
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.

Update dependencies/pin them to working versions
1 participant