Skip to content

Commit 613126e

Browse files
committed
update test to use pydantic 2
1 parent 2938fec commit 613126e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/core_tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
5050
mamba install --yes \
5151
"psutil=5.9.5" \
52-
"pydantic=1.10.13" \
52+
"pydantic=2.6.1" \
5353
"pypyr=5.8.0" \
5454
"pytables=3.6.1" \
5555
"pytest-cov" \
@@ -149,7 +149,7 @@ jobs:
149149
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
150150
mamba install --yes \
151151
"psutil=5.9.5" \
152-
"pydantic=1.10.13" \
152+
"pydantic=2.6.1" \
153153
"pypyr=5.8.0" \
154154
"pytables=3.6.1" \
155155
"pytest-cov" \
@@ -247,7 +247,7 @@ jobs:
247247
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
248248
mamba install --yes \
249249
"psutil=5.9.5" \
250-
"pydantic=1.10.13" \
250+
"pydantic=2.6.1" \
251251
"pypyr=5.8.0" \
252252
"pytables=3.6.1" \
253253
"pytest-cov" \
@@ -344,7 +344,7 @@ jobs:
344344
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
345345
mamba install --yes \
346346
"psutil=5.9.5" \
347-
"pydantic=1.10.13" \
347+
"pydantic=2.6.1" \
348348
"pypyr=5.8.0" \
349349
"pytables=3.6.1" \
350350
"pytest-cov" \
@@ -411,7 +411,7 @@ jobs:
411411
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
412412
mamba install --yes \
413413
"psutil=5.9.5" \
414-
"pydantic=1.10.13" \
414+
"pydantic=2.6.1" \
415415
"pypyr=5.8.0" \
416416
"pytables=3.6.1" \
417417
"pytest-cov" \
@@ -477,7 +477,7 @@ jobs:
477477
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
478478
mamba install --yes \
479479
"psutil=5.9.5" \
480-
"pydantic=1.10.13" \
480+
"pydantic=2.6.1" \
481481
"pypyr=5.8.0" \
482482
"pytables=3.6.1" \
483483
"pytest-cov" \

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ install_requires =
3333
platformdirs
3434
psutil >= 4.1
3535
pyarrow >= 2.0
36+
pydantic >= 2.6
3637
pypyr >= 5.3
3738
pyyaml >= 5.1
3839
requests >= 2.7

0 commit comments

Comments
 (0)