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

Make setup.py require the latest pinned version of HDMF #1083

Merged
merged 2 commits into from
Oct 7, 2019
Merged

Conversation

rly
Copy link
Contributor

@rly rly commented Oct 7, 2019

Motivation

All future releases of PyNWB will require HDMF>=1.3.2 (where generic types moved from PyNWB to HDMF), but setup.py currently does not specify which version of HDMF is required. If a user upgrades to the latest PyNWB (1.1.0), the version of HDMF that they are using must also be upgraded, but this is currently not happening.

This PR puts into setup.py a requirement to use the release of HDMF that is pinned in requirements.txt (currently 1.3.2). This is almost always the latest version of HDMF.

This PR will also prevent another issue where a user has the latest release of PyNWB and the latest release of HDMF but these two versions are incompatible with each other, as they are currently (see #1071 (comment)).

@rly rly changed the title Make setup require hdmf>=1.3.2 Make setup.py require the latest pinned version of HDMF Oct 7, 2019
@rly rly requested review from ajtritt, bendichter and oruebel October 7, 2019 06:57
@codecov
Copy link

codecov bot commented Oct 7, 2019

Codecov Report

Merging #1083 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #1083   +/-   ##
=======================================
  Coverage   67.39%   67.39%           
=======================================
  Files          38       38           
  Lines        2288     2288           
  Branches      393      393           
=======================================
  Hits         1542     1542           
  Misses        677      677           
  Partials       69       69

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 5c6c202...f5babb7. Read the comment docs.

@rly rly merged commit c6ec626 into dev Oct 7, 2019
@rly rly deleted the enh/fix_setup branch October 7, 2019 17:09
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