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

Install hdf5 for Python 3.9 tests #315

Merged
merged 3 commits into from
Dec 15, 2020
Merged

Install hdf5 for Python 3.9 tests #315

merged 3 commits into from
Dec 15, 2020

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Dec 14, 2020

On December 9, hdmf released a new version that restricted its h5py dependency version range to <3,>=2.9; as a result, installing dandi with a recent version of pip will install a pre-3.0 version of h5py. However, pre-3.0 versions of h5py do not have Python 3.9 wheels available on PyPI, and so the package must be built from source for Python 3.9, which requires an hdf5 library to be installed. This PR installs such a library for Ubuntu and macOS when testing Python 3.9; testing Python 3.9 on Windows is disabled for now as installing hdf5 on that OS is apparently quite involved.

@jwodder jwodder added the internal Changes only affect the internal API label Dec 14, 2020
@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #315 (9d9691a) into master (cc4a03c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #315   +/-   ##
=======================================
  Coverage   81.72%   81.72%           
=======================================
  Files          54       54           
  Lines        4979     4979           
=======================================
  Hits         4069     4069           
  Misses        910      910           
Flag Coverage Δ
unittests 81.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc4a03c...9d9691a. Read the comment docs.

@yarikoptic
Copy link
Member

Awesome! This would close #313

@jwodder
Copy link
Member Author

jwodder commented Dec 14, 2020

h5py is installing fine now under Python 3.9; the current test failures are a separate issue, resolved by #314.

@yarikoptic
Copy link
Member

Thanks! I have merged #314

@yarikoptic
Copy link
Member

Could you please rebase so we get a clean rerun of workflows with tests fixed?

@jwodder
Copy link
Member Author

jwodder commented Dec 14, 2020

@yarikoptic Rebased.

@yarikoptic yarikoptic merged commit 178e806 into master Dec 15, 2020
@yarikoptic yarikoptic deleted the h5py-py39 branch December 15, 2020 00:11
@jwodder jwodder added tests Add or improve existing tests and removed internal Changes only affect the internal API labels Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Add or improve existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants