[ENH]: Bump dependencies #253

Merged
fraimondo merged 5 commits from maint/update_deps into main 2023-10-04 14:01:38 +00:00
7 changed files with 46 additions and 40 deletions

View file

@ -3,23 +3,23 @@ channels:
- conda-forge - conda-forge
synchon commented 2023-10-04 12:10:20 +00:00 (Migrated from github.com)

sphinx and not phinx?

`sphinx` and not `phinx`?
fraimondo commented 2023-10-04 12:12:35 +00:00 (Migrated from github.com)

bad copy paste

bad copy paste
- defaults - defaults
dependencies: dependencies:
- python=3.10 - python>=3.10,<=3.11
- click=8.1.* - click=8.1.*
- numpy>=1.22,<1.24 - numpy>=1.22,<1.27
- pandas>=1.4.0,<1.6 - pandas>=1.4.0,<2.2
- nibabel>=3.2.0,<4.1 - nibabel>=3.2.0,<5.2
- nilearn>=0.9.0,<=0.10.0 - nilearn>=0.9.0,<=0.10.1
- sqlalchemy>=1.4.27,<= 1.5.0 - sqlalchemy>=1.4.27,<= 2.0.21
- ruamel.yaml=0.17.* - ruamel.yaml=0.17.*
- h5py=3.8.* - h5py>=3.8,<=3.9
- seaborn=0.11.* - seaborn>=0.11,<=0.13
- Sphinx=5.3.* - sphinx>=5.3,<7.3
- sphinx-gallery=0.11.* - sphinx-gallery>=0.11.0,<0.15.0
- furo>=2022.9.29,<2023.0.0 - furo>=2022.9.29,<2023.10.0
- numpydoc=1.5.* - numpydoc>=1.5.0,<1.6
- sphinx-copybutton=0.5.* - sphinx-copybutton>=0.5.1,<0.5.3
- towncrier=22.12.* - towncrier>=22.12.0,<23.7
- sphinxcontrib-mermaid=0.8.* - sphinxcontrib-mermaid>=0.8.1,<0.10
- tox - tox
- ipykernel - ipykernel
- pytest-cov - pytest-cov
@ -29,5 +29,5 @@ dependencies:
- codespell - codespell
- pip - pip
- pip: - pip:
- datalad>=0.15.4,<0.19 - datalad>=0.15.4,<0.20
- julearn==0.2.5 - julearn==0.3.0

View file

@ -0,0 +1 @@
Update dependencies requirements by `Fede Raimondo`_

View file

@ -171,7 +171,7 @@ Writing Examples
The format used for text is reST. Check the `sphinx reST reference`_ for more The format used for text is reST. Check the `sphinx reST reference`_ for more
details. The examples are run and displayed in HTML format using details. The examples are run and displayed in HTML format using
`sphinx gallery`_. To add an example, just create a ``.py`` file that starts `sphinx gallery`_. To add an example, just create a ``.py`` file that starts
either with ``plot_`` or ``run_``, dependending on whether the example generates either with ``plot_`` or ``run_``, depending on whether the example generates
a figure or not. a figure or not.
The first lines of the example should be a Python block comment with a title, The first lines of the example should be a Python block comment with a title,

View file

@ -10,14 +10,14 @@ Requirements
junifer is compatible with `Python`_ >= 3.8 and requires the following packages: junifer is compatible with `Python`_ >= 3.8 and requires the following packages:
* ``click>=8.1.3,<8.2`` * ``click>=8.1.3,<8.2``
* ``numpy>=1.22,<1.24`` * ``numpy>=1.24,<1.27``
* ``datalad>=0.15.4,<0.19`` * ``datalad>=0.15.4,<0.20``
* ``pandas>=1.4.0,<1.6`` * ``pandas>=1.4.0,<2.2``
* ``nibabel>=3.2.0,<4.1`` * ``nibabel>=3.2.0,<5.11``
* ``nilearn>=0.9.0,<=0.10.0`` * ``nilearn>=0.9.0,<=0.11.0``
* ``sqlalchemy>=1.4.27,<= 1.5.0`` * ``sqlalchemy>=1.4.27,<= 2.1.0``
* ``ruamel.yaml>=0.17,<0.18`` * ``ruamel.yaml>=0.17,<0.18``
* ``h5py>=3.8.0,<3.9`` * ``h5py>=3.8.0,<3.10``
Depending on the installation method, these packages might be installed Depending on the installation method, these packages might be installed
automatically. automatically.

View file

@ -2,3 +2,4 @@ master
nin nin
chang chang
sepulcre sepulcre
arange

View file

@ -397,6 +397,10 @@ class JuniferNiftiSpheresMasker(NiftiSpheresMasker):
params = get_params(NiftiSpheresMasker, self) params = get_params(NiftiSpheresMasker, self)
# New in nilearn 0.10.1
if hasattr(self, "clean_kwargs"):
params["clean_kwargs"] = self.clean_kwargs
signals, _ = self._cache( signals, _ = self._cache(
_filter_and_extract, ignore=["verbose", "memory", "memory_level"] _filter_and_extract, ignore=["verbose", "memory", "memory_level"]
)( )(

View file

@ -40,15 +40,15 @@ classifiers = [
] ]
dependencies = [ dependencies = [
"click>=8.1.3,<8.2", "click>=8.1.3,<8.2",
"numpy>=1.24,<1.26", "numpy>=1.24,<1.27",
"datalad>=0.15.4,<0.19", "datalad>=0.15.4,<0.20",
"pandas>=1.4.0,<1.6", "pandas>=1.4.0,<2.2",
"nibabel>=3.2.0,<4.1", "nibabel>=3.2.0,<5.11",
"nilearn>=0.9.0,<=0.10.0", "nilearn>=0.9.0,<=0.11.0",
"sqlalchemy>=1.4.27,<= 1.5.0", "sqlalchemy>=1.4.27,<= 2.1.0",
"ruamel.yaml>=0.17,<0.18", "ruamel.yaml>=0.17,<0.18",
"importlib_metadata; python_version < '3.10'", "importlib_metadata; python_version < '3.10'",
"h5py>=3.8.0,<3.9", "h5py>=3.8.0,<3.10",
] ]
dynamic = ["version"] dynamic = ["version"]
@ -63,15 +63,15 @@ junifer = "junifer.api.cli:cli"
[project.optional-dependencies] [project.optional-dependencies]
dev = ["tox", "pre-commit"] dev = ["tox", "pre-commit"]
docs = [ docs = [
"seaborn>=0.11.2,<0.12", "seaborn>=0.11.2,<0.13",
"Sphinx>=5.3.0,<5.4", "sphinx>=5.3.0,<7.3",
"sphinx-gallery>=0.11.0,<0.12", "sphinx-gallery>=0.11.0,<0.15.0",
"furo>=2022.9.29,<2023.0.0", "furo>=2022.9.29,<2023.10.0",
"numpydoc>=1.5.0,<1.6", "numpydoc>=1.5.0,<1.6",
"julearn==0.3.0", "julearn>=0.3.0,<0.4",
"sphinx-copybutton==0.5.1", "sphinx-copybutton>=0.5.1,<0.5.3",
"towncrier==22.12.0", "towncrier>=22.12.0,<23.7",
"sphinxcontrib-mermaid==0.8.1", "sphinxcontrib-mermaid>=0.8.1,<0.10",
] ]
onthefly = ["bctpy==0.6.0"] onthefly = ["bctpy==0.6.0"]