Permalink
Browse files

Declare dependencies with version ranges rather than single versions

…and lock exact versions in a simple, hopefully obvious
requirements-locked.txt file.  Notably, the exact versions are locked
with `pip freeze` so that transitive deps are included as well.

This matches changes in augur, where using `pip freeze` is much more
useful with a larger and more varied set of deps.

I generated the requirements-locked.txt using `pip freeze --local` in a
clean virtualenv after installing requirements.txt.
  • Loading branch information...
tsibley committed Jun 7, 2018
1 parent 5e68eb7 commit fc410fbfe1210ea928a1606d4cc8f09d0bbdcbc3
Showing with 5 additions and 2 deletions.
  1. +2 −0 requirements-locked.txt
  2. +3 −2 requirements.txt
@@ -0,0 +1,2 @@
biopython==1.71
numpy==1.14.4
@@ -1,2 +1,3 @@
biopython==1.69
numpy==1.14.3
# biopython requires numpy is installed first if compilation is necessary
numpy >=1.14.3, ==1.14.*
biopython >=1.69, ==1.*

0 comments on commit fc410fb

Please sign in to comment.