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

👷 Enable tests with lower and upper bound versions by tiangolo · Pull Request #1735 · 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) .toml  (1) .yml  (1) All 3 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
11 changes: 10 additions & 1 deletion .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,23 +27,32 @@ jobs:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.14" ]
uv-resolution:
- highest
include:
- os: windows-latest
python-version: "3.9"
uv-resolution: highest
- os: ubuntu-latest
python-version: "3.10"
uv-resolution: lowest-direct
- os: macos-latest
python-version: "3.11"
uv-resolution: highest
- os: windows-latest
python-version: "3.12"
uv-resolution: lowest-direct
- os: ubuntu-latest
python-version: "3.13"
uv-resolution: highest
- os: macos-latest
python-version: "3.13"
uv-resolution: highest
fail-fast: false
runs-on: ${{ matrix.os }}
env:
UV_PYTHON: ${{ matrix.python-version }}
UV_RESOLUTION: ${{ matrix.uv-resolution }}
steps:
- uses: actions/checkout@v6
- name: Set up Python
Expand All @@ -64,7 +73,7 @@ jobs:
with:
limit-access-to-actor: true
- name: Install Dependencies
run: uv sync --locked --no-dev --group tests
run: uv sync --no-dev --group tests
- run: mkdir coverage
- name: Test
run: uv run bash scripts/test.sh
Expand Down
8 changes: 4 additions & 4 deletions 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>=2.7.0",
"pydantic>=2.11.0",
]

[project.urls]
Expand All @@ -54,7 +54,7 @@ dev = [
"prek>=0.2.24,<1.0.0",
]
docs = [
"black>=22.10",
"black>=24.1.0",

YuriiMotov Feb 10, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Previous versions of black format code differently and tests/test_select_gen.py::test_select_gen test fails due to unexpected new lines in resulting file

"cairosvg==2.8.2",
"griffe-typingdoc==0.3.0",
"griffe-warnings-deprecated==1.1.0",
Expand All @@ -76,10 +76,10 @@ github-actions = [
"smokeshow>=0.5.0",
]
tests = [
"black>=22.10",
"black>=24.1.0",
"coverage[toml]>=6.2,<8.0",
"dirty-equals==0.11",
"fastapi>=0.103.2",
"fastapi>=0.128.0",
"httpx==0.28.1",
"jinja2==3.1.6",
"mypy==1.19.1",
Expand Down
Loading

Back | FazBrowse Home | New Git URL