feat: update to pydantic v2 and refactor accordingly
This commit is contained in:
parent
4eb438bab3
commit
eeb1573f99
6 changed files with 1151 additions and 855 deletions
|
|
@ -6,13 +6,14 @@ requires-python = ">=3.10"
|
|||
dependencies = [
|
||||
"typer<1.0.0,>=0.6.1",
|
||||
"rich>=13.3.3",
|
||||
"pydantic>=1.10.7",
|
||||
"pydantic>=2.0.3",
|
||||
"pyyaml>=6.0",
|
||||
"pyrage>=1.0.3",
|
||||
"pyrage>=1.1.1",
|
||||
"pendulum>=2.1.2",
|
||||
"httpx>=0.24.0",
|
||||
"platformdirs>=3.5.1",
|
||||
"httpx-cache>=0.9.0",
|
||||
"pydantic-settings>=2.0.2",
|
||||
]
|
||||
name = "halig"
|
||||
dynamic = ["version"]
|
||||
|
|
@ -76,6 +77,9 @@ docs = [
|
|||
"mkdocs-material>=9.1.5",
|
||||
"mkdocstrings[python]>=0.20.0",
|
||||
]
|
||||
dev = [
|
||||
"bump-pydantic>=0.6.0",
|
||||
]
|
||||
[tool.pytest]
|
||||
mock_use_standalone_module = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue