Skip to content

Commit 1e4c9db

Browse files
committed
Update pydantic dependency to v2
1 parent a56b004 commit 1e4c9db

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

pyproject.toml

+4-9
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"graypy>=1.0",
3030
"marshmallow",
3131
"requests",
32-
"pydantic<2",
32+
"pydantic>2",
3333
"setuptools",
3434
"workflows>=2.14",
3535
]
@@ -89,14 +89,12 @@ profile = "black"
8989

9090
[tool.pytest.ini_options]
9191
required_plugins = "pytest-mock requests-mock"
92-
testpaths = [
93-
"tests",
94-
]
92+
testpaths = ["tests"]
9593

9694
[tool.ruff]
9795
line-length = 88
9896
ignore = ["E501", "E741"]
99-
select = ["C4", "E", "F", "W", "I"]
97+
select = ["C4", "E", "F", "W", "I"]
10098
unfixable = ["F841"]
10199

102100
[tool.ruff.isort]
@@ -107,8 +105,5 @@ mypy_path = "src"
107105

108106

109107
[[tool.mypy.overrides]]
110-
module = [
111-
"graypy",
112-
"graypy.handler",
113-
]
108+
module = ["graypy", "graypy.handler"]
114109
ignore_missing_imports = true

requirements_dev.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PyYAML==6.0
22
graypy==2.1.0
3-
marshmallow==3.19.0
4-
pydantic==1.10.12
3+
marshmallow==3.21
4+
pydantic==2.8
55
pytest-cov==4.1.0
6-
pytest-mock==3.11.1
7-
pytest==7.4.0
8-
requests==2.31.0
9-
requests_mock==1.11.0
10-
workflows==2.26
6+
pytest-mock==3.14.0
7+
pytest==8.2.2
8+
requests==2.32.3
9+
requests_mock==1.12.1
10+
workflows==2.27

0 commit comments

Comments
 (0)