PennyLaneAI / pennylane-lightning

The PennyLane-Lightning plugin provides a fast state-vector simulator written in C++ for use with PennyLane
https://docs.pennylane.ai/projects/lightning
Apache License 2.0
86 stars 35 forks source link

Update ecosystem build tooling #901

Closed mlxd closed 3 weeks ago

mlxd commented 3 weeks ago

Before submitting

Please complete the following checklist when submitting a PR:

When all the above are checked, delete everything above the dashed line and fill in the pull request template.


Context: Update Pybind11 to the latest release (2.13.5) for enabling Numpy 2.0 support, amongst other fixes. In addition, an upgrade to CIBW is required, as well as a new minimum version for MacOS support to 12.0

Description of the Change: Pybind11 updated to v2.13.5. CiBuildWheel updated to 2.20. MacOS wheel builds updated to a minimum support of 12.0. Allow import failure to return as warning for debugging.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

mlxd commented 3 weeks ago

Due to upstream dependency on PennyLane, we can await the NP2.0 migration to complete before proceeding with this PR. CI will currently indicate any breakage with 1.x numpy support

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.03%. Comparing base (37d9715) to head (ee29c1b). Report is 1 commits behind head on master.

:exclamation: There is a different number of reports uploaded between BASE (37d9715) and HEAD (ee29c1b). Click for more details.

HEAD has 2 uploads less than BASE | Flag | BASE (37d9715) | HEAD (ee29c1b) | |------|------|------| ||10|8|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #901 +/- ## =========================================== - Coverage 96.24% 83.03% -13.22% =========================================== Files 212 24 -188 Lines 28102 2169 -25933 =========================================== - Hits 27047 1801 -25246 + Misses 1055 368 -687 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.