From 258f1ce542638f79d8e54f60030b10d8852bc31d Mon Sep 17 00:00:00 2001 From: shengchenyang <15538221825@163.com> Date: Sun, 17 Nov 2024 13:46:32 +0800 Subject: [PATCH] build: update pyproject about numpy --- poetry.lock | 4 ++-- pyproject.toml | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 5efce5b..50af0b1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3741,10 +3741,10 @@ test = ["coverage[toml]", "zope.event", "zope.testing"] testing = ["coverage[toml]", "zope.event", "zope.testing"] [extras] -all = ["Pillow", "elasticsearch-dsl", "mmh3", "numpy", "numpy", "opencv-python", "oracledb", "oss2", "psycopg", "psycopg-binary", "psycopg-pool", "pycryptodome", "python-hcl2", "pyyaml"] +all = ["Pillow", "elasticsearch-dsl", "mmh3", "numpy", "opencv-python", "oracledb", "oss2", "psycopg", "psycopg-binary", "psycopg-pool", "pycryptodome", "python-hcl2", "pyyaml"] database = ["elasticsearch-dsl", "oracledb", "psycopg", "psycopg-binary", "psycopg-pool"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "b3b2347e9d636978d106ffa71bf19b8590055915e6d750f40ac5bf892cc86a6f" +content-hash = "ced176a9ef37fc5db5e34d3d19569229c2c9ebed25c3059fa311e130d75a05aa" diff --git a/pyproject.toml b/pyproject.toml index e3a7cfa..9b42df2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,10 +34,7 @@ python-hcl2 = { version = "^4.3.0", optional = true } pyyaml = { version = "~6.0", optional = true } opencv-python = { version = "~4.8.0.74", optional = true } Pillow = { version = "^9.2.0", optional = true } -numpy = [ - { version = "~1.24.3", python = "<3.9", optional = true }, - { version = "~1.26.0", python = ">=3.9,<3.13", optional = true }, -] +numpy = { version = "~1.26.0", optional = true } psycopg-binary = { version = "~3.1.13", optional = true } psycopg = { version = "~3.1.13", optional = true } psycopg-pool = { version = "~3.2.0", optional = true }