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

NETCDF 1.6.0 Breaking Tests #177

Closed
ssolson opened this issue Jul 12, 2022 · 1 comment · Fixed by #181
Closed

NETCDF 1.6.0 Breaking Tests #177

ssolson opened this issue Jul 12, 2022 · 1 comment · Fixed by #181
Assignees
Labels
bug Something isn't working

Comments

@ssolson
Copy link
Contributor

ssolson commented Jul 12, 2022

The latest version of NETCDF has breaking changes for MHKiT's tests during the installation process of the tests.

As an immediate fix, I will require the previous version of NetCDF in the Develop branch to complete the current PR to update the Development to the master branch for PR #176.

I will follow up on the error below in a future PR.

Downloading netCDF4-1.6.0.tar.gz (774 kB)
     -------------------------------------- 774.2/774.2 kB 8.2 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  python setup.py egg_info did not run successfully.
  exit code: 1
  [29 lines of output]
  reading from setup.cfg...
      HDF5_DIR environment variable not set, checking some standard locations ..
  checking C:\Miniconda\envs\test\include ...
  hdf5 headers not found in C:\Miniconda\envs\test\include
  checking C:\Miniconda\envs\test\Library\include ...
  hdf5 headers not found in C:\Miniconda\envs\test\Library\include
  checking C:\Users\runneradmin\include ...
  hdf5 headers not found in C:\Users\runneradmin\include
  checking /usr/local\include ...
  hdf5 headers not found in /usr/local\include
  checking /sw\include ...
  hdf5 headers not found in /sw\include
  checking /opt\include ...
  hdf5 headers not found in /opt\include
  checking /opt/local\include ...
  hdf5 headers not found in /opt/local\include
  checking /opt/homebrew\include ...
  hdf5 headers not found in /opt/homebrew\include
  checking /usr\include ...
  hdf5 headers not found in /usr\include
  Traceback (most recent call last):
    File "<string>", line 36, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-install-1ff035lt\netcdf4_b33f62e6324c4054b6b47aa5a10d45a5\setup.py", line 444, in <module>
      _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs)
    File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-install-1ff035lt\netcdf4_b33f62e6324c4054b6b47aa5a10d45a5\setup.py", line 385, in _populate_hdf5_info
Error:       raise ValueError('did not find HDF5 headers')
  ValueError: did not find HDF5 headers
  [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Error: Process completed with exit code 1.
This was referenced Jul 18, 2022
@ssolson ssolson linked a pull request Jul 25, 2022 that will close this issue
@ssolson ssolson self-assigned this Jul 26, 2022
@ssolson ssolson added the bug Something isn't working label Jul 26, 2022
@ssolson
Copy link
Contributor Author

ssolson commented May 11, 2023

Fixed in #194

Additoinal package checks are now occuring in #240

@ssolson ssolson closed this as completed May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant