1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Markus Demleitner <gavo@ari.uni-heidelberg.de>
Date: Mon, 5 May 2025 13:06:55 +0200
Subject: Fix for unicode_ removal from numpy2
---
gavo/votable/simple.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gavo/votable/simple.py b/gavo/votable/simple.py
index 44799f4..9b67883 100644
--- a/gavo/votable/simple.py
+++ b/gavo/votable/simple.py
@@ -29,7 +29,7 @@ try:
"floatComplex": numpy.complex64,
"doubleComplex": numpy.complex128,
"unsignedByte": numpy.uint8,
- "unicodeChar": numpy.unicode_
+ "unicodeChar": numpy.str_,
}
except ImportError:
# keep numpy optional
|