Skip to content

Commit

Permalink
fix: dependencies for minian and CI
Browse files Browse the repository at this point in the history
* pin click version for CI
* pin jinja version to 2.11.3
* pin pytest version for CI
* pin coverage version for CI

fix #208 #206
  • Loading branch information
phildong authored Jun 18, 2022
1 parent a6d3339 commit f2da3f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pyformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Format with black
run: |
$CONDA/bin/conda install -c conda-forge black==20.8b1
$CONDA/bin/conda install -c conda-forge black==20.8b1 click==8.0.4
# stop the build if there are Python syntax errors or undefined names
$CONDA/bin/black minian
- name: Check for modified files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testandcov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
environment-file: environment.yml
- name: Install test dependencies
run: |
conda install -c conda-forge black==20.8b1 pytest pytest-cov pytest-rerunfailures
conda install -c conda-forge black==20.8b1 click==8.0.4 pytest==7.0.1 pytest-cov pytest-rerunfailures coverage==6.3.3
- name: Lint with black
run: |
black --check minian
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ dependencies:
- pymetis=2020.1
- rechunker=0.3.3
- medpy=0.4.0
- jinja2=2.11.3
1 change: 1 addition & 0 deletions requirements/requirements-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ sparse==0.11.2
pymetis==2020.1
rechunker==0.3.3
medpy==0.4.0
jinja2==2.11.3

0 comments on commit f2da3f9

Please sign in to comment.