From cdd6d71935d120669a34eb4f20d3105201e5dfb1 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Fri, 17 Dec 2021 11:00:09 +0100 Subject: [PATCH 1/2] Fix package dependencies --- dev-environment.yml | 2 +- setup.py | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-environment.yml b/dev-environment.yml index 696fd2b5..df8e89e6 100644 --- a/dev-environment.yml +++ b/dev-environment.yml @@ -7,10 +7,10 @@ dependencies: - jupyter-packaging - jupyterlab=3 - ipywidgets>=7.6 - - flake8 - pillow - numpy - matplotlib + - flake8 - pytest - nbval - pip: diff --git a/setup.py b/setup.py index 7450a1bf..69ad253f 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,15 @@ long_description=long_description, license='BSD License', include_package_data=True, - install_requires=['ipykernel>=4.7', 'ipywidgets>=7.6.0', 'matplotlib>=2.0.0'], + install_requires=[ + 'ipython<8', + 'numpy', + 'ipython_genutils', + 'pillow', + 'traitlets<6', + 'ipywidgets>=7.6.0,<8', + 'matplotlib>=2.0.0,<4' + ], packages=find_packages(), zip_safe=False, cmdclass=cmdclass, From bbbfb6b938d24b0bbcd98ec6ba3b644b9a55bc64 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 17 Dec 2021 10:01:01 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 69ad253f..e6366ce7 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ 'pillow', 'traitlets<6', 'ipywidgets>=7.6.0,<8', - 'matplotlib>=2.0.0,<4' + 'matplotlib>=2.0.0,<4', ], packages=find_packages(), zip_safe=False,