Skip to content

Commit

Permalink
ENH: Transfer testing dependencies to the development requirements file
Browse files Browse the repository at this point in the history
Transfer testing dependencies to the development requirements file.
  • Loading branch information
jhlegarreta committed Oct 21, 2023
1 parent 9fc123b commit 3519253
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
if: matrix.requires == 'minimal'
run: |
python -c "req = open('requirements.txt').read().replace(' >= ', ' == ') ; open('requirements.txt', 'w').write(req)"
python -c "req = open('requirements_dev.txt').read().replace(' >= ', ' == ') ; open('requirements.txt', 'w').write(req)"
python -c "req = open('setup.py').read().replace(' >= ', ' == ') ; open('setup.py', 'w').write(req)"
# - name: Cache pip
Expand All @@ -45,6 +46,7 @@ jobs:
# if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade --user pip setuptools pytest-cov
pip install -r requirements_dev.txt
python --version
pip --version
pip list
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ nibabel>=3.0.0
numpy>=1.20.0,<1.21.0;python_version=="3.8"
numpy>=1.21.0;python_version>="3.9"
pandas<2.1.0
pytest
pytest_console_scripts
scipy>=1.4.0,<1.11.0;python_version=="3.8"
scipy>=1.5.0;python_version=="3.9"
scipy>=1.9.0;python_version>="3.10"
Expand Down
2 changes: 2 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pre-commit
pytest
pytest_console_scripts

0 comments on commit 3519253

Please sign in to comment.