Skip to content

Commit e65858d

Browse files
committed
Restore the original Poetry state after a Tox run by using the same Pydantic version spec
1 parent e854743 commit e65858d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ labels = core
2121
allowlist_externals = poetry
2222
commands_pre =
2323
poetry install --only main --only test --no-root --all-extras
24-
poetry add 'pydantic==*'
24+
poetry add 'pydantic>=1.8'
2525
commands = poetry run pytest -vv tests
2626

2727
[testenv:type_pydantic1]
@@ -35,7 +35,7 @@ commands = poetry run mypy openapi_pydantic tests
3535
allowlist_externals = poetry
3636
commands_pre =
3737
poetry install --no-root --all-extras
38-
poetry add 'pydantic==*'
38+
poetry add 'pydantic>=1.8'
3939
commands = poetry run mypy openapi_pydantic tests
4040

4141
[testenv:format]

0 commit comments

Comments
 (0)