From f79e90135c8dc3a4a2d5bc7de705eb0657a65009 Mon Sep 17 00:00:00 2001 From: Danilo Horta Date: Mon, 17 Jun 2024 15:41:14 +0100 Subject: [PATCH] Update tf.extractall filter and numpy version --- build_ext.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_ext.py b/build_ext.py index 4cf1c12..f5f2386 100644 --- a/build_ext.py +++ b/build_ext.py @@ -39,7 +39,7 @@ def build_deps(pwd: Path, user: str, project: str, version: str): lf.write(data) with tarfile.open(ext_dir / tar_filename) as tf: - tf.extractall(ext_dir) + tf.extractall(ext_dir, filter="data") cmake_bin = get_cmake_bin() subprocess.check_call( diff --git a/pyproject.toml b/pyproject.toml index 0ecad02..0ba7107 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,11 +23,11 @@ include = [ [tool.poetry.dependencies] appdirs = "*" cffi = "*" -numpy = "*" pooch = "*" pytest = "*" python = "^3.9" urllib3 = ">=1.26" +numpy = "^2.0" [tool.poetry.group.dev.dependencies] pytest = "^7"