Skip to content

Commit

Permalink
Support Python 3.11 (#796)
Browse files Browse the repository at this point in the history
* Support Python 3.11

* Pin minimum version of numpy

* Pin minimum version of nibabel

* update setup.cfg

* Update setup.cfg
  • Loading branch information
JulioAPeraza committed May 3, 2023
1 parent a96f472 commit 77f9eee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ NiMARE requires Python ``>=3.8`` and a number of packages.
For a complete list, please see ``nimare/setup.cfg``.

.. note::
We only support Python versions that are part of the Python release cycle (i.e., 3.8, 3.9, and
3.10). For more information, see `Python Supported Versions`_.
We only support Python versions that are part of the Python release cycle (i.e., 3.8, 3.9,
3.10, and 3.11). For more information, see `Python Supported Versions`_.

What Next?
----------
Expand Down
11 changes: 5 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,23 @@ classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering

[options]
python_requires = >= 3.6
python_requires = >= 3.8
install_requires =
cognitiveatlas # nimare.annotate.cogat
fuzzywuzzy # nimare.annotate
joblib # parallelization
matplotlib>=3.3 # this is for nilearn, which doesn't include it in its reqs
nibabel>=3.2.0 # I/O of niftis
nilearn>=0.10.1
numba # used by sparse
numpy>=1.19.0
numba>=0.57.0 # used by sparse
numpy>=1.21
pandas>=1.1.5
pymare~=0.0.4rc2 # nimare.meta.ibma and stats
requests # nimare.extract
Expand Down Expand Up @@ -86,7 +85,7 @@ minimum =
matplotlib==3.3.4
nibabel==3.2.0
nilearn==0.10.1
numpy==1.19.0
numpy==1.21
pandas==1.1.5
pymare==0.0.4rc2
scikit-learn==1.0.0
Expand Down

0 comments on commit 77f9eee

Please sign in to comment.