numpy 2.3.2__cp313-cp313t-win_arm64.whl → 2.3.4__cp313-cp313t-win_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of numpy might be problematic. Click here for more details.
- numpy/__config__.py +10 -10
- numpy/__init__.py +4 -4
- numpy/__init__.pyi +1101 -340
- numpy/_core/_multiarray_tests.cp313t-win_arm64.pyd +0 -0
- numpy/_core/_multiarray_umath.cp313t-win_arm64.pyd +0 -0
- numpy/_core/_operand_flag_tests.cp313t-win_arm64.pyd +0 -0
- numpy/_core/_rational_tests.cp313t-win_arm64.pyd +0 -0
- numpy/_core/_simd.cp313t-win_arm64.pyd +0 -0
- numpy/_core/_struct_ufunc_tests.cp313t-win_arm64.pyd +0 -0
- numpy/_core/_ufunc_config.py +2 -0
- numpy/_core/_ufunc_config.pyi +52 -6
- numpy/_core/_umath_tests.cp313t-win_arm64.pyd +0 -0
- numpy/_core/lib/{libnpymath.a → npymath.lib} +0 -0
- numpy/_core/lib/pkgconfig/numpy.pc +1 -1
- numpy/_core/numerictypes.py +1 -1
- numpy/_core/tests/test_api.py +34 -1
- numpy/_core/tests/test_datetime.py +24 -0
- numpy/_core/tests/test_numerictypes.py +29 -0
- numpy/_core/tests/test_stringdtype.py +23 -16
- numpy/_core/tests/test_strings.py +15 -0
- numpy/_core/tests/test_umath.py +12 -0
- numpy/exceptions.pyi +2 -0
- numpy/fft/_pocketfft_umath.cp313t-win_arm64.pyd +0 -0
- numpy/lib/_arraysetops_impl.pyi +24 -0
- numpy/lib/_histograms_impl.pyi +8 -8
- numpy/lib/_index_tricks_impl.pyi +12 -0
- numpy/lib/_polynomial_impl.pyi +10 -8
- numpy/lib/mixins.pyi +2 -0
- numpy/lib/tests/test_index_tricks.py +5 -0
- numpy/linalg/_linalg.py +1 -0
- numpy/linalg/_linalg.pyi +32 -39
- numpy/linalg/_umath_linalg.cp313t-win_arm64.pyd +0 -0
- numpy/linalg/lapack_lite.cp313t-win_arm64.pyd +0 -0
- numpy/linalg/tests/test_linalg.py +14 -1
- numpy/ma/extras.pyi +4 -0
- numpy/random/_bounded_integers.cp313t-win_arm64.pyd +0 -0
- numpy/random/_common.cp313t-win_arm64.pyd +0 -0
- numpy/random/_generator.cp313t-win_arm64.pyd +0 -0
- numpy/random/_mt19937.cp313t-win_arm64.pyd +0 -0
- numpy/random/_pcg64.cp313t-win_arm64.pyd +0 -0
- numpy/random/_philox.cp313t-win_arm64.pyd +0 -0
- numpy/random/_sfc64.cp313t-win_arm64.pyd +0 -0
- numpy/random/bit_generator.cp313t-win_arm64.pyd +0 -0
- numpy/random/lib/{libnpyrandom.a → npyrandom.lib} +0 -0
- numpy/random/mtrand.cp313t-win_arm64.pyd +0 -0
- numpy/random/tests/test_generator_mt19937.py +5 -0
- numpy/testing/_private/extbuild.pyi +3 -3
- numpy/testing/_private/utils.pyi +1 -1
- numpy/tests/test_configtool.py +1 -1
- numpy/typing/tests/data/fail/arithmetic.pyi +1 -1
- numpy/typing/tests/data/fail/bitwise_ops.pyi +4 -4
- numpy/typing/tests/data/fail/scalars.pyi +6 -6
- numpy/typing/tests/data/reveal/arithmetic.pyi +29 -29
- numpy/typing/tests/data/reveal/array_constructors.pyi +5 -5
- numpy/typing/tests/data/reveal/bitwise_ops.pyi +10 -11
- numpy/typing/tests/data/reveal/linalg.pyi +6 -6
- numpy/typing/tests/data/reveal/mod.pyi +18 -19
- numpy/version.py +2 -2
- numpy-2.3.4.dist-info/DELVEWHEEL +2 -0
- {numpy-2.3.2.dist-info → numpy-2.3.4.dist-info}/LICENSE.txt +881 -881
- {numpy-2.3.2.dist-info → numpy-2.3.4.dist-info}/METADATA +1 -1
- {numpy-2.3.2.dist-info → numpy-2.3.4.dist-info}/RECORD +64 -65
- numpy/_typing/_callable.pyi +0 -366
- numpy-2.3.2.dist-info/DELVEWHEEL +0 -2
- {numpy-2.3.2.dist-info → numpy-2.3.4.dist-info}/WHEEL +0 -0
- {numpy-2.3.2.dist-info → numpy-2.3.4.dist-info}/entry_points.txt +0 -0
|
@@ -4,7 +4,6 @@ from typing import assert_type
|
|
|
4
4
|
|
|
5
5
|
import numpy as np
|
|
6
6
|
import numpy.typing as npt
|
|
7
|
-
from numpy._typing import _64Bit
|
|
8
7
|
|
|
9
8
|
f8: np.float64
|
|
10
9
|
i8: np.int64
|
|
@@ -109,51 +108,51 @@ assert_type(divmod(AR_b, b_), tuple[npt.NDArray[np.int8], npt.NDArray[np.int8]])
|
|
|
109
108
|
|
|
110
109
|
assert_type(i8 % b, np.int64)
|
|
111
110
|
assert_type(i8 % i8, np.int64)
|
|
112
|
-
assert_type(i8 % f, np.float64
|
|
113
|
-
assert_type(i8 % f8, np.float64
|
|
114
|
-
assert_type(i4 % i8, np.
|
|
115
|
-
assert_type(i4 % f8, np.float64
|
|
111
|
+
assert_type(i8 % f, np.float64)
|
|
112
|
+
assert_type(i8 % f8, np.float64)
|
|
113
|
+
assert_type(i4 % i8, np.signedinteger)
|
|
114
|
+
assert_type(i4 % f8, np.float64)
|
|
116
115
|
assert_type(i4 % i4, np.int32)
|
|
117
|
-
assert_type(i4 % f4, np.
|
|
116
|
+
assert_type(i4 % f4, np.floating)
|
|
118
117
|
assert_type(i8 % AR_b, npt.NDArray[np.int64])
|
|
119
118
|
|
|
120
119
|
assert_type(divmod(i8, b), tuple[np.int64, np.int64])
|
|
121
|
-
assert_type(divmod(i8, i4), tuple[np.
|
|
120
|
+
assert_type(divmod(i8, i4), tuple[np.signedinteger, np.signedinteger])
|
|
122
121
|
assert_type(divmod(i8, i8), tuple[np.int64, np.int64])
|
|
123
122
|
# workarounds for https://github.com/microsoft/pyright/issues/9663
|
|
124
|
-
assert_type(i8.__divmod__(f), tuple[np.
|
|
125
|
-
assert_type(i8.__divmod__(f8), tuple[np.
|
|
126
|
-
assert_type(divmod(i8, f4), tuple[np.floating
|
|
123
|
+
assert_type(i8.__divmod__(f), tuple[np.float64, np.float64])
|
|
124
|
+
assert_type(i8.__divmod__(f8), tuple[np.float64, np.float64])
|
|
125
|
+
assert_type(divmod(i8, f4), tuple[np.floating, np.floating])
|
|
127
126
|
assert_type(divmod(i4, i4), tuple[np.int32, np.int32])
|
|
128
|
-
assert_type(divmod(i4, f4), tuple[np.
|
|
127
|
+
assert_type(divmod(i4, f4), tuple[np.floating, np.floating])
|
|
129
128
|
assert_type(divmod(i8, AR_b), tuple[npt.NDArray[np.int64], npt.NDArray[np.int64]])
|
|
130
129
|
|
|
131
130
|
assert_type(b % i8, np.int64)
|
|
132
|
-
assert_type(f % i8, np.float64
|
|
131
|
+
assert_type(f % i8, np.float64)
|
|
133
132
|
assert_type(i8 % i8, np.int64)
|
|
134
133
|
assert_type(f8 % i8, np.float64)
|
|
135
|
-
assert_type(i8 % i4, np.
|
|
134
|
+
assert_type(i8 % i4, np.signedinteger)
|
|
136
135
|
assert_type(f8 % i4, np.float64)
|
|
137
136
|
assert_type(i4 % i4, np.int32)
|
|
138
|
-
assert_type(f4 % i4, np.
|
|
137
|
+
assert_type(f4 % i4, np.floating)
|
|
139
138
|
assert_type(AR_b % i8, npt.NDArray[np.int64])
|
|
140
139
|
|
|
141
140
|
assert_type(divmod(b, i8), tuple[np.int64, np.int64])
|
|
142
|
-
assert_type(divmod(f, i8), tuple[np.
|
|
141
|
+
assert_type(divmod(f, i8), tuple[np.float64, np.float64])
|
|
143
142
|
assert_type(divmod(i8, i8), tuple[np.int64, np.int64])
|
|
144
143
|
assert_type(divmod(f8, i8), tuple[np.float64, np.float64])
|
|
145
|
-
assert_type(divmod(i4, i8), tuple[np.
|
|
144
|
+
assert_type(divmod(i4, i8), tuple[np.signedinteger, np.signedinteger])
|
|
146
145
|
assert_type(divmod(i4, i4), tuple[np.int32, np.int32])
|
|
147
146
|
# workarounds for https://github.com/microsoft/pyright/issues/9663
|
|
148
|
-
assert_type(f4.__divmod__(i8), tuple[np.floating
|
|
149
|
-
assert_type(f4.__divmod__(i4), tuple[np.
|
|
147
|
+
assert_type(f4.__divmod__(i8), tuple[np.floating, np.floating])
|
|
148
|
+
assert_type(f4.__divmod__(i4), tuple[np.floating, np.floating])
|
|
150
149
|
assert_type(AR_b.__divmod__(i8), tuple[npt.NDArray[np.int64], npt.NDArray[np.int64]])
|
|
151
150
|
|
|
152
151
|
# float
|
|
153
152
|
|
|
154
153
|
assert_type(f8 % b, np.float64)
|
|
155
154
|
assert_type(f8 % f, np.float64)
|
|
156
|
-
assert_type(i8 % f4, np.floating
|
|
155
|
+
assert_type(i8 % f4, np.floating)
|
|
157
156
|
assert_type(f4 % f4, np.float32)
|
|
158
157
|
assert_type(f8 % AR_b, npt.NDArray[np.float64])
|
|
159
158
|
|
numpy/version.py
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"""
|
|
3
3
|
Module to expose more detailed version info for the installed `numpy`
|
|
4
4
|
"""
|
|
5
|
-
version = "2.3.
|
|
5
|
+
version = "2.3.4"
|
|
6
6
|
__version__ = version
|
|
7
7
|
full_version = version
|
|
8
8
|
|
|
9
|
-
git_revision = "
|
|
9
|
+
git_revision = "1458b9e79d1a5755eae9adcb346758f449b6b430"
|
|
10
10
|
release = 'dev' not in version and '+' not in version
|
|
11
11
|
short_version = version.split("+")[0]
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Version: 1.11.1
|
|
2
|
+
Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-atlhb64r\\cp313t-win_arm64\\build\\venv\\Scripts\\delvewheel', 'repair', '--add-path', 'C:/a/numpy-release/numpy-release/.openblas/lib', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-atlhb64r\\cp313t-win_arm64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-atlhb64r\\cp313t-win_arm64\\built_wheel\\numpy-2.3.4-cp313-cp313t-win_arm64.whl']
|