diff --git a/setup.py b/setup.py index 4afb10d5..cc8190b8 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ "rich", # pydantic.v1.parse_obj is broken in ==2.0.0: # https://github.com/pydantic/pydantic/issues/6361 - "pydantic>=1.9.0,!=2.0.0", + "pydantic>=1.9.0,<3,!=2.0.0", "ruamel.yaml", "semver>=3.0.0", "entrypoints",