File: 0002-Compatibility-with-numpy-2.patch

package info (click to toggle)
trollimage 1.26.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,248 kB
  • sloc: python: 6,937; makefile: 114
file content (29 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 20 Apr 2024 08:18:45 +0000
Subject: Compatibility with numpy < 2

Forwarded: not-needed
---
 pyproject.toml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 14638ce..f786294 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
 [build-system]
 requires = [
     "wheel",
-    "numpy>=2.0.0rc1,<2.3",
+    "numpy>",
     "setuptools>=42",
     "versioneer",
     "Cython>=3.0.0"
@@ -29,4 +29,4 @@ filterwarnings = [
 log_cli_level = "info"
 testpaths = [
     "trollimage/tests",
-]
\ No newline at end of file
+]