File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 5555 | SupportsArrayNamespace [Any ]
5656 )
5757
58- _API_VERSIONS_OLD : Final = frozenset ({"2021.12" , "2022.12" , "2023.12" })
59- _API_VERSIONS : Final = _API_VERSIONS_OLD | frozenset ({"2024 .12" })
58+ _API_VERSIONS_OLD : Final = frozenset ({"2021.12" , "2022.12" , "2023.12" , "2024.12" })
59+ _API_VERSIONS : Final = _API_VERSIONS_OLD | frozenset ({"2025 .12" })
6060
6161
6262@lru_cache (100 )
@@ -485,11 +485,11 @@ def is_array_api_strict_namespace(xp: Namespace) -> bool:
485485def _check_api_version (api_version : str | None ) -> None :
486486 if api_version in _API_VERSIONS_OLD :
487487 warnings .warn (
488- f"The { api_version } version of the array API specification was requested but the returned namespace is actually version 2024 .12"
488+ f"The { api_version } version of the array API specification was requested but the returned namespace is actually version 2025 .12"
489489 )
490490 elif api_version is not None and api_version not in _API_VERSIONS :
491491 raise ValueError (
492- "Only the 2024 .12 version of the array API specification is currently supported"
492+ "Only the 2025 .12 version of the array API specification is currently supported"
493493 )
494494
495495
@@ -589,7 +589,7 @@ def array_namespace(
589589
590590 api_version: str
591591 The newest version of the spec that you need support for (currently
592- the compat library wrapped APIs support v2024 .12).
592+ the compat library wrapped APIs support v2025 .12).
593593
594594 use_compat: bool or None
595595 If None (the default), the native namespace will be returned if it is
You can’t perform that action at this time.
0 commit comments