FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

➖ Drop support for Pydantic v1 by tiangolo · Pull Request #1701 · fastapi/sqlmodel · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .lock  (1) .py  (8) .toml  (1) .yml  (1) All 4 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
14 changes: 0 additions & 14 deletions .github/workflows/test.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,19 @@ jobs:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.14" ]
pydantic-version:
- pydantic-v2
include:
- os: windows-latest
python-version: "3.9"
pydantic-version: pydantic-v2
- os: ubuntu-latest
python-version: "3.10"
pydantic-version: pydantic-v1
- os: macos-latest
python-version: "3.11"
pydantic-version: pydantic-v2
- os: windows-latest
python-version: "3.12"
pydantic-version: pydantic-v1
- os: ubuntu-latest
python-version: "3.13"
pydantic-version: pydantic-v1
- os: macos-latest
python-version: "3.13"
pydantic-version: pydantic-v2
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -72,12 +64,6 @@ jobs:
limit-access-to-actor: true
- name: Install Dependencies
run: uv pip install -r requirements-tests.txt
- name: Install Pydantic v1
if: matrix.pydantic-version == 'pydantic-v1'
run: uv pip install --upgrade "pydantic>=1.10.0,<2.0.0"
- name: Install Pydantic v2
if: matrix.pydantic-version == 'pydantic-v2'
run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0"
- run: mkdir coverage
- name: Test
run: bash scripts/test.sh
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ classifiers = [

dependencies = [
"SQLAlchemy >=2.0.14,<2.1.0",
"pydantic >=1.10.13,<3.0.0",
"pydantic>=2.7.0",
]

[project.urls]
Expand Down
Loading

Back | FazBrowse Home | New Git URL