From 7177fb732b7718e94c103584dde2a48c84a76314 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 8 Oct 2023 08:34:29 +0100 Subject: [PATCH 1/2] Pin Matplotlib to < 3.8 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index b05201cb..70ad93a2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,7 +27,7 @@ project_urls = [options] packages = find: install_requires = - matplotlib + matplotlib<3.8 napari numpy tinycss2 From 07c545b6c117718488a737ca0bcc5361e9f42258 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 8 Oct 2023 08:37:17 +0100 Subject: [PATCH 2/2] Add pin to pre-commit-config --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e7732ce..63bb3a79 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: rev: v1.5.1 hooks: - id: mypy - additional_dependencies: [numpy, matplotlib] + additional_dependencies: [numpy, matplotlib<3.8] - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version.