Skip to content

Force parallel h5py installation with setuptools<81#3782

Open
paulromano wants to merge 1 commit intoopenmc-dev:developfrom
paulromano:setuptools-lt-81
Open

Force parallel h5py installation with setuptools<81#3782
paulromano wants to merge 1 commit intoopenmc-dev:developfrom
paulromano:setuptools-lt-81

Conversation

@paulromano
Copy link
Contributor

Description

This PR pins setuptools<81 when building parallel h5py from source in CI to avoid compatibility issues with mpi4py 3.1.4, which is pulled in as a dependency and fails to build with setuptools 81+ because it removed a dry-run parameter that mpi4py used.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@shimwell
Copy link
Member

shimwell commented Feb 7, 2026

would this also work at the top of the pyproject.toml

@paulromano
Copy link
Contributor Author

No, the failure is coming from a line in our CI script before OpenMC is installed itself. I have an idea how to fix it and will try later today or tomorrow when I have a chance

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.

2 participants