From e45a681ce53d9933018122c496a77cd87d39d4a0 Mon Sep 17 00:00:00 2001 From: Peter Baumgartner Date: Fri, 30 Jun 2023 13:08:22 -0600 Subject: [PATCH] Pin to pydantic 1.x 2.0 introduces lots of breaking changes --- CHANGES.rst | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 89b3805..cfae879 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,11 @@ Change Log ========== +unreleased +========== + +- pin to pydantic < 2 due to breaking changes in 2.0 + 3.0.0 (17 January 2023) ================== diff --git a/pyproject.toml b/pyproject.toml index b5fde66..1b69c80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ ] dynamic = ["version"] dependencies = [ - "pydantic>=1.7" + "pydantic >= 1.7, < 2" ] [project.optional-dependencies]