Bump to pydantic 2.8.0 (#702)

* deps: bump pydantic from 1.10.15 to 2.8.0

Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.15 to 2.8.0.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.15...v2.8.0)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update dependencies
run the bump-pydantic tool.

* Migrate the validate_uuid using field_validator.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Mariatta
2024-07-03 14:20:29 -07:00
committed by GitHub
parent 4d00499f94
commit 7fa3e2ff1a
5 changed files with 172 additions and 95 deletions

View File

@@ -26,10 +26,11 @@ Changelog = "https://github.com/andrewthetechie/py-healthchecks.io/releases"
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^1.9.1"
pydantic = ">=1.9.1,<3.0.0"
httpx = ">=0.23.0,<0.28.0"
croniter = ">=1.1,<3.0"
pytz = ">=2021.3,<2024.0"
packaging = "^24.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"