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

Build failure: python3Packages.h5py-mpi #353624

Closed
markuskowa opened this issue Nov 4, 2024 · 1 comment
Closed

Build failure: python3Packages.h5py-mpi #353624

markuskowa opened this issue Nov 4, 2024 · 1 comment
Labels

Comments

@markuskowa
Copy link
Member

python3Packages.h5py-mpi fails to build on nixpkgs master (efd6331). Note that python3Packages.h5py is fine.
The build failure was introduced with h5py's upgrade from 3.11.0 to 3.12.1.
I could trace it back with git bisect to 612942f (#345326).

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-build -A python3Packages.h5py-mpi

Build log

Creating a wheel...
* Getting build dependencies for wheel...
/build/h5py-3.12.1/api_gen.py:78: SyntaxWarning: invalid escape sequence '\.'
  PATTERN = re.compile("""(?P<mpi>(MPI)[ ]+)?
/build/h5py-3.12.1/api_gen.py:91: SyntaxWarning: invalid escape sequence '\*'
  SIG_PATTERN = re.compile("""
/build/h5py-3.12.1/setup_configure.py:48: SyntaxWarning: invalid escape sequence '\d'
  m = re.match('(\d+)\.(\d+)\.(\d+)(?:\.\d+)?$', s)

ERROR Missing dependencies:
        mpi4py==3.1.6; python_version >= "3.12"

Additional context

Add any other context about the problem here.

Notify maintainers

CC @doronbehar

Metadata


Add a 👍 reaction to issues you find important.

@markuskowa markuskowa added the 0.kind: build failure A package fails to build label Nov 4, 2024
@doronbehar
Copy link
Contributor

That re.match issue is an upstream issue, but not really harmful. The fix was easy #353635 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants