From 39a72ba1900305d1d6001cc5100c3622a2009ae7 Mon Sep 17 00:00:00 2001 From: Yadej <106529900+yadej@users.noreply.github.com> Date: Mon, 29 Jun 2026 14:27:07 +0200 Subject: [PATCH] Pin a maximal version of numpy due to mypy problem --- pyproject.toml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c74c01364..e0b0e83a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "0.2.dev1" license = { text = "BSD 3 Clause" } authors = [{ name = "Hugo Pompougnac", email = "hugo.pompougnac@inria.fr" }] classifiers = ["Programming Language :: Python :: 3"] -dependencies = ['jinja2', 'matplotlib', 'numpy', 'ordered-set', 'py-cpuinfo', 'tqdm', 'typing_extensions', 'pyyaml','scikit-learn','lit','filecheck','xdsl~=0.57.1', 'strictyaml'] +dependencies = ['jinja2', 'matplotlib', 'numpy<2.3', 'ordered-set', 'py-cpuinfo', 'tqdm', 'typing_extensions', 'pyyaml','scikit-learn','lit','filecheck','xdsl~=0.57.1', 'strictyaml'] requires-python = ">=3.10" [project.optional-dependencies] diff --git a/requirements.txt b/requirements.txt index 44aed7683..f42e8bec4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ jinja2 matplotlib -numpy +numpy<2.3 ordered-set py-cpuinfo tqdm