Python bindings - #11
Merged
Merged
Conversation
ryanmrichard
marked this pull request as ready for review
April 7, 2026 21:03
ryanmrichard
marked this pull request as draft
April 7, 2026 21:03
BUILD_PYBIND11_BINDINGS=ON and BUILD_TESTING=OFF just restate the CMake option() defaults in set_default_nwx_options.cmake; the Release/Debug build type is now decided there too, based on DEVELOPER_SETUP.
PyPI trusted publishing can't authenticate a job whose job_workflow_ref points at a reusable workflow; deploy_to_pypi must be called directly from a job defined in this repo's own workflow file. deploy_nwx_pypi.yaml has been removed from .github for this reason.
pypa/gh-action-pypi-publish refuses to run on non-Linux runners
("This action is only able to run under GNU/Linux environments"),
confirmed live via fork testing on the macos-14 leg. Each matrix leg
now only builds and uploads its wheel as an artifact; a separate
ubuntu-only job downloads all of them and does the single actual
PyPI upload.
nwchemex-nwxcmake is now published to PyPI (0.1.0), so this can drop the git+ dependency on the ryanmrichard fork it was originally developed against -- this repo's CI/CMake config already pointed at NWChemEx, this was the one remaining reference.
|
🚀 [bumpr] Bumped! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Is this pull request associated with an issue(s)?
No.
Description
This PR starts stub Python bindings and more importantly tests packaging with pip and PyPI.
TODOs
See if this can be used downstream.