Skip to content

Conversation

@zachcran
Copy link
Collaborator

@zachcran zachcran commented Oct 7, 2025

Description

Python bindings are not currently working properly with Spack packaging. This PR works on solving that issue.

TODOs

  • Figure out how to propagate +python flag correctly down the stack, since nwchemex-tensorwrapper+python was depending on nwchemex-parallelzone~python for some reason.
    • This may be resolved with a lot of manual dependencies, like depends_on("nwchemex-parallelzone+python", when="+python").
  • Ensure bindings and unit tests are working all the way up the stack.
    • ParallelZone
    • PluginPlay
    • TensorWrapper
    • Chemist
    • SimDE
    • Integrals
    • SCF
    • ChemCache
    • FriendZone
    • NUX
    • NWChemEx

- NWX_MODULE_DIRECTORY is set correctly for all NWChemExBasePybindings-based packages
- ParallelZone and PluginPlay bindings appear to be working
- TensorWrapper and above are in-progress
- The value of NWX_MODULE_DIRECTORY needs to be generalized to any Python version. It currently only works for Python 3.13.
@zachcran
Copy link
Collaborator Author

@jwaldrop107 I think this is ready for another review. I need to check if I can build the whole thing, which will take time, but it all looks right from an surface-level check on my end.

Questions/points of interest for this review:

  • Should the _package.py files the NWChemEx and FriendZone packages be removed?
  • Double check the actions that I pulled in, please. Is there anything else you can think of that should be here?

@zachcran zachcran requested a review from jwaldrop107 January 27, 2026 01:15
Copy link
Member

@jwaldrop107 jwaldrop107 left a comment

Choose a reason for hiding this comment

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

@zachcran In general, LGTM. The actions should be sufficient for the time being. I would say go ahead and remove the two _package.py files.

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.

3 participants