Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Relax the Python package version requirements #157

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/test_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
requires: ['minimal', 'latest']

steps:
- name: Check out repository
Expand All @@ -24,6 +25,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Set min. dependencies
if: matrix.requires == 'minimal'
run: |
python -c "req = open('requirements.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
# uses: actions/cache@v2
# id: cache
Expand Down
26 changes: 13 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
joblib==1.1.*
matplotlib==3.6.*
nibabel==3.0.*
numpy==1.20.*;python_version=="3.8"
numpy==1.21.*;python_version=="3.9"
pandas==2.0.3
joblib>=1.1.0
matplotlib>=3.6.0,<3.8
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
setuptools==44.0.*
scipy==1.4.*;python_version=="3.8"
scipy==1.5.*;python_version=="3.9"
statsmodels==0.10.*;python_version=="3.8"
statsmodels==0.13.*;python_version=="3.9"
vtk==9.1.*;python_version>="3.8" and python_version<="3.9"
vtk==9.2.*;python_version>="3.10"
scipy>=1.4.0,<1.11.0;python_version=="3.8"
scipy>=1.5.0;python_version=="3.9"
setuptools>=44.0.0
statsmodels>=0.10.0,<0.13.0;python_version=="3.8"
statsmodels>=0.13.0;python_version=="3.9"
vtk>=9.1.0,<9.2.0;python_version>="3.8" and python_version<="3.9"
vtk>=9.2.0;python_version>="3.10"
xlrd
Loading