From fd517eac051d13695ba5c3a47bcadd9ac4c053b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Mon, 16 Dec 2024 22:30:46 +0100 Subject: [PATCH] fixup! DEP: drop scipy as a hard dependency --- pyproject.toml | 1 + uv.lock | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8a4cad24..51dd9114 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ all = [ "cmocean>=3.0.3", "cmyt>=2.0.0", "lick>=0.5.1", + "scipy>=1.6.1", ] [project.license] diff --git a/uv.lock b/uv.lock index 9e3fe337..d53ebd18 100644 --- a/uv.lock +++ b/uv.lock @@ -839,8 +839,6 @@ dependencies = [ { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, { name = "numpy", version = "2.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, { name = "packaging" }, - { name = "scipy", version = "1.13.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, - { name = "scipy", version = "1.14.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, { name = "termcolor" }, { name = "tqdm" }, { name = "typing-extensions", marker = "python_full_version < '3.12'" }, @@ -853,6 +851,8 @@ all = [ { name = "cmyt", version = "2.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, { name = "cmyt", version = "2.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, { name = "lick" }, + { name = "scipy", version = "1.13.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, + { name = "scipy", version = "1.14.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, ] [package.dev-dependencies] @@ -885,7 +885,7 @@ requires-dist = [ { name = "matplotlib", specifier = ">=3.5.0" }, { name = "numpy", specifier = ">=1.19.3" }, { name = "packaging", specifier = ">=20.0" }, - { name = "scipy", specifier = ">=1.6.1" }, + { name = "scipy", marker = "extra == 'all'", specifier = ">=1.6.1" }, { name = "termcolor", specifier = ">=2.1.0" }, { name = "tqdm", specifier = ">=4.64.1" }, { name = "typing-extensions", marker = "python_full_version < '3.12'", specifier = ">=4.4.0" },