Skip to content

Commit

Permalink
Restrict pydantic to 1.x (#35)
Browse files Browse the repository at this point in the history
* Restrict pydantic to 1.x.

* Add comment.

Co-authored-by: Maxwell G <maxwell@gtmx.me>

---------

Co-authored-by: Maxwell G <maxwell@gtmx.me>
  • Loading branch information
felixfontein and gotmax23 authored Feb 25, 2023
1 parent fa13cd4 commit 03a2882
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/35-pydantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "Restrict the ``pydantic`` dependency to major version 1 (https://github.com/ansible-community/antsibull-core/pull/35)."
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ aiohttp = ">= 3.0.0"
# major/minor was introduced here
packaging = ">= 20.0"
perky = "*"
pydantic = "*"
# pydantic v2 is a major rewrite
pydantic = ">= 1.0.0 < 2.0.0"
PyYAML = "*"
semantic_version = "*"
sh = ">= 1.0.0 < 2.0.0"
Expand Down

0 comments on commit 03a2882

Please sign in to comment.