Browse Source

upgrade further to Pydantic 2.10

pull/15139/head
svlandeg 4 months ago
parent
commit
8afefc88e4
  1. 2
      .github/workflows/test.yml
  2. 4
      pyproject.toml
  3. 2
      uv.lock

2
.github/workflows/test.yml

@ -104,7 +104,7 @@ jobs:
run: uv sync --no-dev --group tests --extra all
- name: Ensure that we have the lowest supported Pydantic version
if: matrix.uv-resolution == 'lowest-direct'
run: uv pip install "pydantic==2.9.0"
run: uv pip install "pydantic==2.10.0"
- name: Install Starlette from source
if: matrix.starlette-src == 'starlette-git'
run: uv pip install "git+https://github.com/Kludex/starlette@main"

4
pyproject.toml

@ -43,7 +43,7 @@ classifiers = [
]
dependencies = [
"starlette>=0.46.0",
"pydantic>=2.9.0",
"pydantic>=2.10.0",
"typing-extensions>=4.8.0",
"typing-inspection>=0.4.2",
"annotated-doc>=0.0.2",
@ -156,7 +156,7 @@ docs-tests = [
]
github-actions = [
"httpx >=0.27.0,<1.0.0",
"pydantic >=2.5.3,<3.0.0",
"pydantic >=2.10.0,<3.0.0",
"pydantic-settings >=2.1.0,<3.0.0",
"pygithub >=2.3.0,<3.0.0",
"pyyaml >=5.3.1,<7.0.0",

2
uv.lock

@ -1249,7 +1249,7 @@ requires-dist = [
{ name = "jinja2", marker = "extra == 'all'", specifier = ">=3.1.5" },
{ name = "jinja2", marker = "extra == 'standard'", specifier = ">=3.1.5" },
{ name = "jinja2", marker = "extra == 'standard-no-fastapi-cloud-cli'", specifier = ">=3.1.5" },
{ name = "pydantic", specifier = ">=2.9.0" },
{ name = "pydantic", specifier = ">=2.10.0" },
{ name = "pydantic-extra-types", marker = "extra == 'all'", specifier = ">=2.0.0" },
{ name = "pydantic-extra-types", marker = "extra == 'standard'", specifier = ">=2.0.0" },
{ name = "pydantic-extra-types", marker = "extra == 'standard-no-fastapi-cloud-cli'", specifier = ">=2.0.0" },

Loading…
Cancel
Save