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

Update ecosystem build tooling #901

Merged
merged 20 commits into from
Sep 10, 2024
Merged

Update ecosystem build tooling #901

merged 20 commits into from
Sep 10, 2024

Conversation

mlxd
Copy link
Member

@mlxd mlxd commented Sep 9, 2024

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

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 mlxd added the ci:build_wheels Activate wheel building. label Sep 9, 2024
@mlxd
Copy link
Member Author

mlxd commented Sep 9, 2024

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

@mlxd mlxd marked this pull request as ready for review September 9, 2024 19:46
@mlxd mlxd marked this pull request as draft September 9, 2024 20:07
@mlxd mlxd marked this pull request as ready for review September 9, 2024 20:20
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

❗ 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
@@             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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mlxd mlxd changed the title Update Pybind11 again Update Pybind11, MacOS version, and CIBW Sep 10, 2024
@mlxd mlxd changed the title Update Pybind11, MacOS version, and CIBW Update ecosystem build tooling Sep 10, 2024
@mlxd mlxd mentioned this pull request Sep 10, 2024
5 tasks
Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good! Thank you for that. Thank you also for adding warnings to our exceptions!

.github/workflows/wheel_linux_aarch64_cuda.yml Outdated Show resolved Hide resolved
Copy link
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mlxd 🎉

.github/CHANGELOG.md Show resolved Hide resolved
setup.py Show resolved Hide resolved
@mlxd mlxd merged commit d5ffb0c into master Sep 10, 2024
99 of 100 checks passed
@mlxd mlxd deleted the np20 branch September 10, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:build_wheels Activate wheel building.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants