Skip to content

Commit f6aac5b

Browse files
committed
rebase
1 parent a4c7741 commit f6aac5b

File tree

4 files changed

+421
-1362
lines changed

4 files changed

+421
-1362
lines changed

.github/workflows/test-redistribute.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install test dependencies
4141
run: |
4242
cd dist/sqlmodel*/
43-
pip install --group dev --editable .
43+
pip install --group tests .
4444
env:
4545
TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}
4646
- name: Run source distribution tests

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
with:
6565
limit-access-to-actor: true
6666
- name: Install Dependencies
67-
run: uv sync --locked --all-extras --dev
67+
run: uv sync --locked --group tests
6868
- run: mkdir coverage
6969
- name: Test
7070
run: uv run bash scripts/test.sh
@@ -101,7 +101,7 @@ jobs:
101101
path: coverage
102102
merge-multiple: true
103103
- name: Install Dependencies
104-
run: uv sync --locked --all-extras --dev
104+
run: uv sync --locked --group tests
105105
- run: ls -la coverage
106106
- run: uv run coverage combine coverage
107107
- run: uv run coverage html --title "Coverage for ${{ github.sha }}"

pyproject.toml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -50,34 +50,23 @@ Changelog = "https://sqlmodel.tiangolo.com/release-notes/"
5050
[dependency-groups]
5151
dev = [
5252
{ include-group = "docs" },
53-
"black>=22.10",
54-
"coverage[toml]>=6.2,<8.0",
55-
"dirty-equals==0.9.0",
56-
"fastapi>=0.103.2",
57-
"httpx==0.28.1",
58-
"jinja2==3.1.6",
59-
"mypy==1.14.1 ; python_full_version < '3.9'",
60-
"mypy==1.18.2 ; python_full_version >= '3.9'",
61-
"pre-commit>=2.17.0,<5.0.0",
62-
"pytest>=7.0.1,<9.0.0",
63-
"ruff==0.14.8",
64-
"typing-extensions==4.13.2 ; python_full_version < '3.9'",
65-
"typing-extensions==4.15.0 ; python_full_version >= '3.9'",
53+
{ include-group = "tests" },
54+
"prek>=0.2.24,<1.0.0",
6655
]
6756
docs = [
6857
"black>=22.10",
69-
"cairosvg==2.8.2 ; python_full_version >= '3.9'",
70-
"griffe-typingdoc==0.3.0 ; python_full_version >= '3.9'",
71-
"griffe-warnings-deprecated==1.1.0 ; python_full_version >= '3.9'",
72-
"markdown-include-variants==0.0.5 ; python_full_version >= '3.9'",
58+
"cairosvg==2.8.2",
59+
"griffe-typingdoc==0.3.0",
60+
"griffe-warnings-deprecated==1.1.0",
61+
"markdown-include-variants==0.0.8",
7362
"mdx-include>=1.4.1,<2.0.0",
7463
"mkdocs-macros-plugin==1.5.0",
75-
"mkdocs-material==9.7.0",
64+
"mkdocs-material==9.7.1",
7665
"mkdocs-redirects>=1.2.1,<1.3.0",
77-
"mkdocstrings[python]==0.30.1 ; python_full_version >= '3.9'",
78-
"pillow==11.3.0 ; python_full_version >= '3.9'",
66+
"mkdocstrings[python]==0.30.1",
67+
"pillow==11.3.0",
7968
"pyyaml>=5.3.1,<7.0.0",
80-
"typer==0.20.0",
69+
"typer==0.21.0",
8170
]
8271
github-actions = [
8372
"httpx>=0.27.0,<0.29.0",
@@ -86,6 +75,19 @@ github-actions = [
8675
"pygithub>=2.3.0,<3.0.0",
8776
"smokeshow>=0.5.0",
8877
]
78+
tests = [
79+
"black>=22.10",
80+
"coverage[toml]>=6.2,<8.0",
81+
"dirty-equals==0.11",
82+
"fastapi>=0.103.2,<0.129.0",
83+
"httpx==0.28.1",
84+
"jinja2==3.1.6",
85+
"mypy==1.19.1",
86+
"pre-commit>=2.17.0,<5.0.0",
87+
"pytest>=7.0.1,<9.0.0",
88+
"ruff==0.14.10",
89+
"typing-extensions==4.15.0",
90+
]
8991

9092
[tool.pdm]
9193
version = { source = "file", path = "sqlmodel/__init__.py" }

0 commit comments

Comments
 (0)