Skip to content

Commit

Permalink
rel(2.0.0): run .maint/update_requirements.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Jan 25, 2021
1 parent b374e79 commit be72006
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
def to_min(req):
if req.specifier:
req = copy(req)
min_spec = [spec for spec in req.specifier if spec.operator in (">=", "~=")][0]
try:
min_spec = [spec for spec in req.specifier if spec.operator in (">=", "~=")][0]
except IndexError:
return req
min_spec._spec = ("==",) + min_spec._spec[1:]
req.specifier = SpecifierSet(str(min_spec))
return req
Expand Down
5 changes: 3 additions & 2 deletions min-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Auto-generated by tools/update_requirements.py
# Auto-generated by .maint/update_requirements.py
nibabel==3.0.1
nipype==1.5.1
niworkflows==1.4.0rc0
numpy
pybids==0.11.1
scikit-image
scikit-image==0.18
svgutils!=0.3.2
templateflow==0.6
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Auto-generated by tools/update_requirements.py
# Auto-generated by .maint/update_requirements.py
nibabel>=3.0.1
nipype<2.0,>=1.5.1
niworkflows>=1.4.0rc0
numpy
pybids>=0.11.1
scikit-image
scikit-image>=0.18
svgutils!=0.3.2
templateflow>=0.6

0 comments on commit be72006

Please sign in to comment.