File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ classifiers = [
40
40
]
41
41
requires-python = ' >=3.8'
42
42
dependencies = [
43
- ' pydantic>=2.3 .0' ,
43
+ ' pydantic>=2.7 .0' ,
44
44
' python-dotenv>=0.21.0' ,
45
45
]
46
46
dynamic = [' version' ]
Original file line number Diff line number Diff line change 2
2
# This file is autogenerated by pip-compile with Python 3.11
3
3
# by the following command:
4
4
#
5
- # pip-compile --extra=toml --extra=yaml --output-file=requirements/pyproject.txt pyproject.toml
5
+ # pip-compile --extra=toml --extra=yaml,toml --output-file=requirements/pyproject.txt pyproject.toml
6
6
#
7
7
annotated-types==0.6.0
8
8
# via pydantic
9
- pydantic==2.6.1
9
+ pydantic==2.7.0
10
10
# via pydantic-settings (pyproject.toml)
11
- pydantic-core==2.16.2
11
+ pydantic-core==2.18.1
12
12
# via pydantic
13
13
python-dotenv==1.0.1
14
14
# via pydantic-settings (pyproject.toml)
Original file line number Diff line number Diff line change @@ -1870,10 +1870,11 @@ class Settings(BaseSettings):
1870
1870
s = Settings ()
1871
1871
assert exc_info .value .errors (include_url = False ) == [
1872
1872
{
1873
- 'type' : 'int_parsing ' ,
1873
+ 'type' : 'enum ' ,
1874
1874
'loc' : ('fruit' ,),
1875
- 'msg' : 'Input should be a valid integer, unable to parse string as an integer ' ,
1875
+ 'msg' : 'Input should be 0, 1 or 2 ' ,
1876
1876
'input' : 'kiwi' ,
1877
+ 'ctx' : {'expected' : '0, 1 or 2' },
1877
1878
}
1878
1879
]
1879
1880
You can’t perform that action at this time.
0 commit comments