pyrefly-numpy-stubs 1.4.0.dev4__tar.gz → 1.4.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pyrefly-numpy-stubs
3
- Version: 1.4.0.dev4
3
+ Version: 1.4.1
4
4
  Summary: NumPy type stubs with array-shape tracking, maintained by Pyrefly
5
5
  Project-URL: homepage, https://pyrefly.org
6
6
  Project-URL: documentation, https://pyrefly.org/en/docs/
@@ -34,7 +34,7 @@ Classifier: Programming Language :: Python :: 3
34
34
  Classifier: Typing :: Stubs Only
35
35
  Requires-Python: >=3.12
36
36
  Requires-Dist: numpy
37
- Requires-Dist: pyrefly-shape-extensions==1.4.0.dev4
37
+ Requires-Dist: pyrefly-shape-extensions==1.4.1
38
38
  Description-Content-Type: text/markdown
39
39
 
40
40
  # pyrefly-numpy-stubs
@@ -206,7 +206,7 @@ from numpy._shapes import (
206
206
  vecdot_shape,
207
207
  vecmat_shape,
208
208
  )
209
- from numpy._typing import ArrayLike
209
+ from numpy._typing import _ArrayLikeInt_co, ArrayLike
210
210
  from numpy._typing._extended_precision import (
211
211
  complex256 as complex256,
212
212
  float128 as float128,
@@ -479,8 +479,12 @@ type _ArrayIndex = (
479
479
  _BasicIndex
480
480
  | _IndexScalar
481
481
  | _IndexSequence
482
+ | _ArrayLikeInt_co
482
483
  | ndarray
483
- | tuple[_BasicIndex | _IndexScalar | _IndexSequence | ndarray, ...]
484
+ | tuple[
485
+ _BasicIndex | _IndexScalar | _IndexSequence | _ArrayLikeInt_co | ndarray,
486
+ ...,
487
+ ]
484
488
  )
485
489
  type _ArrayScalar = None | py_bool | int | float | complex | str | bytes | generic
486
490
 
@@ -8,7 +8,7 @@ description = "NumPy type stubs with array-shape tracking, maintained by Pyrefly
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.12"
10
10
  license = { file = "LICENSE" }
11
- version = "1.4.0.dev4"
11
+ version = "1.4.1"
12
12
  keywords = ["typechecker", "typechecking", "stubs", "numpy"]
13
13
  classifiers = [
14
14
  "Development Status :: 4 - Beta",
@@ -18,7 +18,7 @@ classifiers = [
18
18
  "Typing :: Stubs Only",
19
19
  ]
20
20
  dependencies = [
21
- "pyrefly-shape-extensions==1.4.0.dev4",
21
+ "pyrefly-shape-extensions==1.4.1",
22
22
  "numpy",
23
23
  ]
24
24