py-nilearn: fix dependency version (#34284)

This commit is contained in:
Manuela Kuhn 2022-12-02 23:04:46 +01:00 committed by GitHub
parent 99044bedd7
commit c10b84f08d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ class PyNilearn(PythonPackage):
# older py-nilearn versions use matplotlib.cm.revcmap which was deprecated
# in py-matplotlib@3.4:
depends_on("py-matplotlib@1.5.1:3.3", when="@:0.5 +plotting", type=("build", "run"))
depends_on("py-matplotlib@1.1.1:3.3", when="0.4.2 +plotting", type=("build", "run"))
depends_on("py-matplotlib@1.1.1:3.3", when="@0.4.2 +plotting", type=("build", "run"))
@property
def skip_modules(self):