From d158b73c1a42fa46bbc71d84f5becee27026f178 Mon Sep 17 00:00:00 2001 From: John Huddleston Date: Fri, 21 Jan 2022 13:24:00 -0800 Subject: [PATCH] Repin major versions for required and full deps Although we recently relaxed version pinning for development dependencies [1], we still need to maintain major version limits for base and full requirements to prevent unexpected issues when those dependencies release new major versions. For example, a new major pandas version has a potential to produce breaking changes. [1] https://github.com/nextstrain/augur/pull/821 --- setup.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index f78572b05..4de8ff07d 100644 --- a/setup.py +++ b/setup.py @@ -47,19 +47,19 @@ package_data = {'augur': ['data/*']}, python_requires = '>={}'.format('.'.join(str(n) for n in min_version)), install_requires = [ - "bcbio-gff >=0.6.0", + "bcbio-gff >=0.6.0, ==0.6.*", "biopython >=1.67, !=1.77, !=1.78", - "jsonschema >=3.0.0", + "jsonschema >=3.0.0, ==3.*", "packaging >=19.2", - "pandas >=1.0.0", - "phylo-treetime", - "xopen >=1.0.1" + "pandas >=1.0.0, ==1.*", + "phylo-treetime ==0.8.*", + "xopen >=1.0.1, ==1.*" ], extras_require = { 'full': [ - "cvxopt >=1.1.9", - "matplotlib >=2.0", - "seaborn >=0.9.0" + "cvxopt >=1.1.9, ==1.*", + "matplotlib >=2.0, ==2.*", + "seaborn >=0.9.0, ==0.9.*" ], 'dev': [ "cram >=0.7",