Skip to content

Commit b53d68c

Browse files
authored
Merge pull request #4262 from ev-br/array_api_2024.12
Add 2024.12 to allowed array API versions
2 parents a25f7d9 + 98afa8f commit b53d68c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

hypothesis-python/RELEASE.rst

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
RELEASE_TYPE: minor
2+
3+
Add 2024.12 to the list of recognized Array API versions in
4+
``hypothesis.extra.array_api``.

hypothesis-python/src/hypothesis/extra/array_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363
]
6464

6565

66-
RELEASED_VERSIONS = ("2021.12", "2022.12", "2023.12")
66+
RELEASED_VERSIONS = ("2021.12", "2022.12", "2023.12", "2024.12")
6767
NOMINAL_VERSIONS = (*RELEASED_VERSIONS, "draft")
6868
assert sorted(NOMINAL_VERSIONS) == list(NOMINAL_VERSIONS) # sanity check
69-
NominalVersion = Literal["2021.12", "2022.12", "2023.12", "draft"]
69+
NominalVersion = Literal["2021.12", "2022.12", "2023.12", "2024.12", "draft"]
7070
assert get_args(NominalVersion) == NOMINAL_VERSIONS # sanity check
7171

7272

0 commit comments

Comments
 (0)