Skip to content

Commit

Permalink
Fix build (#323)
Browse files Browse the repository at this point in the history
* BLD: pin black to >= 22.3.0

see psf/black#2966

* STY: line length - flake8

* BLD: pin scipy < 1.9.0

scikit-bio/scikit-bio#1818
  • Loading branch information
fedarko committed Oct 20, 2022
1 parent 59d0d65 commit 1d2972e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qurro/tests/test_integration_matching.py
Expand Up @@ -40,9 +40,9 @@ def test_dropping_all_samples():


def test_dropping_all_samples_and_features():
"""Tests Qurro's behavior when > 0 feature(s) and all samples are unsupported.
"""Tests Qurro when > 0 feature(s) & all samples are unsupported.
In particular, qurro should just throw an error about the
In particular, Qurro should just throw an error about the
feature(s) being unsupported -- the feature check should come before the
sample check (not for any particular reason, that's just how I wrote the
code).
Expand Down
8 changes: 7 additions & 1 deletion setup.py
Expand Up @@ -88,6 +88,10 @@
# SparseDataFrame is dead, long live DataFrame
"pandas >= 1",
"scikit-bio > 0.5.3",
# Due to scikit-bio problems -- pinning to < 1.9.0. Should be hopefully
# fixed when a new scikit-bio release comes out.
# (https://github.com/biocore/scikit-bio/issues/1818)
"scipy >= 1.3.0, < 1.9.0",
],
# Based on how Altair splits up its requirements:
# https://github.com/altair-viz/altair/blob/master/setup.py
Expand All @@ -96,7 +100,9 @@
"pytest >= 4.2",
"pytest-cov >= 2.0",
"flake8",
"black",
# If we don't pin black to being at least 22.3.0, then it and click
# will conflict w/ an error: https://github.com/psf/black/pull/2966
"black >= 22.3.0",
"nbconvert",
]
},
Expand Down

0 comments on commit 1d2972e

Please sign in to comment.