Skip to content

Commit e4a0c8d

Browse files
authored
MAINT: migrated code for CheckedArray/Session to use pydantic v2 (#1144)
MAINT: migrated code for CheckedArray/Session to use pydantic v2 (fixes #1075)
1 parent 3ce1d81 commit e4a0c8d

File tree

6 files changed

+202
-243
lines changed

6 files changed

+202
-243
lines changed

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pandas >=0.20
44
matplotlib
55
tables # ==pytables
66
openpyxl
7-
pydantic ==1.*
7+
pydantic >=2.12
88

99
# dependencies to actually build the documentation
1010
sphinx ==5.3.0

doc/source/changes/version_0_35.rst.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Backward incompatible changes
2020
will open a window and pause the running script until the window is closed by
2121
the user. To revert to the previous behavior, use show=False.
2222

23+
* Using :py:obj:`CheckedSession`, :py:obj:`CheckedParameters` or :py:obj:`CheckedArray`
24+
now requires to install pydantic >= 2.12 (closes :issue:`1075`).
2325

2426
New features
2527
^^^^^^^^^^^^

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ dependencies:
99
- openpyxl
1010
- xlsxwriter
1111
- pytest >=6
12-
- pydantic ==1.*
12+
- pydantic >= 2.12

0 commit comments

Comments
 (0)