Skip to content

Commit

Permalink
Allow for newer Python versions, Python dependencies. (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e authored Jul 15, 2024
1 parent b80b5f3 commit a2a4a56
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 15 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/run-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.10', '3.11', '3.12']
steps:

- uses: actions/checkout@v4
Expand All @@ -26,12 +26,20 @@ jobs:
python -m pip install --upgrade pip setuptools
pip install tox-gh-actions
- name: Run tox
- name: Lint
if: ${{matrix.python-version == '3.10'}}
run: |
tox -e lint
tox -e coverage
- name: Run tests for all Pythons
run: |
tox -e unit
- name: Run coverage
if: ${{matrix.python-version == '3.10'}}
run: |
tox -e coverage
- name: Upload to codecov
if: ${{matrix.python-version == '3.10'}}
uses: codecov/codecov-action@v4
Expand All @@ -47,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.10', '3.11', '3.12']
steps:

- uses: actions/checkout@v4
Expand Down
24 changes: 13 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
license="Apache-2",
install_requires=[
"bluepysnap==3.0.1",
"numpy==1.24.3",
"pandas==2.0.2",
"progressbar==2.5",
"pyarrow==14.0.1",
"scipy==1.10.1",
"scikit-learn==1.5.0",
"voxcell==3.1.5",
"tables==3.8.0", # Optional dependency of pandas.DataFrame.to_hdf()
"distributed==2023.6.0", # Dask
"dask-mpi==2022.4.0",
"numpy>=1.24.3",
"pandas>=2.0.2",
"progressbar>=2.5",
"pyarrow>=14.0.1",
"scipy>=1.10.1",
"scikit-learn>=1.5.0",
"voxcell>=3.1.5",
"tables>=3.8.0", # Optional dependency of pandas.DataFrame.to_hdf()
"distributed>=2023.6.0", # Dask
"dask-mpi>=2022.4.0",
],
packages=find_packages(),
python_requires="==3.10.*",
python_requires=">=3.10",
extras_require={"docs": ["sphinx", "sphinx-bluebrain-theme"]},
entry_points={
"console_scripts": [
Expand All @@ -59,6 +59,8 @@
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
Expand Down

0 comments on commit a2a4a56

Please sign in to comment.